[Gdal-dev] FCC to gray scale

Ethan Alpert ealpert at digitalglobe.com
Mon Aug 6 14:34:10 EDT 2007


One more thing you may want to use the luminance formula instead of .33
to convert your imagery to grayscale. This is based on how humans
perceive color:

 

Y=0.3RED+0.59GREEN+0.11Blue

 

 

 

________________________________

From: gdal-dev-bounces at lists.maptools.org
[mailto:gdal-dev-bounces at lists.maptools.org] On Behalf Of Ethan Alpert
Sent: Monday, August 06, 2007 12:28 PM
To: Todd Fagin; gdal-dev at lists.maptools.org
Subject: RE: [Gdal-dev] FCC to gray scale

 

I just went through this process. You'll need to use the GDAL api. I
used the perl bindings. Attached is my script.

 

 

Hope this helps,

 

-e

 

________________________________

From: gdal-dev-bounces at lists.maptools.org
[mailto:gdal-dev-bounces at lists.maptools.org] On Behalf Of Todd Fagin
Sent: Monday, August 06, 2007 12:00 PM
To: gdal-dev at lists.maptools.org
Subject: [Gdal-dev] FCC to gray scale

 

Does anyone know of if there is a GDAL utility (such as gdal_translate)
that will allow you to go from a multi-band false color composite to a
grayscale?

 

Thanks,

 

Todd Fagin

 

Coordinate Solutions, Inc.

501 N.E. 15th St.

Oklahoma City, OK 73104

405.740.4324 (voice)

904.471.5548 (fax)

www.coordinatesolutions.com

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20070806/1b767f27/attachment.html


More information about the Gdal-dev mailing list