SAGA-GIS Tool Library Documentation (v8.4.1)

Tool Rank Filter

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

Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridGrid, inputINPUT--
OutputFiltered Grid (*)Grid, output, optionalRESULT--
OptionsGrid SystemGrid systemPARAMETERS_GRID_SYSTEM--
RankFloating pointRANKThe rank [percent].Minimum: 0.000000
Maximum: 100.000000
Default: 50.000000
Kernel TypeChoiceKERNEL_TYPEThe kernel's shape.Available Choices:
[0] Square
[1] Circle
Default: 1
RadiusIntegerKERNEL_RADIUScellsMinimum: 0
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, output, optional
  -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>	Radius
	Integer
	Minimum: 0
	Default: 2