| 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
)
Public Shared Function BlobMeanColor (
blobs As CvBlobs,
targetBlob As CvBlob,
originalImage As Mat
) As Scalar
public:
static Scalar BlobMeanColor(
CvBlobs^ blobs,
CvBlob^ targetBlob,
Mat^ originalImage
)
static member BlobMeanColor :
blobs : CvBlobs *
targetBlob : CvBlob *
originalImage : Mat -> Scalar
Parameters
- blobs
- Type: OpenCvSharp.BlobCvBlobs
Blob list - targetBlob
- Type: OpenCvSharp.BlobCvBlob
The target blob - originalImage
- Type: OpenCvSharpMat
Original image.
Return Value
Type:
ScalarAverage color.
See Also