Error: this statement is incomplete

2 visualizaciones (últimos 30 días)
angelo covarrubias
angelo covarrubias el 15 de Nov. de 2019
Comentada: angelo covarrubias el 15 de Nov. de 2019
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)

Respuesta aceptada

Walter Roberson
Walter Roberson el 15 de Nov. de 2019
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);

Más respuestas (0)

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by