SAGA-GIS Module Library Documentation (v2.3.0)

Module Majority Filter

Majority filter for grids.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridGrid (input)INPUT--
OutputFiltered Grid (*)Grid (optional output)RESULT--
OptionsGrid systemGrid systemPARAMETERS_GRID_SYSTEMGrid system-
Search 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 <double>]
  -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:<double>	Threshold [Percent]
	Floating point
	Minimum: 0.000000
	Maximum: 100.000000
	Default: 0.000000