Done,
it's in the FAQ.txt file.
thanks for reporting,
Ricardo.
On Fri, 12 Dec 2003, DRUEL Jocelyn wrote:
> Hi,
> My version is SIP-bin-0.2 and scilab 2.6.
>
> I tried with Scilab-2.7 and sip-bin-0.2
> size(A)
> ans =3D
> ! 161 200 3 !
> just like you.
>
> So, there's no problem anymore with this version. All right.
>
> Maybe there can be a line in the README file: something like
>
> Known bugs
> Before acting on color images with Scilab-2.6, it's recommended to perfor=
m
> the following:
> A =3D imread(your_image);
> A(1,1,1)=3DA(1,1,1);
> to get the correct image size.
>
> Or maybe, just a copy the example that I sent.
>
> This could save some time to newcomers in SIP.
>
>
> Best regards
> Jocelyn
>
> Le Jeudi 11 D=E9cembre 2003 21:15, vous avez =E9crit :
> > Very strange...
> >
> > the very same example works with me:
> >
> > A=3Dimread(SIPDIR+=EDmages/ararauna.jpg');
> >
> > size(A)
> > ans =3D
> >
> > ! 161. 200. 3. !
> >
> >
> > What version of scilab, SIP and operating system are you using?
> >
> > That test was made under Linux with scilab CVS.
> > If you're using Linux, install the CVS version.
> >
> > cheers,
> > Ricardo.
> >
> > On Thu, 11 Dec 2003, DRUEL Jocelyn wrote:
> > > Hi,
> > > I have a problem with the behaviour of color images:
> > > Let's try:
> > > A=3Dimread(SIPDIR+'images/ararauna.jpg');
> > > B=3DA;
> > > B(1,1,1)=3DA(1,1,1);//this should not change anything
> > > C=3DA.*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=3Dim2gray(A);
> > > size(D) is
> > > ! 161 200 !
> > >
> > > I think, it would cause less problems if size(A) was directly ! 161 2=
00 3
> > > ! because with the actual configuration, almost any action on A will
> > > modify its size.
> > >
> > > Best regards
> > > Jocelyn
> >
> > Ricardo.
>
>
Ricardo.
--
Ricardo Fabbri, Cybernetic Vision Research Group, USP, Brazil.
www.rfabbri.kit.net
|