SAGA 9.4.2 | Tool Library Documentation

Majority/Minority Filter


Description

Majority filter for grids.


Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridgrid, inputINPUT--
OutputFiltered Gridgrid, output, optionalRESULT--
OptionsGrid Systemgrid systemPARAMETERS_GRID_SYSTEM--
TypechoiceTYPE-Available Choices: [0] Majority [1] Minority Default: 0
Thresholdfloating point numberTHRESHOLDThe majority/minority threshold [percent].Minimum: 0.000000 Maximum: 100.000000 Default: 0.000000
Kernel TypechoiceKERNEL_TYPEThe kernel's shape.Available Choices: [0] Square [1] Circle Default: 1
Radiusinteger numberKERNEL_RADIUScellsMinimum: 0 Default: 2

Command Line


Usage: saga_cmd grid_filter 6 [-INPUT ] [-RESULT ] [-TYPE ] [-THRESHOLD ] [-KERNEL_TYPE ] [-KERNEL_RADIUS ]
  -INPUT:        	Grid
	grid, input
  -RESULT:       	Filtered Grid
	grid, output, optional
  -TYPE:         	Type
	choice
	Available Choices:
	[0] Majority
	[1] Minority
	Default: 0
  -THRESHOLD: 	Threshold
	floating point number
	Minimum: 0.000000
	Maximum: 100.000000
	Default: 0.000000
  -KERNEL_TYPE:  	Kernel Type
	choice
	Available Choices:
	[0] Square
	[1] Circle
	Default: 1
  -KERNEL_RADIUS:	Radius
	integer number
	Minimum: 0
	Default: 2