| SuperpixelLSCGetLabels Method |
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()].
Namespace:
OpenCvSharp.XImgProc
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public virtual void GetLabels(
OutputArray labelsOut
)
Public Overridable Sub GetLabels (
labelsOut As OutputArray
)
public:
virtual void GetLabels(
OutputArray^ labelsOut
)
abstract GetLabels :
labelsOut : OutputArray -> unit
override GetLabels :
labelsOut : OutputArray -> unit
Parameters
- labelsOut
- Type: OpenCvSharpOutputArray
Return: A CV_32SC1 integer array containing the labels of the superpixel
segmentation.The labels are in the range[0, getNumberOfSuperpixels()].
See Also