[GRASS-SVN] r52504 - grass-addons/grass7/raster/r.houghtransform

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 2 06:25:42 PDT 2012


Author: annakrat
Date: 2012-08-02 06:25:40 -0700 (Thu, 02 Aug 2012)
New Revision: 52504

Modified:
   grass-addons/grass7/raster/r.houghtransform/main.cpp
Log:
r.houghtransform: description fixed

Modified: grass-addons/grass7/raster/r.houghtransform/main.cpp
===================================================================
--- grass-addons/grass7/raster/r.houghtransform/main.cpp	2012-08-02 13:16:01 UTC (rev 52503)
+++ grass-addons/grass7/raster/r.houghtransform/main.cpp	2012-08-02 13:25:40 UTC (rev 52504)
@@ -76,7 +76,7 @@
     anglesOption = G_define_standard_option(G_OPT_R_INPUT);
     anglesOption->key = "angles";
     anglesOption->required = NO;
-    anglesOption->description = _("Approximate number of line segments.");
+    anglesOption->description = _("Name of input image with angles from i.edge.");
 
     houghImageNameOption = G_define_standard_option(G_OPT_R_OUTPUT);
     houghImageNameOption->key = "hough_image";
@@ -88,7 +88,7 @@
     angleWidthOption->type = TYPE_INTEGER;
     angleWidthOption->required = NO;
     angleWidthOption->multiple = NO;
-    angleWidthOption->description = _("Width of circle sector (only when you provide angle map).");
+    angleWidthOption->description = _("Width of circle sector (only when you provide angle map)");
     angleWidthOption->answer = const_cast<char *>("5");
 
     // this option will become max peaks number to find in HT
@@ -97,13 +97,13 @@
     maxLinesOption->type = TYPE_INTEGER;
     maxLinesOption->required = NO;
     maxLinesOption->multiple = NO;
-    maxLinesOption->description = _("Approximate number of line segments."
-                                    " Actually, this option will become"
-                                    " maximal number of line candidates"
-                                    " detected in Hough transform image."
-                                    " Final number of line segments can be"
-                                    " smaller or greater."
-                                    );
+    maxLinesOption->label = _("Approximate number of line segments");
+    maxLinesOption->description = _(
+                "This number represents"
+                " maximal number of line candidates"
+                " detected in Hough transform image."
+                " Final number of line segments can be"
+                " smaller or greater.");
     maxLinesOption->answer = const_cast<char *>("20");
 
     minGapOption = G_define_option();



More information about the grass-commit mailing list