| 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
)
Public Shared Function CalcCentroid (
blob As CvBlob
) As Point2d
public:
static Point2d CalcCentroid(
CvBlob^ blob
)
static member CalcCentroid :
blob : CvBlob -> Point2d
Parameters
- blob
- Type: OpenCvSharp.BlobCvBlob
Blob whose centroid will be calculated.
Return Value
Type:
Point2dCentroid.
See Also