Method GetLabelContourMask
- Namespace
- OpenCvSharp.XImgProc
- Assembly
- OpenCvSharp.dll
GetLabelContourMask(OutputArray, bool)
Returns the mask of the superpixel segmentation stored in SuperpixelSEEDS object. The function return the boundaries of the superpixel segmentation.
public virtual void GetLabelContourMask(OutputArray image, bool thickLine = true)
Parameters
imageOutputArrayReturn: CV_8U1 image mask where -1 indicates that the pixel is a superpixel border, and 0 otherwise.
thickLineboolIf false, the border is only one pixel wide, otherwise all pixels at the border are masked.