Tool Morphological Filter (OpenCV)
Morphological Filter.
References
- Author: O.Conrad (c) 2009
 
- Menu: Grid|Filter
 
Parameters
|   | Name | Type | Identifier | Description | Constraints | 
| Input | Input | grid, input | INPUT | - | - | 
| Output | Output | grid, output | OUTPUT | - | - | 
| Options | Grid System | grid system | PARAMETERS_GRID_SYSTEM | - | - | 
 | Operation | choice | TYPE | - | Available Choices: [0] dilation [1] erosion [2] opening [3] closing [4] morpological gradient [5] top hat [6] black hat Default: 0 | 
 | Element Shape | choice | SHAPE | - | Available Choices: [0] ellipse [1] rectangle [2] cross Default: 0 | 
 | Radius (cells) | integer number | RADIUS | - | Minimum: 0 Default: 1 | 
 | Iterations | integer number | ITERATIONS | - | Minimum: 1 Default: 1 | 
Command-line
Usage: saga_cmd imagery_opencv 0 [-INPUT <str>] [-OUTPUT <str>] [-TYPE <str>] [-SHAPE <str>] [-RADIUS <num>] [-ITERATIONS <num>]
  -INPUT:<str>     	Input
	grid, input
  -OUTPUT:<str>    	Output
	grid, output
  -TYPE:<str>      	Operation
	choice
	Available Choices:
	[0] dilation
	[1] erosion
	[2] opening
	[3] closing
	[4] morpological gradient
	[5] top hat
	[6] black hat
	Default: 0
  -SHAPE:<str>     	Element Shape
	choice
	Available Choices:
	[0] ellipse
	[1] rectangle
	[2] cross
	Default: 0
  -RADIUS:<num>    	Radius (cells)
	integer number
	Minimum: 0
	Default: 1
  -ITERATIONS:<num>	Iterations
	integer number
	Minimum: 1
	Default: 1