[GRASS-SVN] r39651 - grass/branches/releasebranch_6_3/vector/lidar/v.lidar.edgedetection

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Oct 31 08:37:47 EDT 2009


Author: neteler
Date: 2009-10-31 08:37:46 -0400 (Sat, 31 Oct 2009)
New Revision: 39651

Modified:
   grass/branches/releasebranch_6_3/vector/lidar/v.lidar.edgedetection/description.html
   grass/branches/releasebranch_6_3/vector/lidar/v.lidar.edgedetection/edgedetection.c
Log:
backport correction for numbering of terrain classification

Modified: grass/branches/releasebranch_6_3/vector/lidar/v.lidar.edgedetection/description.html
===================================================================
--- grass/branches/releasebranch_6_3/vector/lidar/v.lidar.edgedetection/description.html	2009-10-30 20:09:53 UTC (rev 39650)
+++ grass/branches/releasebranch_6_3/vector/lidar/v.lidar.edgedetection/description.html	2009-10-31 12:37:46 UTC (rev 39651)
@@ -28,10 +28,11 @@
 threshold. Other points are classified as TERRAIN.
 <br>
 <br>
-The output eill be a vector map in which points has been classified as 
+The output will be a vector map in which points has been classified as 
 TERRAIN, EDGE or UNKNOWN. This vector map should be the input of 
 <em>v.lidar.growing</em> module.
 
+
 <h2>NOTES</h2>
 
 In this module, an external table will be created which will be useful for 
@@ -40,10 +41,11 @@
 in the output vector map will be classified as:
 <br>
 <br>
-EDGE (cat = 1, layer = 1)
+TERRAIN (cat = 1, layer = 1)
 <br>
-TERRAIN (cat = 2, layer = 1)
+EDGE (cat = 2, layer = 1)
 <br>
+UNKNOWN (cat = 3, layer = 1)
 <br>
 The final result of the whole procedure (v.lidar.edgedetection,
 v.lidar.growing, v.lidar.correction) will be a point classification in

Modified: grass/branches/releasebranch_6_3/vector/lidar/v.lidar.edgedetection/edgedetection.c
===================================================================
--- grass/branches/releasebranch_6_3/vector/lidar/v.lidar.edgedetection/edgedetection.c	2009-10-30 20:09:53 UTC (rev 39650)
+++ grass/branches/releasebranch_6_3/vector/lidar/v.lidar.edgedetection/edgedetection.c	2009-10-31 12:37:46 UTC (rev 39651)
@@ -35,9 +35,9 @@
 int edge_detection (struct Cell_head elaboration_reg, BOUND_BOX Overlap_Box, double *parBilin, double obsX, double obsY, \
 			double *partial, double alpha, double residual, double gradHigh, double gradLow)
 {
-    /* 0 = PRE_TERRAIN */
-    /* 1 = PRE_EDGE */
-    /* 2 = UNKNOWN */
+    /* 1 = PRE_TERRAIN */
+    /* 2 = PRE_EDGE */
+    /* 3 = UNKNOWN */
     
     int c1, c2;
     double g[9][2], *gradient, gradPto, dirPto;



More information about the grass-commit mailing list