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

1 visualización (últimos 30 días)
region_of_interest.PNG

Respuestas (1)

Guillaume
Guillaume el 1 de Feb. de 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.

Categorías

Más información sobre Image Segmentation and Analysis en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by