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
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
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
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 *,
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*