Emgu CV Library Documentation
cvRunningAvg Method (image, acc, alpha, mask)
NamespacesEmgu.CVCvInvokecvRunningAvg(IntPtr, IntPtr, Double, IntPtr)

www.emgu.com/wiki
Calculates weighted sum of input image image and the accumulator acc so that acc becomes a running average of frame sequence: acc(x,y)=(1-alpha) * acc(x,y) + alpha * image(x,y) if mask(x,y)!=0 where alpha regulates update speed (how fast accumulator forgets about previous frames).
Declaration Syntax
C#Visual BasicVisual C++
public static void cvRunningAvg(
	IntPtr image,
	IntPtr acc,
	double alpha,
	IntPtr mask
)
Public Shared Sub cvRunningAvg ( _
	image As IntPtr, _
	acc As IntPtr, _
	alpha As Double, _
	mask As IntPtr _
)
public:
static void cvRunningAvg(
	IntPtr image, 
	IntPtr acc, 
	double alpha, 
	IntPtr mask
)
Parameters
image (IntPtr)
Input image, 1- or 3-channel, 8-bit or 32-bit floating point (each channel of multi-channel image is processed independently).
acc (IntPtr)
Accumulator of the same number of channels as input image, 32-bit or 64-bit floating-point.
alpha (Double)
Weight of input image
mask (IntPtr)
Optional operation mask

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