 | SuperpixelSEEDSGetLabelContourMask Method |
Returns the mask of the superpixel segmentation stored in SuperpixelSEEDS object.
The function return the boundaries of the superpixel segmentation.
Namespace:
OpenCvSharp.XImgProc
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntaxpublic virtual void GetLabelContourMask(
OutputArray image,
bool thickLine = true
)
Public Overridable Sub GetLabelContourMask (
image As OutputArray,
Optional thickLine As Boolean = true
)
public:
virtual void GetLabelContourMask(
OutputArray^ image,
bool thickLine = true
)
abstract GetLabelContourMask :
image : OutputArray *
?thickLine : bool
(* Defaults:
let _thickLine = defaultArg thickLine true
*)
-> unit
override GetLabelContourMask :
image : OutputArray *
?thickLine : bool
(* Defaults:
let _thickLine = defaultArg thickLine true
*)
-> unit
Parameters
- image
- Type: OpenCvSharpOutputArray
Return: CV_8U1 image mask where -1 indicates that the pixel is a superpixel border, and 0 otherwise. - thickLine (Optional)
- Type: SystemBoolean
If false, the border is only one pixel wide, otherwise all pixels at the border are masked.
See Also