SAGA-GIS Module Library Documentation (v2.1.3)

Module Majority Filter

Majority 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
Threshold [Percent]Floating pointTHRESHOLD-Minimum: 0.000000
Maximum: 100.000000
Default: 0.000000
(*) optional

Command-line

Usage: saga_cmd grid_filter 6 -INPUT <str> [-RESULT <str>] [-MODE <str>] [-RADIUS <num>] [-THRESHOLD <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
  -THRESHOLD:<str>	Threshold [Percent]
	Floating point
	Minimum: 0.000000
	Maximum: 100.000000
	Default: 0.000000