Emgu CV Library Documentation
RunningAvg Method (img, alpha, mask)
NamespacesEmgu.CVImage<(Of <(TColor, TDepth>)>)RunningAvg(Image<(Of <(TColor, TDepth>)>), Double, Image<(Of <(Gray, Byte>)>))

www.emgu.com/wiki
Update Running Average. this = (1-alpha)*this + alpha*img, using the mask
Declaration Syntax
C#Visual BasicVisual C++
public void RunningAvg(
	Image<TColor, TDepth> img,
	double alpha,
	Image<Gray, byte> mask
)
Public Sub RunningAvg ( _
	img As Image(Of TColor, TDepth), _
	alpha As Double, _
	mask As Image(Of Gray, Byte) _
)
public:
void RunningAvg(
	Image<TColor, TDepth>^ img, 
	double alpha, 
	Image<Gray, unsigned char>^ mask
)
Parameters
img (Image<(Of <(TColor, TDepth>)>))
Input image, 1- or 3-channel, Byte or Single (each channel of multi-channel image is processed independently).
alpha (Double)
The weight of img
mask (Image<(Of <(Gray, Byte>)>))
The mask for the running average

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.5.0.0 (1.5.0.0)