Average With Thereshold 2

Alessandro Perego
Average 2 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 1).

Parameters

Grid system
Grid system
Grid system
Input
Input Grid
This must be your input data of type grid.
AWT Grid
Output Grid
New grid filtered with the A2WiTh module
Radius X
Integer
Minimum: 1.0
Radius Y
Integer
Minimum: 1.0
Threshold
Floating point
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.