[gdal-dev] gdalenhance -config file how you do linear interpolation of the colors?

Chaitanya kumar CH chaitanya.ch at gmail.com
Fri Feb 10 01:59:19 EST 2012


Nikolaos,

The gdalenhance utility is not really recommended. I don't know the config
file format.

GDAL's VRT driver[1] supports a look-up-table that works with linear
interpolation. In it, you specify pairs of corresponding values in source
and destination rasters. The intermediate source values are interpolated
linearly.

[1]: http://www.gdal.org/gdal_vrttut.html

On Fri, Feb 10, 2012 at 6:31 AM, Nikolaos Hatzopoulos <nhatzop at gmail.com>wrote:

> so I have created a config file for gdalenhance
>
> color.config:
>
> 1:Band -100:ScaleMin 11000:ScaleMax 0:3.667:30 30:1.667:60 60:0.833:120
> 120:0.429:190 190:0.231:255
> 2:Band -100:ScaleMin 11000:ScaleMax 0:3.667:30 30:1.667:60 60:0.833:120
> 120:0.429:190 190:0.231:255
> 3:Band -100:ScaleMin 11000:ScaleMax 0:3.667:30 30:1.667:60 60:0.833:120
> 120:0.429:190 190:0.231:255
>
> is it valid..? is it going to make a linear interpolation of the colors???
>
>
>
> --Nikos
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120210/ee079236/attachment.html


More information about the gdal-dev mailing list