Re: Saving three 16 bit RGB values in 32 bits::
- From: Martin Leese <please@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 09 Sep 2005 11:29:30 -0600
Wenny Macura wrote:
I have been fiddling with large 16 bit images for a while. and have been trying to save the image allocation space on the disk.
The following algorithm is the result of the struggle :-) Any comments ??
Saving three 16 bit RGB values in 32 bits:
The floating point mantissa is defined as 23 bit number. To sum of three 16 bit numbers requires at most 18 bits.
Since the image RGB values are independent of each other
and
....
Didn't look at your algorithm in detail but, in general, RGB bands are correlated. The degree of correlation depends on the scene. This is well known in the land of remote sensing where we routinely plot scatter plots (2-D histograms) to show the shape of the correlation.
-- Regards, Martin Leese E-mail: please@xxxxxxxxxxxxxxxxxxxxxxxxxx Web: http://members.tripod.com/martin_leese/ .
- References:
- Saving three 16 bit RGB values in 32 bits::
- From: Wenny Macura
- Saving three 16 bit RGB values in 32 bits::
- Prev by Date: handwritten digit library by JOONE and ImageJ
- Next by Date: Re: Saving three 16 bit RGB values in 32 bits::
- Previous by thread: Re: Saving three 16 bit RGB values in 32 bits::
- Next by thread: Re: Saving three 16 bit RGB values in 32 bits::
- Index(es):