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 2002

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

2002.01.16 11:07 "How to interpret 16-bit GrayScale image?", by Bad Badtz
2002.01.16 12:52 "Re: How to interpret 16-bit GrayScale image?", by Marti Maria
2002.01.16 14:52 "Re: How to interpret 16-bit GrayScale image?", by Paul Beaty
2002.01.21 03:06 "Re: How to interpret 16-bit GrayScale image?", by Bad Badtz
2002.01.21 05:21 "Re: How to interpret 16-bit GrayScale image?", by Peter Montgomery
2002.01.21 09:59 "Re: How to interpret 16-bit GrayScale image?", by Marti Maria
2002.01.21 10:47 "Re: How to interpret 16-bit GrayScale image?", by Bad Badtz
2002.01.21 15:53 "Re: How to interpret 16-bit GrayScale image?", by Marti Maria
2002.01.21 15:24 "Re: How to interpret 16-bit GrayScale image?", by Michael Dechaine
2002.01.21 16:33 "Re: How to interpret 16-bit GrayScale image?", by Bob Friesenhahn
2002.01.21 17:23 "Re: How to interpret 16-bit GrayScale image?", by Daniel Mccoy
2002.01.21 23:06 "Re: How to interpret 16-bit GrayScale image?", by Marti Maria
2002.01.21 23:57 "Re: How to interpret 16-bit GrayScale image?", by Daniel Mccoy
2002.01.23 04:18 "Re: How to interpret 16-bit GrayScale image?", by Kevin D Quitt
2002.01.24 01:47 "Re: How to interpret 16-bit GrayScale image?", by Bad Badtz
2002.01.24 05:07 "Re: How to interpret 16-bit GrayScale image?", by Kevin D Quitt
2002.01.25 14:27 "Re: How to interpret 16-bit GrayScale image?", by Thomas Kumlehn

2002.01.25 14:27 "Re: How to interpret 16-bit GrayScale image?", by Thomas Kumlehn

Daniel McCoy <mccoy@pixar.com> schrieb: 
> ...
> When converting the OTHER way, from 8 bits UP to 16
> bits, of course, you want to MULTIPLY by 257 and 
> not 256 so that you fill in the low bits.  
> That way FF becomes FFFF instead of FF00.
> Clearly better.  No question.

I found a much faster way :
Just copy the high byte down to the low byte
00 -> 00 00
01 -> 01 01
...
FE -> FE FE
FF -> FF FF

This way, the value range is evenly filled and it's
much faster with bit ops (shift/or).

But most often need colour corr. and the like and use
LUTs anyway.

=====
kind regards,

Thomas Kumlehn
PIXEL PARTNER (R)
mobile +44 7960 384334