[scilab-Users] How to load 16bit TIFF image in Scilab?

Antoine Monmayrant antoine.monmayrant at laas.fr
Thu Jan 6 08:32:27 CET 2011


  Le 05/01/11 23:02, Charlie Warner a écrit :
> A bit more information about ImagJ, from the documentation:
>
> "16-bit and 32-bit grayscale images are not directly displayable on 
> computer monitors, which typically can show only 256 shades of gray. 
> Therefore, the data are mapped to 8-bits by windowing. The window 
> defines the range of gray values that are displayed: values below the 
> window are made black, while values above the window are white. The 
> window is defined by minimum and maximum values that can be modified 
> using /Image>Adjust>Brightness/Contrast/."
>
> Is this the sort of function you are looking for?
Not really, but thanks for the information.
In fact, we use a 16bit camera to acquire some signal that we process 
with Scilab. We don't really need to directly look at the unprocessed image.
We don't want to throw away information while processing the data.
Moreover, we need to be able to compare the relative intensity between 
to different images which mean we cannot adjust image settings 
independently.
>
> Charlie
>
>
> ------------------------------------------------------------------------
> Date: Wed, 5 Jan 2011 19:59:57 +0100
> From: antoine.monmayrant at laas.fr
> To: users at lists.scilab.org
> Subject: Re: [scilab-Users] How to load 16bit TIFF image in Scilab?
>
> Thanks for your answer!
>
> Le 05/01/11 18:59, Charlie Warner a écrit :
>
>     Have a look at ImageMagick
>     <http://www.imagemagick.org/script/index.php> or possibly libTIFF
>     <http://www.remotesensing.org/libtiff/>
>
> I already played with ImageMagick but I don't know how to use it to 
> convert in a format scilab can import.
> As for libTIFF, I am currently playing with it in an attempt to write 
> my own import function for scilab.
>
>
>     In the Linux world, GIMP <http://www.gimp.org/> or ImagJ
>     <http://rsb.info.nih.gov/ij/features.html> may accomplish what you
>     are wanting to accomplish.
>
> Gimp (at least the version I have on Fedora13) does not support 16bit.
>
> Antoine
>
>
>     Charlie
>
>     > Date: Wed, 5 Jan 2011 16:33:25 +0100
>     > From: antoine.monmayrant at laas.fr <mailto:antoine.monmayrant at laas.fr>
>     > To: users at lists.scilab.org <mailto:users at lists.scilab.org>
>     > Subject: [scilab-Users] How to load 16bit TIFF image in Scilab?
>     >
>     > Hi everyone,
>     >
>     > I try to load 16bit grayscale TIFF image into Scilab.
>     > I tried to use SIVP as it handles TIFF images.
>     > However, it does not import 16bit TIFF correctly.
>     > It seems to me that it interprets the 16bit image as an 8 bit
>     one, which
>     > results in a great loss of information.
>     > Does anyone have some experience with handling 16bits images in
>     Scilab?
>     > Alternatively, do you know some tool I could use to convert my
>     16bit
>     > image in a csv or any other format that Scilab can import?
>     >
>     > Thank you in advance,
>     >
>     > Antoine
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20110106/2d52521f/attachment.htm>


More information about the users mailing list