Close One Cell Gaps
- Author: O.Conrad (c) 2001
- Menu: Grid | Gaps
Description
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.
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 |
Command Line
Usage: saga_cmd grid_tools 6 [-INPUT ] [-RESULT ] [-MODE ] [-METHOD ]
-INPUT: Grid
grid, input
-RESULT: Changed Grid
grid, output, optional
-MODE: Neighbourhood
choice
Available Choices:
[0] Neumann
[1] Moore
Default: 1
-METHOD: Value
choice
Available Choices:
[0] arithmetic mean
[1] median
[2] majority
[3] minority
Default: 0