bwlabel doesn't find a blob

1 visualización (últimos 30 días)
parinaz nazeri
parinaz nazeri el 22 de En. de 2020
Comentada: parinaz nazeri el 24 de En. de 2020
Hi all,
I have an image which I applied filtering on it and eneded up with the image on the right. I use bwboundaries and bwlabel to obtain the boundaries and blobs in this figure.
I clearly see that boundary #6 can correspond to a blob but bwlabel doesn't find this blob and shows the total number of lobs in this image as 5 instead of 6. Can somebody help please?
Thanks
untitled.jpg
Capture.PNG

Respuestas (1)

KALYAN ACHARJYA
KALYAN ACHARJYA el 22 de En. de 2020
Editada: KALYAN ACHARJYA el 22 de En. de 2020
Yes, total number of blobs in this image is 5 (in context of 8-connected objects)
L=bwlabel(BW) returns the label matrix L that contains labels for the 8-connected objects found in BW.
By default 8 connected (you can choose 4 connected also)
89.png
  5 comentarios
parinaz nazeri
parinaz nazeri el 24 de En. de 2020
Thanks! Yes, I used the inverted image and it worked fine!

Iniciar sesión para comentar.

Categorías

Más información sobre Display and Exploration 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