http://www.emgu.com
Calculates mean color of a blob in an image.

Namespace: Emgu.CV.Cvb
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)

Syntax

C#
public Bgr MeanColor(
	CvBlob blob,
	Image<Bgr, byte> originalImage
)
Visual Basic
Public Function MeanColor ( _
	blob As CvBlob, _
	originalImage As Image(Of Bgr, Byte) _
) As Bgr
Visual C++
public:
Bgr MeanColor(
	CvBlob^ blob, 
	Image<Bgr, unsigned char>^ originalImage
)

Parameters

blob
Type: Emgu.CV.Cvb..::..CvBlob
The blob.
originalImage
Type: Emgu.CV..::..Image<(Of <(<'Bgr, Byte>)>)>
The original image

Return Value

Average color

See Also