SAGA-GIS Tool Library Documentation (v9.2.0)

Tool Watershed Image Segmentation

Watershed Segmentation.


References


Parameters

 NameTypeIdentifierDescriptionConstraints
InputBand 1grid, inputBAND_1--
Band 2 (*)grid, input, optionalBAND_2--
Band 3 (*)grid, input, optionalBAND_3--
Seedsgrid, inputSEED_GRID--
OutputSegments (*)grid, output, optionalSEGMENTS--
Polygons (*)shapes, output, optionalPOLYGONS--
OptionsGrid Systemgrid systemPARAMETERS_GRID_SYSTEM--
Get Seeds from...choiceSEEDSEither local maxima (peaks) or minima (pits) of band 1, or provided seeds grid (enumerated values greater zero or not no-data).Available Choices:
[0] peaks
[1] pits
[2] grid
Default: 0
(*) optional

Command-line

Usage: saga_cmd imagery_opencv 17 [-BAND_1 <str>] [-BAND_2 <str>] [-BAND_3 <str>] [-SEED_GRID <str>] [-SEGMENTS <str>] [-POLYGONS <str>] [-SEEDS <str>]
  -BAND_1:<str>   	Band 1
	grid, input
  -BAND_2:<str>   	Band 2
	grid, input, optional
  -BAND_3:<str>   	Band 3
	grid, input, optional
  -SEED_GRID:<str>	Seeds
	grid, input
  -SEGMENTS:<str> 	Segments
	grid, output, optional
  -POLYGONS:<str> 	Polygons
	shapes, output, optional
  -SEEDS:<str>    	Get Seeds from...
	choice
	Available Choices:
	[0] peaks
	[1] pits
	[2] grid
	Default: 0