Majority/Minority Filter
- Author: O.Conrad (c) 2010
- Menu: Grid | Filter
Description
Majority filter for grids.
Parameters
|  | Name | Type | Identifier | Description | Constraints | 
|---|
| Input | Grid | grid, input | INPUT | - | - | 
| Output | Filtered Grid | grid, output, optional | RESULT | - | - | 
| Options | Grid System | grid system | PARAMETERS_GRID_SYSTEM | - | - | 
| Type | choice | TYPE | - | Available Choices:
[0] Majority
[1] Minority
Default: 0 | 
| Threshold | floating point number | THRESHOLD | The majority/minority threshold [percent]. | Minimum: 0.000000
Maximum: 100.000000
Default: 0.000000 | 
| Kernel Type | choice | KERNEL_TYPE | The kernel's shape. | Available Choices:
[0] Square
[1] Circle
Default: 1 | 
| Radius | integer number | KERNEL_RADIUS | cells | Minimum: 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