Hi list,<br><br>I use gdal_translate to convert 16bits images to 8bits images. The gdal_translate have the -scale argument to specify the convertion range (source-&gt;destination).<br>If I change the destination range (dst_min and dst_max), I can do manually a brightness correction (also a contrast correction).<br>
<br>But is there any way to do that with a Photoshop like method?<br>For example set a brightness to -50, a contrast to +8 and let gdal_translate do the job ?<br><br>Also can I apply a gamma correction?<br><br>I saw the VRT format and there&#39;s a way to apply a LUT. But I don&#39;t think a LUT of 65536 values is the best way to apply the correction.<br>
<br>Also the VRT have the scale ratio and scale offset elements. I think it can be useful but I don&#39;t understand how use it...<br><br>So simply put, my question : can I do a contrast, brightness or gamma correction to a raster with gdal?<br>
<br>Thank you !<br><br>PS : <span id="result_box" class="short_text" lang="en"><span class="hps">I apologize for</span> <span class="hps">my</span> <span class="hps">broken English</span><span class=""> !<br></span></span>