[SIP-devel] Problem with color images
Advanced image processing toolbox for Scilab on Unix/Linux/Mac OS
Status: Beta
Brought to you by:
ricardofabbri
From: DRUEL J. <joc...@li...> - 2003-12-11 10:09:17
|
Hi, I have a problem with the behaviour of color images: Let's try: A=imread(SIPDIR+'images/ararauna.jpg'); B=A; B(1,1,1)=A(1,1,1);//this should not change anything C=A.*B;//does not work (incompatibility in sizes) It's confirmed by: size(A) ! 161 ! ! 200 ! ! 3 ! and size(B) ! 161 200 3 ! If I try this: D=im2gray(A); size(D) is ! 161 200 ! I think, it would cause less problems if size(A) was directly ! 161 200 3 ! because with the actual configuration, almost any action on A will modify its size. Best regards Jocelyn -- Powered by Linux |