cv.SuperpixelSLIC/SuperpixelSLIC - MATLAB File Help
cv.SuperpixelSLIC/SuperpixelSLIC

Initialize a SuperpixelSLIC object

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

Input

Options

The function initializes a SuperpixelSLIC object for the input image. It sets the parameters of choosed superpixel algorithm, which are: RegionSize and Ruler. It preallocate some buffers for future computing iterations over the given image.

For enanched results it is recommended for color images to preprocess image with little gaussian blur using a small 3x3 kernel and additional conversion into CIELAB color space.

An example of SLIC versus SLICO and MSLIC is ilustrated in the following picture.

image

See also