Shawn GONG wrote:
hi Frank and list,

Does gdal_translate do individual band scaling ?
i.e. gdal_translate -b 1 -scale [min1 max1] -b 2 -scale [min2 max2] -b 3 -scale [min3 max3]

Shawn,

No, you would need to scale them to individual files, and then restack them.

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

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to