فهرست منبع

r.neighbors manual: fix average example (was wrongly in maximum)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@68641 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 9 سال پیش
والد
کامیت
150d887533
1فایلهای تغییر یافته به همراه12 افزوده شده و 11 حذف شده
  1. 12 11
      raster/r.neighbors/r.neighbors.html

+ 12 - 11
raster/r.neighbors/r.neighbors.html

@@ -82,12 +82,23 @@ In the following example, the result would be:
 
 <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 |---------&gt;|   | 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 @@ when these are ranged in numerical order.
 <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 |---------&gt;|   | 6 |   |
-   +---+---+---+          +---+---+---+
-   | 7 | 6 | 4 |          |   |   |   |
-   +---+---+---+          +---+---+---+
-</pre></div>
 
 <dt><b>range</b>