Remove objects from binary image based on shape's eccentricity

9 visualizzazioni (ultimi 30 giorni)
I am trying to identify all of the objects in an image with an eccentricity less than 0.7. The radius of the shapes vary but the primary objective is to remove all non-circle images.
Thus far I have tried the circular hough transforms and the imfindcircles but neither fulfills the purpose. My main problem is removing the noncircles and/or isolating the circles. (Just to clarify, the objects that I am trying to isolate are not perfect circles, they vary between being an ellipse and a circle.
Any help to resolve this issue would be appreciated. Thank you.

Risposta accettata

Image Analyst
Image Analyst il 28 Giu 2016
Try bwpropfilt().

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by