Imfindcircles() detect circles which are not there..

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 件のコメント

KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 7 月 14 日
Please attach image
karishma koshy
karishma koshy 2019 年 7 月 14 日
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.

サインインしてコメントする。

回答 (1 件)

KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 7 月 14 日
編集済み: KALYAN ACHARJYA 2019 年 7 月 14 日

0 投票

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 件のコメント

karishma koshy
karishma koshy 2019 年 7 月 14 日
編集済み: Image Analyst 2019 年 7 月 14 日
Dear Sir,
This is what I have got with my code. Can suggest me what to do with the code
KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 7 月 14 日
編集済み: KALYAN ACHARJYA 2019 年 7 月 14 日
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
Image Analyst 2019 年 7 月 14 日
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
karishma koshy 2019 年 7 月 14 日
Dear Sir I'm attaching image of (qq) with thickness 70
KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 7 月 14 日
編集済み: KALYAN ACHARJYA 2019 年 7 月 14 日
@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
karishma koshy 2019 年 7 月 14 日
Dear sir can you please share the code the you have used.
karishma koshy
karishma koshy 2019 年 7 月 14 日
Dear sir can you please share the code you have used here.
KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 7 月 14 日
編集済み: KALYAN ACHARJYA 2019 年 7 月 14 日
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 2019 年 7 月 14 日
Thank you so much for your valuable time. Have a good day

サインインしてコメントする。

タグ

質問済み:

2019 年 7 月 14 日

編集済み:

2019 年 7 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by