How to extract images from groundTruth object?
6 views (last 30 days)
Show older comments
Hello all,
is there a way to extract (i.e. saving as separate images) all the individual objects/regions which were defined as ROI label with the Image Labeler app. and stored within a groundTruth object? The aim is to apply some batch-modifications (e.g. contrast or rotation) to these images to achieve a better result of the cascade object detector.
Thank you for your help!
Answers (2)
awezmm
on 3 Jan 2020
Rummy18 and Joel,
You can import the labeled images and mask at different class labels. Each element in a labeled image matrix is a number representing which class a pixel in the original image belongs to.
If you want to apply rotations or contrast for some type of learning, check out data augmentation:
4 Comments
Theresa Pflüger
on 21 Jan 2020
Sure!
Below you can see one example of my labeled images from the ImageLabeler App.
Just to be clear again, I would like to save the four stomata as four separate images.
awezmm
on 24 Jan 2020
Is this the actual labeled image? Can you please attach the labeled image after you export after labeling.
Rummy18
on 24 Jan 2020
1 Comment
Jose Agustin Barrachina
on 28 Apr 2022
This is ALMOST what I need, but I have polygones and not rectangles... Any idea there?
See Also
Categories
Find more on Image and Video Ground Truth Labeling 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!