MATLAB File Help: cv.SuperpixelLSC/SuperpixelLSC Index
cv.SuperpixelLSC/SuperpixelLSC

Class implementing the LSC (Linear Spectral Clustering) superpixels

obj = cv.SuperpixelLSC(img)
obj = cv.SuperpixelLSC(img, 'OptionName',optionValue, ...)

Input

Options

The function initializes a SuperpixelLSC object for the input image. It sets the parameters of superpixel algorithm, which are: RegionSize and Ratio. It preallocate some buffers for future computing iterations over the given image. An example of LSC is ilustrated in the following picture. For enanched results it is recommended for color images to preprocess image with little gaussian blur with a small 3x3 kernel and additional conversion into CieLAB color space.

<<http://docs.opencv.org/3.1.0/superpixels_lsc.png>>

See also