[Scilab-users] automatic traverse question

Erhy erhard.glueck.austria at gmail.com
Tue May 9 11:53:07 CEST 2017


Hello!

im = imread("xxx.jpg");
imdbl = im2double(im);
resu=zeros(imdbl (:,:,1));

This without problems*:*
resu(:,:)=imdbl(:,:,1)+imdbl(:,:,2)+imdbl(:,:,3);

But here I got the error message
*Inconsistent row/column dimensions*
resu(:,:)=abs(imdbl(:,:,1)-imdbl(:,:,2))*max(imdbl(:,:,1),imdbl(:,:,2));

Thank you for advice
Erhy



--
View this message in context: http://mailinglists.scilab.org/automatic-traverse-question-tp4036327.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list