フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

1 回表示 (過去 30 日間)
IPlover
IPlover 2013 年 11 月 22 日
閉鎖済み: Walter Roberson 2013 年 11 月 22 日
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

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by