2002.01.16 11:07 "How to interpret 16-bit GrayScale image?", by Bad Badtz
-
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 13:19 "Re: How to interpret 16-bit GrayScale image?", by Martí Maria
- 2002.01.21 10:47 "Re: How to interpret 16-bit GrayScale image?", by Bad Badtz
- 2002.01.21 17:23 "Re: How to interpret 16-bit GrayScale image?", by Daniel McCoy
-
2002.01.21 03:06 "RE: How to interpret 16-bit GrayScale image?", by Bad Badtz
- 2002.01.16 16:12 "Re: How to interpret 16-bit GrayScale image?", by Martí Maria
- 2002.01.24 01:47 "Re: How to interpret 16-bit GrayScale image?", by Bad Badtz
2002.01.16 16:12 "Re: How to interpret 16-bit GrayScale image?", by Martí Maria
Hi,
This means that this grayscale does use 65535 levels of gray to store the image. Note than there are devices, like some printers, that are not limited to 255 or minus of monitors.
You must convert to 8 bits per sample before display. If you don't care about gamma stuff, simply divide each pixel by 257
One can just do a >> 8 to gain speed if don't care roundup, but this is not completly accurate, for example:
0x2e9 = 745
745 / 257 = 2.898, rounding = 3
745 >> 8 = 2
Hope this helps.
Marti Maria.