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: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 17:36 "Re: [Tiff] 16bit grayscale with colormap", by Phillip Crews
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?
Or by 16 1/273 (65535/4095) to preserve white.
(w<<4)|(w>>8) is usually close enough.
- Phillip