On lundi 5 juin 2017 23:52:22 CEST naresh wrote: > Dear Rahkonen, > Thanks for the quick response. However with gdalenhace -help showing the > -stddev option. Please find the attache screenshot. > > [image: Inline image 1] > > Is there any other mechanism/tool is available for enhancing the images > with stddev option. >
You can run gdalinfo -stats in.tif note the mean and stddev values and then compute s_min=mean - factor * stddev s_max= mean + factor * stddev gdal_translate in.tif out.tif -scale s_min s_max 0 255 Best regards, Even -- Spatialys - Geospatial professional services http://www.spatialys.com
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
