http://www.emgu.com
Get the average value on this image, using the specific mask

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

Syntax

C#
public TColor GetAverage(
	Image<Gray, byte> mask
)
Visual Basic
Public Function GetAverage ( _
	mask As Image(Of Gray, Byte) _
) As TColor
Visual C++
public:
TColor GetAverage(
	Image<Gray, unsigned char>^ mask
)

Parameters

mask
Type: Emgu.CV..::..Image<(Of <(<'Gray, Byte>)>)>
The mask for find the average value

Return Value

The average color of the masked area

See Also