Method GetLabels
- Namespace
- OpenCvSharp.XImgProc
- Assembly
- OpenCvSharp.dll
GetLabels(OutputArray)
Returns the segmentation labeling of the image. Each label represents a superpixel, and each pixel is assigned to one superpixel label.
The function returns an image with the labels of the superpixel segmentation. The labels are in the range[0, getNumberOfSuperpixels()].
public virtual void GetLabels(OutputArray labelsOut)
Parameters
labelsOutOutputArray