SAGA-GIS Tool Library Documentation (v9.2.0)

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 point numberRANKThe 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
Radiusinteger numberKERNEL_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 number
	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 number
	Minimum: 0
	Default: 2