MATLAB File Help: cv.SuperpixelSLIC/getLabels Index
cv.SuperpixelSLIC/getLabels

Returns the segmentation labeling of the image

labels = obj.getLabels()

Output

The function returns an image with the labels of the superpixel segmentation. The labels are in the range [0, obj.getNumberOfSuperpixels()].

Each label represents a superpixel, and each pixel is assigned to one superpixel label.

See also
Method Details
Access public
Sealed false
Static false