How to extract the white parts from the binary image and save each white portions as a separate image
3 views (last 30 days)
Show older comments
Answers (1)
Guillaume
on 1 Feb 2020
Use regionprops. In particular, the Image property returned by regionprops is the image of each blob.
props = regionprops(yourimage, 'Image'); %or use 'all' to get additional properties.
%props(n).Image is the image of the nth blob.
0 Comments
See Also
Categories
Find more on Image Segmentation and Analysis 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!