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] 
> 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
> 
> .
> 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 Even Rouault
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
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
> 
> .
> NAML
> 
>


image.png (48K) 





--
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

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

2017-06-05 Thread jratike80
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-





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/gdalenhance-command-issue-with-stddev-option-tp5323137p5323140.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