SAGA 9.6.1 | Tool Library Documentation

Superpixel Segmentation


Description

The Superpixel Segmentation tool implements the 'Simple Linear Iterative Clustering' (SLIC) algorithm, an image segmentation method described in Achanta et al. (2010). SLIC is a simple and efficient method to decompose an image in visually homogeneous regions. It is based on a spatially localized version of k-means clustering. Similar to mean shift or quick shift, each pixel is associated to a feature vector. This tool is follows the SLIC implementation created by Vedaldi and Fulkerson as part of the VLFeat library.


References


Parameters

 NameTypeIdentifierDescriptionConstraints
InputFeaturesgrid list, inputFEATURES--
OutputSegmentsshapes, outputPOLYGONS--
Superpixelsgrid list, output, optionalSUPERPIXELS--
OptionsGrid Systemgrid systemPARAMETERS_GRID_SYSTEM--
NormalizebooleanNORMALIZE-Default: 0
Maximum Iterationsinteger numberMAX_ITERATIONS-Minimum: 1 Default: 100
Regularizationfloating point numberREGULARIZATION-Minimum: 0.000000 Default: 1.000000
Region Sizeinteger numberSIZEStarting 'cell size' of the superpixels given as number of cells.Minimum: 1 Default: 10
Minimum Region Sizeinteger numberSIZE_MINIn postprocessing join segments, which cover less cells than specified here, to a larger neighbour segment.Minimum: 1 Default: 1
Create Superpixel GridsbooleanSUPERPIXELS_DO-Default: 0
Post-ProcessingchoicePOSTPROCESSING-Available Choices: [0] none [1] unsupervised classification Default: 0
Number of Clustersinteger numberNCLUSTER-Minimum: 2 Default: 12
Split ClustersbooleanSPLIT_CLUSTERS-Default: 1

Command Line


Usage: saga_cmd imagery_segmentation 4 [-FEATURES ] [-NORMALIZE ] [-POLYGONS ] [-MAX_ITERATIONS ] [-REGULARIZATION ] [-SIZE ] [-SIZE_MIN ] [-SUPERPIXELS_DO ] [-SUPERPIXELS ] [-POSTPROCESSING ] [-NCLUSTER ] [-SPLIT_CLUSTERS ]
  -FEATURES:         	Features
	grid list, input
  -NORMALIZE:        	Normalize
	boolean
	Default: 0
  -POLYGONS:         	Segments
	shapes, output
  -MAX_ITERATIONS:   	Maximum Iterations
	integer number
	Minimum: 1
	Default: 100
  -REGULARIZATION:	Regularization
	floating point number
	Minimum: 0.000000
	Default: 1.000000
  -SIZE:             	Region Size
	integer number
	Minimum: 1
	Default: 10
  -SIZE_MIN:         	Minimum Region Size
	integer number
	Minimum: 1
	Default: 1
  -SUPERPIXELS_DO:   	Create Superpixel Grids
	boolean
	Default: 0
  -SUPERPIXELS:      	Superpixels
	grid list, output, optional
  -POSTPROCESSING:   	Post-Processing
	choice
	Available Choices:
	[0] none
	[1] unsupervised classification
	Default: 0
  -NCLUSTER:         	Number of Clusters
	integer number
	Minimum: 2
	Default: 12
  -SPLIT_CLUSTERS:   	Split Clusters
	boolean
	Default: 1