[GRASS-SVN] r68641 - grass/trunk/raster/r.neighbors
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jun 8 13:20:20 PDT 2016
Author: neteler
Date: 2016-06-08 13:20:19 -0700 (Wed, 08 Jun 2016)
New Revision: 68641
Modified:
grass/trunk/raster/r.neighbors/r.neighbors.html
Log:
r.neighbors manual: fix average example (was wrongly in maximum)
Modified: grass/trunk/raster/r.neighbors/r.neighbors.html
===================================================================
--- grass/trunk/raster/r.neighbors/r.neighbors.html 2016-06-08 19:39:28 UTC (rev 68640)
+++ grass/trunk/raster/r.neighbors/r.neighbors.html 2016-06-08 20:20:19 UTC (rev 68641)
@@ -82,12 +82,23 @@
<br>
-(7*4 + 6 + 5 + 4*3)/9 = 5.66
+(7*4 + 6 + 5 + 4*3)/9 = 5.6667
<br>
The result is rounded to the nearest integer (in this case 6).
+<div class="code"><pre>
+ Raw Data Operation New Data
+ +---+---+---+ +---+---+---+
+ | 7 | 7 | 5 | | | | |
+ +---+---+---+ average +---+---+---+
+ | 4 | 7 | 4 |--------->| | 6 | |
+ +---+---+---+ +---+---+---+
+ | 7 | 6 | 4 | | | | |
+ +---+---+---+ +---+---+---+
+</pre></div>
+
<dt><b>median</b>
<dd>The value found half-way through a list of the
@@ -105,16 +116,6 @@
<dt><b>maximum</b>
<dd>The maximum value within the neighborhood.
-<div class="code"><pre>
- Raw Data Operation New Data
- +---+---+---+ +---+---+---+
- | 7 | 7 | 5 | | | | |
- +---+---+---+ average +---+---+---+
- | 4 | 7 | 4 |--------->| | 6 | |
- +---+---+---+ +---+---+---+
- | 7 | 6 | 4 | | | | |
- +---+---+---+ +---+---+---+
-</pre></div>
<dt><b>range</b>
More information about the grass-commit
mailing list