What are (r min) & (r max) in "imfindcircles"?
Ältere Kommentare anzeigen
To count some cells in an image, I set the radii range [20 80] in "imfindcircles" and around 70 circles were found with the largest radius < 60. After changing the radii range to [20 2000], more than 120 circle were found with the largest radius < 80! I don't understand if the largest radius is <80, why is it not found by setting the first range [20 80]?
4 Kommentare
Suraj Mankulangara
am 2 Apr. 2018
Could you provide the code and the image on which you are trying to use "imfindcircles" ?
KSSV
am 2 Apr. 2018
Can you show your image?
Shahin Safazadeh
am 2 Apr. 2018
Bearbeitet: Shahin Safazadeh
am 2 Apr. 2018
Image Analyst
am 2 Apr. 2018
You forgot to attach 'D:\KUL\CV\assignment\assignment_2\circles_on_original_img.png' and 'D:\KUL\CV\assignment\assignment_2\normal.jpg'.
Antworten (2)
Abhishek Ballaney
am 2 Apr. 2018
0 Stimmen
https://in.mathworks.com/help/images/ref/imfindcircles.html
1 Kommentar
Shahin Safazadeh
am 2 Apr. 2018
Suraj Mankulangara
am 13 Apr. 2018
0 Stimmen
Hello Shahin,
I suspect that this is an accuracy issue. The recommendation from MathWorks is that for best results, the conditions rmax < 3*rmin and (rmax-rmin) < 100 should hold:
https://in.mathworks.com/help/images/ref/imfindcircles.html#Tips
It could very well be that "imfindcircles" fails since these conditions are not met when the radius range is specified as [20, 2000]
- Suraj Mankulangara
1 Kommentar
Shahin Safazadeh
am 13 Apr. 2018
Kategorien
Mehr zu Hough Transform finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!