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

Charlie Warner cwarner7_11 at hotmail.com
Wed Jan 5 23:02:12 CET 2011


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?

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
      or possibly 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 or ImagJ 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

      > To: 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/20110105/2f445d38/attachment.htm>


More information about the users mailing list