Click or drag to resize

CvBlobLibBlobMeanColor Method

Calculates mean color of a blob in an image.

Namespace:  OpenCvSharp.Blob
Assembly:  OpenCvSharp.Blob (in OpenCvSharp.Blob.dll) Version: 1.0.0
Syntax
public static Scalar BlobMeanColor(
	CvBlobs blobs,
	CvBlob targetBlob,
	Mat originalImage
)

Parameters

blobs
Type: OpenCvSharp.BlobCvBlobs
Blob list
targetBlob
Type: OpenCvSharp.BlobCvBlob
The target blob
originalImage
Type: OpenCvSharpMat
Original image.

Return Value

Type: Scalar
Average color.
See Also