ConnectedComponentsFilterByLabel Method
|
Filter a image with the specified label value.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic Mat FilterByLabel(
Mat src,
Mat dst,
int labelValue
)
Public Function FilterByLabel (
src As Mat,
dst As Mat,
labelValue As Integer
) As Mat
public:
Mat^ FilterByLabel(
Mat^ src,
Mat^ dst,
int labelValue
)
member FilterByLabel :
src : Mat *
dst : Mat *
labelValue : int -> Mat
function FilterByLabel(src, dst, labelValue);
Parameters
- src
- Type: OpenCvSharpMat
Source image. - dst
- Type: OpenCvSharpMat
Destination image. - labelValue
- Type: SystemInt32
Label value.
Return Value
Type:
MatFiltered image.
See Also