| ConnectedComponentsFilterByLabels Method |
Filter a image with the specified label values.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public void FilterByLabels(
Mat src,
Mat dst,
IEnumerable<int> labelValues
)
Public Sub FilterByLabels (
src As Mat,
dst As Mat,
labelValues As IEnumerable(Of Integer)
)
public:
void FilterByLabels(
Mat^ src,
Mat^ dst,
IEnumerable<int>^ labelValues
)
member FilterByLabels :
src : Mat *
dst : Mat *
labelValues : IEnumerable<int> -> unit
Parameters
- src
- Type: OpenCvSharpMat
Source image. - dst
- Type: OpenCvSharpMat
Destination image. - labelValues
- Type: System.Collections.GenericIEnumerableInt32
Label values.
Return Value
Type:
Filtered image.
See Also