MATLAB File Help: cv.SuperpixelSLIC/SuperpixelSLIC | Index |
Class implementing the SLIC (Simple Linear Iterative Clustering) superpixels
obj = cv.SuperpixelSLIC(img)
obj = cv.SuperpixelSLIC(img, 'OptionName',optionValue, ...)
RegionSize
and compactness factor Ruler
(the same compactnes
for all superpixels in the image).RegionSize
,
and in addition will choose an adaptive compactness
factor for each superpixel differently. This is the
default.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. An example
of SLIC versus SLICO is ilustrated in the following picture.