Average With Thereshold 3
- Author: Alessandro Perego
- Menu: Grid | Filter | Averages
Description
Average 3 With Thereshold for Grids calculates average in X and Y distances unsing only the values that differ form central pixel less than a specified threshold. Each value has a weight which is inversely proportional to the distance (method 2).
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Input | grid, input | INPUT | This must be your input data of type grid. | - |
Output | AWT Grid | grid, output | RESULT | New grid filtered with the A3WiTh tool | - |
Options | Grid System | grid system | PARAMETERS_GRID_SYSTEM | - | - |
Radius X | integer number | RX | - | Minimum: 1
Default: 1 |
Radius Y | integer number | RY | - | Minimum: 1
Default: 1 |
Threshold | floating point number | THRESH | The values in the specified radius is used in the average calculation only if its difference with the central value is lesser or equal to this threshold. | Default: 2.000000 |
Command Line
Usage: saga_cmd contrib_perego 2 [-INPUT ] [-RESULT ] [-RX ] [-RY ] [-THRESH ]
-INPUT: Input
grid, input
-RESULT: AWT Grid
grid, output
-RX: Radius X
integer number
Minimum: 1
Default: 1
-RY: Radius Y
integer number
Minimum: 1
Default: 1
-THRESH: Threshold
floating point number
Default: 2.000000