| CvBlobLibLabel Method |
Label the connected parts of a binary image. (cvLabel)
Namespace:
OpenCvSharp.Blob
Assembly:
OpenCvSharp.Blob (in OpenCvSharp.Blob.dll) Version: 1.0.0
Syntax public static int Label(
Mat img,
CvBlobs blobs
)
Public Shared Function Label (
img As Mat,
blobs As CvBlobs
) As Integer
public:
static int Label(
Mat^ img,
CvBlobs^ blobs
)
static member Label :
img : Mat *
blobs : CvBlobs -> int
Parameters
- img
- Type: OpenCvSharpMat
Input binary image (depth=IPL_DEPTH_8U and num. channels=1). - blobs
- Type: OpenCvSharp.BlobCvBlobs
List of blobs.
Return Value
Type:
Int32Number of pixels that has been labeled.
See Also