AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.03.19 15:35 "[Tiff] Floating Point Sample Format", by Charles Auer
2005.03.19 16:23 "Re: [Tiff] Floating Point Sample Format", by Frank Warmerdam
2005.03.21 19:51 "Re: [Tiff] Floating Point Sample Format", by Chris Cox
2005.03.21 20:56 "Re: [Tiff] Floating Point Sample Format", by Frank Warmerdam
2005.03.21 21:12 "Re: [Tiff] Floating Point Sample Format", by Chris Cox
2005.03.21 23:26 "Re: [Tiff] Floating Point Sample Format", by Joris

2005.03.19 16:23 "Re: [Tiff] Floating Point Sample Format", by Frank Warmerdam

On Sat, 19 Mar 2005 15:35:34 +0000, Charles Auer <bumble731@msn.com> 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:

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