Module Watershed Segmentation
Watershed segmentation.
- Author: O.Conrad (c) 2002
- Specification: grid
- Menu: Imagery|Segmentation
- WIKI: http://sourceforge.net/apps/trac/saga-gis/wiki/imagery_segmentation_0
Parameters
Name | Type | Identifier | Description | Constraints | |
---|---|---|---|---|---|
Input | Grid | Grid (input) | GRID | - | - |
Output | Segments | Grid (output) | SEGMENTS | - | - |
Seed Points | Shapes (output) | SEEDS | - | - | |
Borders (*) | Data Object (optional output) | BORDERS | - | - | |
Options | Output | Choice | OUTPUT | The values of the resultant grid can be either the seed value (e.g. the local maximum) or the enumerated segment id. | Available Choices: [0] Seed Value [1] Segment ID Default: 1 |
Method | Choice | DOWN | Choose if you want to segmentate either on minima or on maxima. | Available Choices: [0] Minima [1] Maxima Default: 1 | |
Join Segments based on Threshold Value | Choice | JOIN | Join segments based on threshold value. | Available Choices: [0] do not join [1] seed to saddle difference [2] seeds difference Default: 0 | |
Threshold | Floating point | THRESHOLD | Specify a threshold value as minimum difference between neighboured segments. | Minimum: 0.000000 Default: 0.000000 | |
Allow Edge Pixels to be Seeds | Boolean | EDGE | - | Default: 1 | |
Borders | Boolean | BBORDERS | Create borders between segments as new grid. | Default: 0 | |
(*) optional |
Command-line
Usage: saga_cmd imagery_segmentation 0 -GRID <str> [-SEGMENTS <str>] [-SEEDS <str>] [-BORDERS <str>] [-OUTPUT <str>] [-DOWN <str>] [-JOIN <str>] [-THRESHOLD <str>] [-EDGE <str>] [-BBORDERS <str>] -GRID:<str> Grid Grid (input) -SEGMENTS:<str> Segments Grid (output) -SEEDS:<str> Seed Points Shapes (output) -BORDERS:<str> Borders Data Object (optional output) -OUTPUT:<str> Output Choice Available Choices: [0] Seed Value [1] Segment ID Default: 1 -DOWN:<str> Method Choice Available Choices: [0] Minima [1] Maxima Default: 1 -JOIN:<str> Join Segments based on Threshold Value Choice Available Choices: [0] do not join [1] seed to saddle difference [2] seeds difference Default: 0 -THRESHOLD:<str> Threshold Floating point Minimum: 0.000000 Default: 0.000000 -EDGE:<str> Allow Edge Pixels to be Seeds Boolean Default: 1 -BBORDERS:<str> Borders Boolean Default: 0