Re: [Scilab-users] Problem installing Image Processing Toolbox

2017-05-09 Thread Samuel Gougeon
Hello, Le 09/05/2017 à 17:53, AliZ a écrit : Hi, I've recently downloaded scilab and I'm trying to install the Image Processing Design Toolbox or IPD which I found here: https://atoms.scilab.org/toolboxes/IPD/8.3.3. I've tried to simply run --> atomsInstall('IPD') but that didn't work it says

[Scilab-users] Problem installing Image Processing Toolbox

2017-05-09 Thread AliZ
Hi, I've recently downloaded scilab and I'm trying to install the Image Processing Design Toolbox or IPD which I found here: https://atoms.scilab.org/toolboxes/IPD/8.3.3. I've tried to simply run --> atomsInstall('IPD') but that didn't work it says the 'IPD package is not available', I've

Re: [Scilab-users] automatic traverse question

2017-05-09 Thread Erhy
Thank you Samuel! This works: resu(:,:)=abs(imdbl(:,:,1)-imdbl(:,:,2)) *.** max(imdbl(:,:,1),imdbl(:,:,2)); -- View this message in context: http://mailinglists.scilab.org/automatic-traverse-question-tp4036327p4036330.html Sent from the Scilab users - Mailing Lists Archives mailing list

Re: [Scilab-users] automatic traverse question

2017-05-09 Thread sgougeon
Hello Erhy, >resu(:,:)=abs(imdbl(:,:,1)-imdbl(:,:,2))*max(imdbl(:,:,1),imdbl(:,:,2)); This syntax of max() works element-wise and returns a matrix. Then, if the matrix is not square, the * multiplication can't work here. So, depending of what you want to do, you shall either use .* instead of *,

[Scilab-users] automatic traverse question

2017-05-09 Thread Erhy
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*