|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Geotiff problem with "small" images???Hi
I'm new to the world of geotiff and I'm running into a problem when generating small area coverage geotiffs I'm collecting images using a robotic submarine (an AUV) and want to use geotiff to locate these images for use in a GIS etc. Typical footprint for the images is 1m x 1.5m If I write the geotiff tags using the correct size then the image appears badly distorted when viewed in openev and in arcgis. If however I keep everything else the same and pretend that the image is 1Km x 1.5Km the image will appear undistorted. Has anyone come across this issue before, is there some fundamental lower limit on the image size that I've not picked up on? Or can someone tell me how to search the mailing list archives for similar issues? Example images are available at. http://www-personal.acfr.usyd.edu.au/d.mercer/geotiff Large image appears ok, but oversized. Small image is distorted (at least in openev. I haven't been able to check this one in arcgis but I have seen the issue with other images I have generated in the past) FYI. I am using libgeotiff and writing the following geotags... TIFFSetField(tif_ptr, TIFFTAG_GEOTRANSMATRIX, 16, position.transform); GTIFKeySet(gtif_ptr, GTModelTypeGeoKey, TYPE_SHORT, 1, ModelTypeProjected); GTIFKeySet(gtif_ptr, GTRasterTypeGeoKey, TYPE_SHORT, 1, RasterPixelIsArea); GTIFKeySet(gtif_ptr, ProjectedCSTypeGeoKey, TYPE_SHORT, 1, utm_zone); GTIFKeySet(gtif_ptr, PCSCitationGeoKey, TYPE_ASCII, PCS_Zone.str().length(), PCS_Zone.str().c_str()); Any help or suggestions gratefully received. Best regards Duncan -- Dr Duncan Mercer Australian Centre for Field Robotics The Rose Street Building, J04 The University of Sydney. 2006 NSW, Australia Tel: +61 (0) 2 9036 7178 Fax: +61 (0) 2 9351 7474 _______________________________________________ Geotiff mailing list Geotiff@... http://lists.maptools.org/mailman/listinfo/geotiff |
|
|
RE: Geotiff problem with "small" images???There isn’t a limit that is specific
to GeoTIFF but computers in general have limitations in their standard floating
point representations. In the small image, the UTM projection in combination
with the small image area means that the difference between the coordinates in
adjacent pixels doesn’t show up until the tenth decimal place. This is
not a problem if double precision floating point numbers (64-bit quantities) are
used (where 17 decimal digits of precision can be accommodated), but if floats (32-bit
quantities) are used anywhere in these software products, you may see funny
behavior. ERDAS IMAGINE seems to display the images
OK ;-) Max From:
geotiff-bounces@... [mailto:geotiff-bounces@...] On Behalf Of Duncan Mercer Hi _______________________________________________ Geotiff mailing list Geotiff@... http://lists.maptools.org/mailman/listinfo/geotiff |
|
|
Re: Geotiff problem with "small" images???Max Martinez wrote:
> If I write the geotiff tags using the correct size then the > image appears badly distorted when viewed in openev and > in arcgis. If however I keep everything else the same and > pretend that the image is 1Km x 1.5Km the image will appear > undistorted. > > Has anyone come across this issue before, is there some fundamental > lower limit on the image size that I've not picked up on? Or can someone > tell me how to search the mailing list archives for similar issues? Duncan, As Max suggests this can easily occur if values are converted to floating, or even in full double precision in some extreme cases. OpenEV uses 32bit floats for the OpenGL meshes through which the raster textures are drawn so it can easily fall into serious precision problems. I've seen this effect with images less extreme than yours. Nothing wrong with your image - it's just the software. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@... light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | President OSGeo, http://osgeo.org _______________________________________________ Geotiff mailing list Geotiff@... http://lists.maptools.org/mailman/listinfo/geotiff |
|
|
|
| Free Forum Powered by Nabble | Forum Help |