Creating mask Datastore for Mask R-CNN
Show older comments
I am working with 126 (size 512x512) grayscale images. Each image has atleast 10-100 object instances. I labeled polygon masks and bounding boxes with the use of the image labeler app. I exported the ground truth and separated the images and bbox in their own datastore. Now I am looking to create the imagedatastore for the masks by following the instructions on:
Create Datastore that Reads Data: Create an imageDatastore and specify a custom read function that returns mask data as a binary matrix
I went on to follow the steps of converting the polygons labels to maskstacks. The mask stacks I got were as expexted the mask (h,w,numobjects). For example one of my maststacks was a 512x512x39 logical .
How do I format these mask stacks into an image datastore to train the mask RCNN.
Accepted Answer
More Answers (0)
Categories
Find more on Instance Segmentation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!