What are (r min) & (r max) in "imfindcircles"?

조회 수: 18(최근 30일)
Shahin Safazadeh
Shahin Safazadeh 2018년 3월 23일
댓글: Shahin Safazadeh 2018년 4월 13일
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
Image Analyst
Image Analyst 2018년 4월 2일
You forgot to attach 'D:\KUL\CV\assignment\assignment_2\circles_on_original_img.png' and 'D:\KUL\CV\assignment\assignment_2\normal.jpg'.
And you have never read this link so please read it now.

댓글을 달려면 로그인하십시오.


Abhishek Ballaney
Abhishek Ballaney 2018년 4월 2일
  댓글 수: 1
Shahin Safazadeh
Shahin Safazadeh 2018년 4월 2일
Would you please let me know what you are going to say by that link? I had already used this syntax!

댓글을 달려면 로그인하십시오.

Suraj Mankulangara
Suraj Mankulangara 2018년 4월 13일
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:
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
Shahin Safazadeh
Shahin Safazadeh 2018년 4월 13일
Hi Suraj,
Seeing the warning in MATLAB, I already realized that I should respect those 2 conditions. Although, MATLAB can't find all the circles within the interval, when I set the interval, [20 80]! On the other hand, increasing the interval takes too long to get the result. So, I believe, this syntax is not that useful for counting cells.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by