[GRASS-SVN] r69297 - grass-addons/grass7/imagery/i.segment.uspo

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 29 06:29:46 PDT 2016


Author: mlennert
Date: 2016-08-29 06:29:46 -0700 (Mon, 29 Aug 2016)
New Revision: 69297

Modified:
   grass-addons/grass7/imagery/i.segment.uspo/i.segment.uspo.py
Log:
i.segment.uspo: mean shift has now entered trunk, so no need for special call to i.segment.ms


Modified: grass-addons/grass7/imagery/i.segment.uspo/i.segment.uspo.py
===================================================================
--- grass-addons/grass7/imagery/i.segment.uspo/i.segment.uspo.py	2016-08-29 12:06:57 UTC (rev 69296)
+++ grass-addons/grass7/imagery/i.segment.uspo/i.segment.uspo.py	2016-08-29 13:29:46 UTC (rev 69297)
@@ -473,7 +473,7 @@
     temp_segment_map_thresh += "__%.2f" % radius
     temp_segment_map_thresh += "__%d" % minsize
     if parms['adaptive']:
-        gscript.run_command('i.segment.ms',
+        gscript.run_command('i.segment',
                             group=parms['group'],
                             threshold=threshold,
                             hr=hr,
@@ -486,7 +486,7 @@
                             quiet=True,
                             overwrite=True) 
     else:
-        gscript.run_command('i.segment.ms',
+        gscript.run_command('i.segment',
                             group=parms['group'],
                             threshold=threshold,
                             hr=hr,



More information about the grass-commit mailing list