[SIP-devel] Re: first tests with sip-0.3.0-rc2
Advanced image processing toolbox for Scilab on Unix/Linux/Mac OS
Status: Beta
Brought to you by:
ricardofabbri
From: Ricardo F. <rf...@if...> - 2004-02-07 22:32:30
|
On Sat, 7 Feb 2004, DRUEL Jocelyn wrote: > a1=imread(SIPDIR+'images/ararauna.jpg'); > max(a1) gives 1: allright, that's the new way SIP behaves. > > a2=imread(SIPDIR+'images/onca.gif'); > max(a2) gives 256 = problem > > but a3=gray_imread(SIPDIR+'images/onca.gif'); > max(a3) is <1: fine > > There seems to be only a problem with imread reading indexed images. No, this is no problem. Indexed images consist of a 2D index image, ranging from 1 to NC, and a colormap, which is NC x 3, where "NC" is the number of colors in the image. Indexed images are totally different from intensity images, because the index image is really an index into the colormap, so it must be an integer number. > > Something else: I did not manage to compile this rc2 from sources: I join the > file: my config=scilab-2.6, ImageMagick-5.5.7, gcc2.96 > gcc-3.0 gives the same result. The errors tell me that you are probably using animal 0.10.2. But candidate 2 requires animal 0.10.4. Sorry, I should have said that... cheers, Ricardo. -- Ricardo Fabbri, Cybernetic Vision Research Group, USP, Brazil. WEB: www.rfabbri.kit.net ICQ: 208974212 "With pain and suddeness is how Real Offsprings are born. But they must result from intense pleasure and a long period of development." |