Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Warning: Integer operands are required for colon operator when used as index ???

1 visualización (últimos 30 días)
IPlover
IPlover el 22 de Nov. de 2013
Cerrada: Walter Roberson el 22 de Nov. de 2013
My code is showing the following:
Warning: Integer operands are required for colon operator when used as index
Y=int32(noise);
Y=int32(yn);
X=int32(xn);
[xn,yn] = ginput(1);
noise = img((yn-2):(yn+2), (xn-2):(xn+2));
noise = mean(noise(:));
img = img - noise;
It is showing the error in 5th line noise = img((yn-2):(yn+2), (xn-2):(xn+2));
Please help

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by