Error: this statement is incomplete

조회 수: 2 (최근 30일)
angelo covarrubias
angelo covarrubias 2019년 11월 15일
댓글: angelo covarrubias 2019년 11월 15일
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