Tool Close One Cell Gaps
Closes one cell gaps using the arithmetic mean, median, majority or minority value of the surrounding cell values. If the target is not set, the changes will be stored to the original grid.
- Author: O.Conrad (c) 2001
- Menu: Grid|Gaps
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Grid | Grid, input | INPUT | - | - |
Output | Changed Grid (*) | Grid, output, optional | RESULT | - | - |
Options | Grid System | Grid system | PARAMETERS_GRID_SYSTEM | - | - |
Neighbourhood | Choice | MODE | Neumann: the four horizontally and vertically neighboured cells; Moore: all eight adjacent cells | Available Choices: [0] Neumann [1] Moore Default: 1 |
Value | Choice | METHOD | - | Available Choices: [0] arithmetic mean [1] median [2] majority [3] minority Default: 0 |
(*) optional |
Command-line
Usage: saga_cmd grid_tools 6 [-INPUT <str>] [-RESULT <str>] [-MODE <str>] [-METHOD <str>]
-INPUT:<str> Grid
Grid, input
-RESULT:<str> Changed Grid
Grid, output, optional
-MODE:<str> Neighbourhood
Choice
Available Choices:
[0] Neumann
[1] Moore
Default: 1
-METHOD:<str> Value
Choice
Available Choices:
[0] arithmetic mean
[1] median
[2] majority
[3] minority
Default: 0