Hello Marius,
Actually am not sure as my colleague did the actual test. But we tried 
visualization also in QGIS and had the same result as ArcMap. I will check this 
again and let you know. In the mean time, we decided to follow Andre´ s 
approach to strip the VRT off the wrong palette and then apply the right 
palette.

Thanks and regards,
Moses

From: gdal-dev-boun...@lists.osgeo.org 
[mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Marius Jigmond
Sent: 09 November 2013 03:43
To: Andre Joost; gdal-dev@lists.osgeo.org
Subject: Re: [gdal-dev] gdal_translate produces tif with different colors as 
original

I noticed you're using ArcMap for visualizing the results. Did you check what 
histogram/gamma stretch gets applied by default when you load the layer? I run 
into this issue often as results from GDAL operations appear much worse when 
loaded into ArcMap compared to originals. When I turn off stretching, both 
histogram/gamma, results are nearly identical to original.

-marius
> To: gdal-dev@lists.osgeo.org<mailto:gdal-dev@lists.osgeo.org>
> From: andre+jo...@nurfuerspam.de<mailto:andre+jo...@nurfuerspam.de>
> Date: Thu, 7 Nov 2013 16:54:32 +0100
> Subject: Re: [gdal-dev] gdal_translate produces tif with different colors as 
> original
>
> Am 06.11.2013 21:32, schrieb Jukka Rahkonen:
>
> > You're advised to preprocess your rasters with other
> > tools, such as pct2rgb.py or gdal_translate -expand RGB to operate
> > gdalbuildvrt on RGB rasters instead."
> >
>
> I proposed that, but have a look at the color palette of the VRT:
>
> <http://gis.stackexchange.com/questions/76662/gdal-translate-produces-tif-with-different-colors-as-original>
>
> Is it a fault of the source or the driver?
>
> Greetings,
> André Joost
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev@lists.osgeo.org<mailto:gdal-dev@lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to