
Thread
2003.12.03 18:40 "[Tiff] Double Precision TIFF images", by Frank Warmerdam
Does anyone have a double precision floating point RGB TIFF image that they could share with me for testing?
Preferably it wouldn't be too large, and would have some recognizable content.
Chris,
I have prepared a smallish sample for you in double precision at:
http://pobox.com/~warmerdam/rgb_dbl.tif
Approximately 1MB. It is the bowling sample but with the values converted to double precision and rescaled to 0.0 to 1.0.
I produced it with this Python script using my GDAL library (based on libtiff).
import gdal
import gdalnumeric
from Numeric import *
img = gdalnumeric.LoadFile( 'rgba.tif' )
img = img / 255.0
img = img.astype(Float64)
img = img[0:3]
gdalnumeric.SaveArray( img, 'rgba_dbl.tif' )
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