SAGA 9.6.1 | Tool Library Documentation

Watershed Segmentation


Description

Watershed segmentation.


Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridgrid, inputGRID--
OutputSegmentsgrid, outputSEGMENTS--
Seed Pointsshapes, outputSEEDS--
Bordersdata object Grid, output, optionalBORDERS--
OptionsGrid Systemgrid systemPARAMETERS_GRID_SYSTEM--
OutputchoiceOUTPUTThe 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
MethodchoiceDOWNChoose if you want to segmentate either on minima or on maxima.Available Choices: [0] Minima [1] Maxima Default: 1
Join Segments based on Threshold ValuechoiceJOINJoin segments based on threshold value.Available Choices: [0] do not join [1] seed to saddle difference [2] seeds difference Default: 0
Thresholdfloating point numberTHRESHOLDSpecify a threshold value as minimum difference between neighboured segments.Minimum: 0.000000 Default: 0.000000
Allow Edge Pixels to be SeedsbooleanEDGE-Default: 1
BordersbooleanBBORDERSCreate borders between segments as new grid.Default: 0

Command Line


Usage: saga_cmd imagery_segmentation 0 [-GRID ] [-SEGMENTS ] [-SEEDS ] [-BORDERS ] [-OUTPUT ] [-DOWN ] [-JOIN ] [-THRESHOLD ] [-EDGE ] [-BBORDERS ]
  -GRID:        	Grid
	grid, input
  -SEGMENTS:    	Segments
	grid, output
  -SEEDS:       	Seed Points
	shapes, output
  -BORDERS:     	Borders
	data object Grid, output, optional
  -OUTPUT:      	Output
	choice
	Available Choices:
	[0] Seed Value
	[1] Segment ID
	Default: 1
  -DOWN:        	Method
	choice
	Available Choices:
	[0] Minima
	[1] Maxima
	Default: 1
  -JOIN:        	Join Segments based on Threshold Value
	choice
	Available Choices:
	[0] do not join
	[1] seed to saddle difference
	[2] seeds difference
	Default: 0
  -THRESHOLD:	Threshold
	floating point number
	Minimum: 0.000000
	Default: 0.000000
  -EDGE:        	Allow Edge Pixels to be Seeds
	boolean
	Default: 1
  -BBORDERS:    	Borders
	boolean
	Default: 0