Borrar filtros
Borrar filtros

how to display 4 large connected components out of 20 in an image?

1 visualización (últimos 30 días)
MoonPie1
MoonPie1 el 10 de Dic. de 2015
Respondida: Image Analyst el 10 de Dic. de 2015
how to display 4 large connected components out of 20 in an image?

Respuestas (1)

Image Analyst
Image Analyst el 10 de Dic. de 2015
There is no bwfilt() function that I've heard of. Use bwareafilt(). It does not care in the slightest where your binary image originated, like if it was from a medical image or some other image.
biggest4 = bwareafilt(binaryImage, 4);

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