MATLAB: Finding only circular objects

digital image processingimage processingImage Processing Toolboxshape recognition

I have a binary image with different shapes of objects. I want to calculate the number of only circular objects in the image. How can I do that by using regionprops function?
Thanks

Best Answer

You can compute the circularity. See my attached shape recognition demo.