http://www.emgu.com
Update Running Average. this = (1-alpha)*this + alpha*img, using the mask

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

Syntax

C#
public void RunningAvg(
	Image<TColor, TDepth> img,
	double alpha,
	Image<Gray, byte> mask
)
Visual Basic
Public Sub RunningAvg ( 
	img As Image(Of TColor, TDepth),
	alpha As Double,
	mask As Image(Of Gray, Byte)
)
Visual C++
public:
void RunningAvg(
	Image<TColor, TDepth>^ img, 
	double alpha, 
	Image<Gray, unsigned char>^ mask
)
F#
member RunningAvg : 
        img : Image<'TColor, 'TDepth> * 
        alpha : float * 
        mask : Image<Gray, byte> -> unit 

Parameters

img
Type: Emgu.CV..::..Image<(Of <(<'TColor, TDepth>)>)>
Input image, 1- or 3-channel, Byte or Single (each channel of multi-channel image is processed independently).
alpha
Type: System..::..Double
The weight of img
mask
Type: Emgu.CV..::..Image<(Of <(<'Gray, Byte>)>)>
The mask for the running average

See Also