Class ConnectedComponents
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
connected components that is returned from Cv2.ConnectedComponentsEx
public class ConnectedComponents
- Inheritance
-
ConnectedComponents
- Inherited Members
Properties
- Blobs
All blobs, including the background blob at index 0 (Label == 0). Most callers should skip index 0 unless the background itself is of interest (see GetLargestBlob(), which starts scanning from index 1).
- LabelCount
The total number of labels, including the background label (0).
- Labels
destination labeled value
Methods
- FilterByBlob(Mat, Mat, Blob)
Filter a image with the specified blob object.
- FilterByBlobs(Mat, Mat, IEnumerable<Blob>)
Filter a image with the specified blob objects.
- FilterByLabel(Mat, Mat, int)
Filter a image with the specified label value.
- FilterByLabels(Mat, Mat, IEnumerable<int>)
Filter a image with the specified label values.
- GetLargestBlob()
Find the largest blob.
- RenderBlobs(Mat)
Draws all blobs to the specified image.