Calculates mean color of a blob in an image.
Namespace: OpenCvSharp.Blob
Assembly: OpenCvSharp.Blob (in OpenCvSharp.Blob.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static CvScalar BlobMeanColor( CvBlobs blobs, CvBlob targetBlob, IplImage originalImage )
Parameters
- blobs
- Type: OpenCvSharp.BlobCvBlobs
Blob list - targetBlob
- Type: OpenCvSharp.BlobCvBlob
The target blob - originalImage
- Type: OpenCvSharpIplImage
Original image.
Return Value
Type: CvScalarAverage color.
See Also