imfindcircles not giving answer

2 views (last 30 days)
Pat
Pat on 6 Feb 2014
I want to find circles in a image,i used imfindcircles ,and used example in it which gave good result,but if i use my own image i am not getting the result,kindly assist
rgb=imread('sample6.bmp');
%rgb=~rgb;
[centers, radii] = imfindcircles(rgb,[10 55],'ObjectPolarity','bright')
imshow(rgb)
viscircles(centers, radii,'EdgeColor','b');

Answers (0)

Categories

Find more on Linear Algebra in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!