2007.01.31 16:39 "[Tiff] 16bit grayscale with colormap", by Reinhard Mayr aka Czerwinski
I deal with 16bit grayscale TIFFs. The files originate from a 12bit CCD, so the linear conversion 16bit->8bit turns my image almost black.
To cope with that, I would like to add a ColorMap into the TIFF. For testing, I altered an existing 16bit file:
- photometrics = 3 (ColorMap)
- added a colormap (tag 0140), length: 3*2^16= 196608 bytes
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!
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer