Tool Rank Filter
Rank filter for grids. Set rank to fifty percent to apply a median filter.
- Author: O.Conrad (c) 2010
- Menu: Grid|Filter
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Grid | Grid (input) | INPUT | - | - |
Output | Filtered Grid (*) | Grid (optional output) | RESULT | - | - |
Options | Grid system | Grid system | PARAMETERS_GRID_SYSTEM | - | - |
Rank | Floating point | RANK | The rank [percent]. | Minimum: 0.000000 Maximum: 100.000000 Default: 50.000000 |
Kernel Type | Choice | KERNEL_TYPE | The shape of the filter kernel. | Available Choices: [0] Square [1] Circle Default: 1 |
Kernel Radius | Integer | KERNEL_RADIUS | The kernel radius in cells. | Minimum: 1 Default: 2 |
(*) optional |
Command-line
Usage: saga_cmd grid_filter 9 [-INPUT <str>] [-RESULT <str>] [-RANK <double>] [-KERNEL_TYPE <str>] [-KERNEL_RADIUS <num>]
-INPUT:<str> Grid
Grid (input)
-RESULT:<str> Filtered Grid
Grid (optional output)
-RANK:<double> Rank
Floating point
Minimum: 0.000000
Maximum: 100.000000
Default: 50.000000
-KERNEL_TYPE:<str> Kernel Type
Choice
Available Choices:
[0] Square
[1] Circle
Default: 1
-KERNEL_RADIUS:<num> Kernel Radius
Integer
Minimum: 1
Default: 2