[gdal-dev] getcolortable is null

Frank Warmerdam warmerdam at pobox.com
Wed Apr 7 11:02:11 EDT 2010


weixj2003ld wrote:
> Thk u very much.
> I have two questions.
> 1.If I want to use the following combination,
> Red=Band3
> Green=Band2*0.8+band4*0.2;
> Blue=band1

Wei,

This will require programming or scripting.   It cannot be done
with the stock commandline tools.

> 2. what is the general combination for good look jpeg file?

That depends greatly on the source sensor and the goals of the visualization.
A 4,2,1 b  false color band combination is common with Landsat imagery,
butit can be disputed whether it looks good or not.  Also, constrast
stretching is often also desirable on satellite imagery for best
visualization.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list