[GRASS-SVN] r74215 - grass/trunk/raster/r.thin

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Mar 9 12:14:16 PST 2019


Author: mmetz
Date: 2019-03-09 12:14:16 -0800 (Sat, 09 Mar 2019)
New Revision: 74215

Modified:
   grass/trunk/raster/r.thin/thin_lines.c
Log:
r.thin.lines: document unusual bit position

Modified: grass/trunk/raster/r.thin/thin_lines.c
===================================================================
--- grass/trunk/raster/r.thin/thin_lines.c	2019-03-09 20:12:11 UTC (rev 74214)
+++ grass/trunk/raster/r.thin/thin_lines.c	2019-03-09 20:14:16 UTC (rev 74215)
@@ -178,6 +178,12 @@
 
 /* encode_neighbours- return neighborhood information for pixel at (middle,col) */
 
+/* bit position
+ * 1 8 7
+ * 2 x 6 
+ * 3 4 5
+ */
+
 char
 encode_neighbours(CELL * top, CELL * middle, CELL * bottom, int col, int neg)
 {



More information about the grass-commit mailing list