Error: this statement is incomplete
2 次查看(过去 30 天)
显示 更早的评论
img=imread('circulos.jpg');
imshow(img);
d = imdistline;
delete(d)
imgbn=rgb2gray(img);
imshow(imgbn);
[centers,radii] = imfindcircles(imgbn,[30 70],'ObjectPolarity','dark',...'Sensitivity',0.9)
0 个评论
采纳的回答
Walter Roberson
2019-11-15
The ... immediately marks end of line. Anything after it is a comment. So you are missing the )
You should split into two lines:
[centers,radii] = imfindcircles(imgbn,[30 70],'ObjectPolarity','dark',...
'Sensitivity',0.9);
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!