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)

采纳的回答

Walter Roberson
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 CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by