Watershed segmentation.
| | Name | Type | Identifier | Description | Constraints |
| Input | Grid | Grid, input | GRID | - | - |
| Output | Segments | Grid, output | SEGMENTS | - | - |
| Seed Points | Shapes, output | SEEDS | - | - |
| Borders (*) | Data Object Grid, output, optional | BORDERS | - | - |
| Options | Grid System | Grid system | PARAMETERS_GRID_SYSTEM | - | - |
| 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 |