[gdal-dev] gdalenhance command issue with stddev option

naresh naresh919 at gmail.com
Tue Jun 6 02:32:39 PDT 2017


Dear Even Rouault-2,
  Thanks for the suggestion, I will do.

Thanks&Regards,
Naresh

On Tue, Jun 6, 2017 at 1:45 PM, Even Rouault-2 [via OSGeo.org] <
ml+s1560n5323158h91 at n6.nabble.com> wrote:

> 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
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=5323158&i=0>
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://osgeo-org.1560.x6.nabble.com/gdalenhance-command-issue-with-stddev-
> option-tp5323137p5323158.html
> To unsubscribe from gdalenhance command issue with stddev option, click
> here
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5323137&code=bmFyZXNoOTE5QGdtYWlsLmNvbXw1MzIzMTM3fC0xMDc3NTYzNDE5>
> .
> NAML
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/gdalenhance-command-issue-with-stddev-option-tp5323137p5323167.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170606/d982834e/attachment-0001.html>


More information about the gdal-dev mailing list