AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
January 2007

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2007.01.31 16:39 "16bit grayscale with colormap", by Reinhard Mayr Aka Czerwinski
2007.01.31 16:56 "Re: 16bit grayscale with colormap", by Toby Thain
2007.01.31 17:06 "Re: 16bit grayscale with colormap", by Bob Friesenhahn
2007.01.31 17:36 "Re: 16bit grayscale with colormap", by Phillip Crews
2007.01.31 18:49 "Re: 16bit grayscale with colormap", by Ed Grissom
2007.01.31 17:01 "Re: 16bit grayscale with colormap", by Bob Friesenhahn
2007.01.31 17:31 "Re: 16bit grayscale with colormap", by Joris Van Damme
2007.01.31 17:53 "Re: 16bit grayscale with colormap", by Bob Friesenhahn
2007.01.31 18:50 "Re: 16bit grayscale with colormap", by Reinhard Mayr Aka Czerwinski
2007.01.31 19:04 "Re: 16bit grayscale with colormap", by Bob Friesenhahn
2007.01.31 19:06 "Re: 16bit grayscale with colormap", by Phillip Crews
2007.02.01 09:56 "Re: 16bit grayscale with colormap", by Reinhard Mayr Aka Czerwinski
2007.01.31 19:50 "Re: 16bit grayscale with colormap", by Joris Van Damme

2007.01.31 17:06 "Re: 16bit grayscale with colormap", by Bob Friesenhahn

On Wed, 31 Jan 2007, Toby Thain wrote:
>> 
>> I deal with 16bit grayscale TIFFs. The files originate from a 12bit CCD, 
>> so the linear conversion 16bit->8bit turns my image almost black.
>
> Maybe I'm missing something, but why don't you just multiply by 16 before 
> storing in TIFF?

It is worth mentioning that some companies dealing with these 12bit 
CCDs write TIFFs using 12-bit samples.  This is pretty rare in TIFF 
but seems acceptable if you have control over the reader.  I have been 
provided with a number of sample files.  GraphicsMagick 1.2 can 
read/write them.

Converting from 16-bits (or 12-bits) to 8 bits is very bad since even 
though the image may appear 'black' upon initial viewing, there is 
actually far more detail in the image than could be represented in 8 
bits and converting to fewer bits loses the original levels (which may 
have some scientific value).

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/