SAGA-GIS Module Library Documentation (v2.1.3)

Module Rank Filter

Rank filter for grids. Set rank to fifty percent to apply a median filter.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridGrid (input)INPUT--
OutputFiltered Grid (*)Grid (optional output)RESULT--
OptionsSearch ModeChoiceMODE-Available Choices:
[0] Square
[1] Circle
Default: 1
RadiusIntegerRADIUS-Minimum: 1
Default: 1
Rank [Percent]Floating pointRANK-Minimum: 0.000000
Maximum: 100.000000
Default: 50.000000
(*) optional

Command-line

Usage: saga_cmd grid_filter 9 -INPUT <str> [-RESULT <str>] [-MODE <str>] [-RADIUS <num>] [-RANK <str>]
  -INPUT:<str> 	Grid
	Grid (input)
  -RESULT:<str>	Filtered Grid
	Grid (optional output)
  -MODE:<str>  	Search Mode
	Choice
	Available Choices:
	[0] Square
	[1] Circle
	Default: 1
  -RADIUS:<num>	Radius
	Integer
	Minimum: 1
	Default: 1
  -RANK:<str>  	Rank [Percent]
	Floating point
	Minimum: 0.000000
	Maximum: 100.000000
	Default: 50.000000