How to extract the white parts from the binary image and save each white portions as a separate image

3 vues (au cours des 30 derniers jours)
region_of_interest.PNG

Réponses (1)

Guillaume
Guillaume le 1 Fév 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.

Catégories

En savoir plus sur Image Segmentation and Analysis dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by