SAGA-GIS Module Library Documentation (v2.1.4)

Module Morphological Filter

Morphological filter for grids.

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
MethodChoiceMETHOD-Available Choices:
[0] Dilation
[1] Erosion
[2] Opening
[3] Closing
Default: 0
(*) optional

Command-line

Usage: saga_cmd grid_filter 8 -INPUT <str> [-RESULT <str>] [-MODE <str>] [-RADIUS <num>] [-METHOD <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
  -METHOD:<str>	Method
	Choice
	Available Choices:
	[0] Dilation
	[1] Erosion
	[2] Opening
	[3] Closing
	Default: 0