How to extract the white parts from the binary image and save each white portions as a separate image
3 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
Guillaume
2020-2-1
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!