[GRASS-SVN] r39397 - grass/branches/releasebranch_6_4/scripts/i.landsat.rgb

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Oct 4 22:12:41 EDT 2009


Author: hamish
Date: 2009-10-04 22:12:40 -0400 (Sun, 04 Oct 2009)
New Revision: 39397

Modified:
   grass/branches/releasebranch_6_4/scripts/i.landsat.rgb/i.landsat.rgb
Log:
work with >8bit data, e.g. quickbird (merge from devbr6)

Modified: grass/branches/releasebranch_6_4/scripts/i.landsat.rgb/i.landsat.rgb
===================================================================
--- grass/branches/releasebranch_6_4/scripts/i.landsat.rgb/i.landsat.rgb	2009-10-05 02:10:13 UTC (rev 39396)
+++ grass/branches/releasebranch_6_4/scripts/i.landsat.rgb/i.landsat.rgb	2009-10-05 02:12:40 UTC (rev 39397)
@@ -135,7 +135,7 @@
       done
 else
    ALL_MAX=0
-   ALL_MIN=255
+   ALL_MIN=999999
    for i in $RED $GREEN $BLUE ; do
       g.message "Processing <$i>..."
       MIN=`r.univar -ge $i perc=2  | grep "^percentile_" | cut -d'=' -f2`



More information about the grass-commit mailing list