CvBlobLibLabel Method OpenCvSharp Class Library
Label the connected parts of a binary image. (cvLabel)

Namespace:  OpenCvSharp.Blob
Assembly:  OpenCvSharp.Blob (in OpenCvSharp.Blob.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static int Label(
	IplImage img,
	CvBlobs blobs
)

Parameters

img
Type: OpenCvSharpIplImage
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

Reference