Re: [gdal-dev] gdalenhance command issue with stddev option

2017-06-06 Thread naresh
Dear Even Rouault-2,
  Thanks for the suggestion, I will do.

Thanks,
Naresh

On Tue, Jun 6, 2017 at 1:45 PM, Even Rouault-2 [via OSGeo.org] <
ml+s1560n5323158...@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=5323158=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=5323137=bmFyZXNoOTE5QGdtYWlsLmNvbXw1MzIzMTM3fC0xMDc3NTYzNDE5>
> .
> NAML
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer=instant_html%21nabble%3Aemail.naml=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace=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.___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] gdalenhance command issue with stddev option

2017-06-06 Thread naresh
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.


Thanks,
Naresh

On Tue, Jun 6, 2017 at 10:48 AM, jratike80 [via OSGeo.org] <
ml+s1560n5323140...@n6.nabble.com> wrote:

> naresh wrote
> Dear All,
> I have configured GDAL2.1.0 in windows 64 bit machine. I am using
> following command
>
> gdalenhance -of JPEG -stddev 2.0 E:\first.jpg E:\first_enhance.jpg
>
> got the following error
>
> option -stddev incomplete, or not recognised
>
> Please help me how to use gdalenhance command with option stddev
>
> Thanks,
> Naresh
>
> Hi,
>
> By http://lists.maptools.org/pipermail/fwtools/2008-February/001153.html the
> tool was 9 years ago "essentially an abandoned prototype".
>
> -Jukka Rahkonen-
>
>
>
> --
> 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-tp5323137p5323140.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=5323137=bmFyZXNoOTE5QGdtYWlsLmNvbXw1MzIzMTM3fC0xMDc3NTYzNDE5>
> .
> NAML
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer=instant_html%21nabble%3Aemail.naml=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


image.png (48K) 
<http://osgeo-org.1560.x6.nabble.com/attachment/5323152/0/image.png>




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/gdalenhance-command-issue-with-stddev-option-tp5323137p5323152.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Pix format reading Gdal

2017-06-05 Thread naresh
Dear All, 
I have configured GDAL2.1.0 in windows 64 bit machine.

The  gdalwrap, gdaltranslate  commands for pixfile formats showing error.
Please kindly help me how to overcome the issue

Thanks, 
Naresh



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Pix-format-reading-Gdal-tp5323138.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] gdalenhance command issue with stddev option

2017-06-05 Thread naresh
Dear All, 
I have configured GDAL2.1.0 in windows 64 bit machine. I am using following
command 

gdalenhance -of JPEG -stddev 2.0 E:\first.jpg E:\first_enhance.jpg 

got the following error 

option -stddev incomplete, or not recognised 

Please help me how to use gdalenhance command with option stddev 

Thanks, 
Naresh



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/gdalenhance-command-issue-with-stddev-option-tp5323137.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev