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 | RADIUS | - | Minimum: 0 Default: 1 |
Iterations | Integer | 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
Minimum: 0
Default: 1
-ITERATIONS:<num> Iterations
Integer
Minimum: 1
Default: 1