[GRASS-SVN] r68644 - grass/branches/releasebranch_6_4/raster/r.neighbors
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jun 8 13:25:01 PDT 2016
Author: neteler
Date: 2016-06-08 13:25:00 -0700 (Wed, 08 Jun 2016)
New Revision: 68644
Modified:
grass/branches/releasebranch_6_4/raster/r.neighbors/description.html
Log:
r.neighbors manual: fix average example (was wrongly in maximum)
Modified: grass/branches/releasebranch_6_4/raster/r.neighbors/description.html
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.neighbors/description.html 2016-06-08 20:21:21 UTC (rev 68643)
+++ grass/branches/releasebranch_6_4/raster/r.neighbors/description.html 2016-06-08 20:25:00 UTC (rev 68644)
@@ -57,12 +57,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
@@ -80,16 +91,6 @@
<dt><b>maximum</b>
<dd>The maximum value within the neighborhood.
-<pre>
- Raw Data Operation New Data
- ---------------- ----------------
- | 7 | 7 | 5 | | | | |
- |----|----|----| average |----|----|----|
- | 4 | 7 | 4 |--------->| | 6 | |
- |----|----|----| |----|----|----|
- | 7 | 6 | 4 | | | | |
- |----|----|----| |----|----|----|
-</pre>
<dt><b>range</b>
More information about the grass-commit
mailing list