Imfindcircles() detect circles which are not there..
Mostrar comentarios más antiguos
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 comentarios
KALYAN ACHARJYA
el 14 de Jul. de 2019
Please attach image
karishma koshy
el 14 de Jul. de 2019
Respuestas (1)
KALYAN ACHARJYA
el 14 de Jul. de 2019
Editada: KALYAN ACHARJYA
el 14 de Jul. de 2019
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 comentarios
karishma koshy
el 14 de Jul. de 2019
Editada: Image Analyst
el 14 de Jul. de 2019
KALYAN ACHARJYA
el 14 de Jul. de 2019
Editada: KALYAN ACHARJYA
el 14 de Jul. de 2019
Is this ii?
You are trying to find circles on qq image (Not subtracted image). Where qq image is
ii=output_image - meanImage;
qq=fibermetric(ii,thic);
Can you share the qq with any one thic value or please do share ii?
Image Analyst
el 14 de Jul. de 2019
Attach the original image, not the screenshot with circles on it. And explain why you think there are circles on that image, since I don't see any.
karishma koshy
el 14 de Jul. de 2019
KALYAN ACHARJYA
el 14 de Jul. de 2019
Editada: KALYAN ACHARJYA
el 14 de Jul. de 2019
@Karishma As per my observation, there are 4 circles, and Matlab reflects the same, wait for @ImageAnalyst response.
centers =
141.8160 133.8674
330.0141 363.0124
249.4681 372.3009
379.7368 309.7466
radii =
36.6470
12.4704
27.4104
14.0341
karishma koshy
el 14 de Jul. de 2019
karishma koshy
el 14 de Jul. de 2019
KALYAN ACHARJYA
el 14 de Jul. de 2019
Editada: KALYAN ACHARJYA
el 14 de Jul. de 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
el 14 de Jul. de 2019
Categorías
Más información sobre Image Transforms en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
