Re: [gdal-dev] What is the gdal_translate scale exponent option for?

2021-07-12 Thread Even Rouault


Le 12/07/2021 à 20:48, matt.wil...@yukon.ca a écrit :


Hi Folks,

|gdal_translate| has the option |-exponent | 
 
to use in conjunction with |-scale| that will


/apply non-linear scaling with a power function. exp_val is the 
exponent of the power function (must be positive)./


This describes what the function does at the mechanical level but not 
why or when it might be a good idea. What are appropriate scenarios to 
use this feature? How is it useful and what does it accomplish?



For example to perform https://en.wikipedia.org/wiki/Gamma_correction

--

http://www.spatialys.com
My software is free, but my time generally not.

___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev


[gdal-dev] What is the gdal_translate scale exponent option for?

2021-07-12 Thread Matt.Wilkie
Hi Folks,

gdal_translate has the option -exponent 

 to use in conjunction with -scale that will

apply non-linear scaling with a power function. exp_val is the exponent of the 
power function (must be positive).

This describes what the function does at the mechanical level but not why or 
when it might be a good idea. What are appropriate scenarios to use this 
feature? How is it useful and what does it accomplish?
Cross-posted to 
https://gis.stackexchange.com/questions/403776/what-is-the-gdal-translate-scale-exponent-option-for


Matt Wilkie
Geomatics Developer & Administrator
Environment | Technology, Innovation and Mapping
T 867-667-8133 | Yukon.ca
Hours: 08:30-16:30, Mon-Wed: Office, Thu: Remote, Fri: Away.

___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev