AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
December 2003

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2003.12.03 06:20 "Double Precision TIFF images", by Chris Cox
2003.12.03 18:40 "Double Precision TIFF images", by Frank Warmerdam
2003.12.04 21:11 "Double Precision TIFF images", by Antonio Scuri
2003.12.04 21:22 "Double Precision TIFF images", by Frank Warmerdam
2003.12.05 21:23 "Double Precision TIFF images", by Chris Cox
2003.12.05 04:18 "Double Precision TIFF images", by Chris Cox

2003.12.03 18:40 "Double Precision TIFF images", by Frank Warmerdam

Chris Cox wrote:
> 
> 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