[gdal-dev] Is it possible to ehance input channels separately with gdal_translate ?

2012-10-26 Thread Peter Willis
Hello, I have some input data where the dynamic range and offset of each channel are distinct. This means that applying the same linear enhancement based on data range to my selected RGB output bands will not produce an optimal visual enhancement. -scale smin smax dmin dmax only provides the

Re: [gdal-dev] Is it possible to ehance input channels separately with gdal_translate ?

2012-10-26 Thread Even Rouault
QUESTION: Is there a way to enhance my input channels separately in a single gdal_translate call, or do I need to make multiple passes? Multiple passes. But you could also generate a VRT with a different rescaling for each channel, and translate it into the target dataset. Thanks