AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2007.01.31 16:39 "[Tiff] 16bit grayscale with colormap", by Reinhard Mayr aka Czerwinski
2007.01.31 16:56 "Re: [Tiff] 16bit grayscale with colormap", by Toby Thain
2007.01.31 17:06 "Re: [Tiff] 16bit grayscale with colormap", by Bob Friesenhahn
2007.01.31 17:36 "Re: [Tiff] 16bit grayscale with colormap", by Phillip Crews
2007.01.31 18:49 "RE: [Tiff] 16bit grayscale with colormap", by Ed Grissom
2007.01.31 18:06 "Re: [Tiff] Interpreting SubIFDs tag", by Phil Harvey
2007.01.31 17:01 "Re: [Tiff] 16bit grayscale with colormap", by Bob Friesenhahn
2007.01.31 17:31 "Re: [Tiff] 16bit grayscale with colormap", by Joris Van Damme
2007.01.31 17:53 "Re: [Tiff] 16bit grayscale with colormap", by Bob Friesenhahn
2007.01.31 18:50 "Re: [Tiff] 16bit grayscale with colormap", by Reinhard Mayr aka Czerwinski
2007.01.31 19:04 "Re: [Tiff] 16bit grayscale with colormap", by Bob Friesenhahn
2007.01.31 19:50 "Re: [Tiff] 16bit grayscale with colormap", by Joris Van Damme
2007.01.31 19:06 "Re: [Tiff] 16bit grayscale with colormap", by Phillip Crews
2007.02.01 09:56 "Re: [Tiff] 16bit grayscale with colormap", by Reinhard Mayr aka Czerwinski

2007.01.31 16:56 "Re: [Tiff] 16bit grayscale with colormap", by Toby Thain

On 31-Jan-07, at 2:39 PM, Reinhard Mayr aka Czerwinski 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?

--Toby

To cope with that, I would like to add a ColorMap into the TIFF. For testing, I altered an existing 16bit file:

Porgrams either refuse this file (ImageMagick viewer) or ignore the colormap and treat as if without (ImageJ).

Is this a proper interpretation of the TIFF specs (TIFF6 specs p.23 allow only 4/8 bits per sample -- why?)? How can I work with the data in terms of leaving original values untouched and just change a LUT/ColorMap/whatever?

Thanks for all advices, hints & pointers!

Cz.

> _______________________________________________
> Tiff mailing list: Tiff@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tiff
> http://www.remotesensing.org/libtiff/