Click or drag to resize

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
)

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: Int32
Number of pixels that has been labeled.
See Also