Why can't a circle be detected in such an obvious image?
Mostrar comentarios más antiguos
Why can't a circle be detected in such an obvious image?

img = imread('circle.png');
[centers1,radii1] = imfindcircles(img,100,...
'Sensitivity',0.85,...
'ObjectPolarity','bright')
No matter how you adjust the value of 'sensitivity' or the radius or 'ObjectPolarity', the circle is not detected, why?
os: win10
matlab R2021a
Respuesta aceptada
Más respuestas (1)
Use a range for radius input argument such as:
[centers1,radii1] = imfindcircles(img,[50 200],'Sensitivity',0.85,'ObjectPolarity','bright')
1 comentario
xingxingcui
el 21 de Mayo de 2021
Editada: xingxingcui
el 21 de Mayo de 2021
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!
