Tool Watershed Segmentation (ViGrA)
Note that the watershed algorithm usually results in an oversegmentation (i.e., too many regions), but its boundary localization is quite good.
Based on the code example "watershed.cxx" by Ullrich Koethe.
References
- Author: O.Conrad (c) 2009
- Menu: Imagery|Segmentation
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Input | Grid (input) | INPUT | - | - |
Output | Segmentation | Grid (output) | OUTPUT | - | - |
Options | Grid system | Grid system | PARAMETERS_GRID_SYSTEM | - | - |
Width of gradient filter | Floating point | SCALE | - | Minimum: 0.000000 Default: 1.000000 |
RGB coded data | Boolean | RGB | - | Default: 0 |
Edges | Boolean | EDGES | - | Default: 0 |
Command-line
Usage: saga_cmd imagery_vigra 4 [-INPUT <str>] [-OUTPUT <str>] [-SCALE <double>] [-RGB <str>] [-EDGES <str>]
-INPUT:<str> Input
Grid (input)
-OUTPUT:<str> Segmentation
Grid (output)
-SCALE:<double> Width of gradient filter
Floating point
Minimum: 0.000000
Default: 1.000000
-RGB:<str> RGB coded data
Boolean
Default: 0
-EDGES:<str> Edges
Boolean
Default: 0