[GRASS-SVN] r74000 - grass/trunk/imagery/i.cluster

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 22 04:27:31 PST 2019


Author: veroandreo
Date: 2019-01-22 04:27:31 -0800 (Tue, 22 Jan 2019)
New Revision: 74000

Modified:
   grass/trunk/imagery/i.cluster/i.cluster.html
   grass/trunk/imagery/i.cluster/main.c
Log:
i.cluster: shrink sample option description to fit UI and extend description in the manual

Modified: grass/trunk/imagery/i.cluster/i.cluster.html
===================================================================
--- grass/trunk/imagery/i.cluster/i.cluster.html	2019-01-22 11:54:11 UTC (rev 73999)
+++ grass/trunk/imagery/i.cluster/i.cluster.html	2019-01-22 12:27:31 UTC (rev 74000)
@@ -121,11 +121,13 @@
 decision boundaries (means) for the number of clusters
 specified.
 
-<dt><b>sample=</b><em>row_interval,col_interval</em> 
+<dt><b>sample=</b><em>rows,cols</em> 
 
 <dd>These numbers are optional with default values based on
 the size of the data set such that the total pixels to be
-processed is approximately 10,000 (consider round up).
+processed is approximately 10,000 (consider round up). The 
+smaller these numbers, the larger the sample size used to
+generate the signatures for the classes defined.
 
 <dt><b>iterations=</b><em>value</em> 
 

Modified: grass/trunk/imagery/i.cluster/main.c
===================================================================
--- grass/trunk/imagery/i.cluster/main.c	2019-01-22 11:54:11 UTC (rev 73999)
+++ grass/trunk/imagery/i.cluster/main.c	2019-01-22 12:27:31 UTC (rev 74000)
@@ -112,11 +112,11 @@
 
     parm.sample_interval = G_define_option();
     parm.sample_interval->key = "sample";
-    parm.sample_interval->key_desc = "row_interval,col_interval";
+    parm.sample_interval->key_desc = "rows,cols";
     parm.sample_interval->type = TYPE_INTEGER;
     parm.sample_interval->required = NO;
     parm.sample_interval->description =
-	_("Sampling intervals, i.e., every how many rows and columns a sample pixel is taken; default sample size: ~10,000 pixels");
+	_("Number of rows and columns over which a sample pixel is taken");
     parm.sample_interval->guisection = _("Settings");
 
     parm.iterations = G_define_option();



More information about the grass-commit mailing list