MATLAB Answers

Imfindcircles() detect circles which are not there..

1 view (last 30 days)
karishma koshy
karishma koshy on 14 Jul 2019
Edited: Image Analyst on 14 Jul 2019
I'm trying to use imfindcircles setting minimum and maximum radii. I have even mentioned the method and object polarity in the command. Still it detect falsely.
How can I solve this.

  2 Comments

karishma koshy
karishma koshy on 14 Jul 2019
The original image was a 1000 frames of Tiff image. I have attached the subtracted image I have obtained after averaging and also the code I have done so far.
Thanking you in advance for your kind advices.

Sign in to comment.

Answers (1)

KALYAN ACHARJYA
KALYAN ACHARJYA on 14 Jul 2019
Edited: KALYAN ACHARJYA on 14 Jul 2019
When I checked imfindcircles on subtracted image (all pixels 255), I didnot get any circles.
im=imread('subtracted.png');
Rmin=10;
Rmax=65;
[centers,radii]=imfindcircles(im,[Rmin Rmax])
I have tried with different values Rmin and Rmax too.
Result:
centers =
[]
radii =
[]
[] represents empty.

  9 Comments

Show 6 older comments
karishma koshy
karishma koshy on 14 Jul 2019
Dear sir can you please share the code you have used here.
KALYAN ACHARJYA
KALYAN ACHARJYA on 14 Jul 2019
I saved the shared image(imf.png) as qq.png
im=imread('qq.png');
Rmin=10;
Rmax=65;
[centers,radii]=imfindcircles(im,[Rmin Rmax]);
Learning is an ongoing process, lets keep trying and keep learning!
Good Night!
karishma koshy
karishma koshy on 14 Jul 2019
Thank you so much for your valuable time. Have a good day

Sign in to comment.

Sign in to answer this question.