SAGA-GIS Tool Library Documentation (v9.1.2)

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