Detecting circles in an image.

5 visualizzazioni (ultimi 30 giorni)
Viswas Guptha
Viswas Guptha il 25 Feb 2013
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.

Risposta accettata

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

Più risposte (2)

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

Spandan Tiwari
Spandan Tiwari il 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!

Translated by