Seperate out multiple objects considered as single in image - bwlabel
Ältere Kommentare anzeigen
I have a greyscale image and bwlabel() considered intersecting objects as one single region instead of two. I have attached a colour coded output image file. In the attached file on the top left corner, 2 intersecting objects are considered as one, and so on. I was wondering if there was any way to separate them out? I just need to count the number of objects in image. I was thinking of counting the number of endpoints in that particular object to determine the count. eg: if there were 4 corners/endpoints then the count of it is 2.

Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Display 2-D Images finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!