Re: Re: [gdal-dev] get different result when use different parameters

2010-05-16 Thread Chaitanya kumar CH
weixj2003ld, Be aware that histogram equalization changes the pixel values. It is better used for display purposes only. You should choose between Byte and UInt16 or any other type based on the range of pixel values in the raster band. On Mon, May 17, 2010 at 5:47 AM, weixj2003ld wrote: > Thk

Re:Re: [gdal-dev] get different result when use different parameters

2010-05-16 Thread weixj2003ld
Thk u for your answer. Yes,they give the same output except Type. Driver: PNG/Portable Network Graphics Files: SRTM_GTOPO_u30_n090e060.png Size is 4800, 6000 Coordinate System is `' Corner Coordinates: Upper Left (0.0,0.0) Lower Left (0.0, 6000.0) Upper Right ( 4800.0,0.0) Lower

Re: [gdal-dev] get different result when use different parameters

2010-05-10 Thread Chaitanya kumar CH
weixj2003ld, I couldn't open the link. Try "gdalinfo -mm des.png" on both the output images. I think they will both give the same output. UInt16 should give a dark image unless you perform histogram equalization on it. 2010/5/11 weixj2003ld > I download a elevation data (SRTM,GTOPO30) from > ht

[gdal-dev] get different result when use different parameters

2010-05-10 Thread weixj2003ld
I download a elevation data (SRTM,GTOPO30) from http://glcfapp.glcf.umd.edu:8080/esdi/index.jsp use gdal_translate -b 1 -of PNG -ot Byte source.tif des.png and gdal_translate -b 1 -of PNG -ot UInt16 source.tif des.png differently, with parameter 'UInt16',I get a black picture,with Byte,get a