Detecting circles in an image.

6 views (last 30 days)
I have a serious problem here. By using imfindcircles(), we can find circles of specified radius range only. Buy my image has circles with multiple sizes big and small. How can i use this function to detect circles of different radii. I also have another problem. To find the approximate radius of circles in image, we use imdistline. But how to find the radius of circles in the image dynamically i.e in the run time. Is there any other way to do this?? Please help!! Thank You in advance.

Accepted Answer

Walter Roberson
Walter Roberson on 25 Feb 2013
Have you considered regionprops() to find Eccentricity (to determine if an object is a circle) and MajorAxes (for diameter) ?

More Answers (2)

Image Analyst
Image Analyst on 25 Feb 2013
What happens if you widen your radius range to encompass all possible radii?

Spandan Tiwari
Spandan Tiwari on 20 Mar 2013
IMFINDCIRCLES allows you to specify a radius range which can include the entire range of expected radii.

Community Treasure Hunt

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

Start Hunting!