SAGA-GIS Tool Library Documentation (v6.1.0)

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 example code "watershed.cxx" by Ullrich Koethe.
References:
ViGrA - Vision with Generic Algorithms
http://hci.iwr.uni-heidelberg.de

Parameters

 NameTypeIdentifierDescriptionConstraints
InputInputGrid (input)INPUT--
OutputSegmentationGrid (output)OUTPUT--
OptionsGrid systemGrid systemPARAMETERS_GRID_SYSTEM--
Width of gradient filterFloating pointSCALE-Minimum: 0.000000
Default: 1.000000
RGB coded dataBooleanRGB-Default: 0
EdgesBooleanEDGES-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