I need to detect quasi-round or quasi-elliptical shapes on binary images, see attached image.
To do that I am using "bwlabel":
[labeledImage, numberOfRegions] = bwlabel(binaryImage);
It works well if shapes are isolated from each other. But as soon as they touch or partially merge, they are detected already as one shape. Is there any possibility to distinguish them?
Completely merged in one shape pattern which would be good to treate as one shape looks like that:
Any help is greatly appreciated. Especially in case of partially merged patterns.
Best Answer