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 <[email protected]>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 > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev > -- Best regards, Chaitanya kumar CH. +91-9494447584 17.2416N 80.1426E
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
