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

Even Rouault even.rouault at spatialys.com
Mon Jul 12 11:51:46 PDT 2021


Le 12/07/2021 à 20:48, Matt.Wilkie at yukon.ca a écrit :
>
> Hi Folks,
>
> |gdal_translate| has the option |-exponent <exp_val>| 
> <https://gdal.org/programs/gdal_translate.html#cmdoption-gdal_translate-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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210712/9853ce3d/attachment.html>


More information about the gdal-dev mailing list