Click or drag to resize

CvBlobLibCalcCentroid Method

Calculates centroid. Centroid will be returned and stored in the blob structure. (cvCentroid)

Namespace:  OpenCvSharp.Blob
Assembly:  OpenCvSharp.Blob (in OpenCvSharp.Blob.dll) Version: 1.0.0
Syntax
public static Point2d CalcCentroid(
	CvBlob blob
)

Parameters

blob
Type: OpenCvSharp.BlobCvBlob
Blob whose centroid will be calculated.

Return Value

Type: Point2d
Centroid.
See Also