| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2005.03.19 16:23 "Re: Floating Point Sample Format", by Frank WarmerdamOn Sat, 19 Mar 2005 15:35:34 +0000, Charles Auer wrote:
>
> I need more information about floating point sample format.
>
> Are TIFFTAG_SMINSAMPLEVALUE (340) and TIFFTAG_SMAXSAMPLEVALUE (341) intended
> for use with floating point samples?
Charles,
I believe SMINSAMPLEVALUE and SMAXSAMPLEVALUE would
be suitable for use with floating point samples.
> If so, than how do you scale sample values when they are not included?
Many options exist:
o Scan the image to get scaling bounds.
o Ask the user.
o Do something application specific.
o Assume floating point values are in the range 0.0 to 1.0 and
scale accordingly.
My TIFF viewer scans a subset of blocks of the image to get scaling
min and max values and then allows the user to alter them if they don't
like the selected values.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
|
|||||||