SAGA-GIS Tool Library Documentation (v9.1.2)

Tool Simple Filter

Simple standard filters for grids.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridGrid, inputINPUT--
OutputFiltered Grid (*)Grid, output, optionalRESULT--
OptionsGrid SystemGrid systemPARAMETERS_GRID_SYSTEM--
FilterChoiceMETHODChoose the filter method.Available Choices:
[0] Smooth
[1] Sharpen
[2] Edge
Default: 0
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 0 [-INPUT <str>] [-RESULT <str>] [-METHOD <str>] [-KERNEL_TYPE <str>] [-KERNEL_RADIUS <num>]
  -INPUT:<str>        	Grid
	Grid, input
  -RESULT:<str>       	Filtered Grid
	Grid, output, optional
  -METHOD:<str>       	Filter
	Choice
	Available Choices:
	[0] Smooth
	[1] Sharpen
	[2] Edge
	Default: 0
  -KERNEL_TYPE:<str>  	Kernel Type
	Choice
	Available Choices:
	[0] Square
	[1] Circle
	Default: 1
  -KERNEL_RADIUS:<num>	Radius
	Integer
	Minimum: 0
	Default: 2