Get the average value on this image, using the specific mask

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

Syntax

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

Parameters

mask
Image<(Of <(Gray, Byte>)>)
The mask for find the average value

Return Value

The average color of the masked area

See Also