[GRASS-SVN] r39398 - grass/trunk/scripts/i.landsat.rgb

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Oct 4 22:13:58 EDT 2009


Author: hamish
Date: 2009-10-04 22:13:58 -0400 (Sun, 04 Oct 2009)
New Revision: 39398

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

Modified: grass/trunk/scripts/i.landsat.rgb/i.landsat.rgb.py
===================================================================
--- grass/trunk/scripts/i.landsat.rgb/i.landsat.rgb.py	2009-10-05 02:12:40 UTC (rev 39397)
+++ grass/trunk/scripts/i.landsat.rgb/i.landsat.rgb.py	2009-10-05 02:13:58 UTC (rev 39398)
@@ -120,7 +120,7 @@
 	    set_colors(i, v0, v1)
     else:
 	all_max = 0
-	all_min = 255
+	all_min = 999999
 	for i in [red, green, blue]:
 	    grass.message(_("Processing <%s>...") % i)
 	    v0 = get_percentile(i, 2)



More information about the grass-commit mailing list