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.10.1935 (2.4.10.1935)

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
)
F#
member GetAverage : 
        mask : Image<Gray, byte> -> 'TColor 

Parameters

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

Return Value

Type: TColor
The average color of the masked area

See Also