SAGA-GIS Module Library Documentation (v2.1.3)

Module Average With Thereshold 3

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

 NameTypeIdentifierDescriptionConstraints
InputInputGrid (input)INPUTThis must be your input data of type grid.-
OutputAWT GridGrid (output)RESULTNew grid filtered with the A3WiTh module-
OptionsRadius XIntegerRX-Minimum: 1
Default: 1
Radius YIntegerRY-Minimum: 1
Default: 1
ThresholdFloating pointTHRESHThe 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 <str> [-RESULT <str>] [-RX <num>] [-RY <num>] [-THRESH <str>]
  -INPUT:<str> 	Input
	Grid (input)
  -RESULT:<str>	AWT Grid
	Grid (output)
  -RX:<num>    	Radius X
	Integer
	Minimum: 1
	Default: 1
  -RY:<num>    	Radius Y
	Integer
	Minimum: 1
	Default: 1
  -THRESH:<str>	Threshold
	Floating point
	Default: 2.000000