http://www.emgu.com
Calculates weighted sum of input 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).

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

Syntax

C#
public static void cvRunningAvg(
	IntPtr image,
	IntPtr acc,
	double alpha,
	IntPtr mask
)
Visual Basic
Public Shared Sub cvRunningAvg ( 
	image As IntPtr,
	acc As IntPtr,
	alpha As Double,
	mask As IntPtr
)
Visual C++
public:
static void cvRunningAvg(
	IntPtr image, 
	IntPtr acc, 
	double alpha, 
	IntPtr mask
)
F#
static member cvRunningAvg : 
        image : IntPtr * 
        acc : IntPtr * 
        alpha : float * 
        mask : IntPtr -> unit 

Parameters

image
Type: System..::..IntPtr
Input image, 1- or 3-channel, 8-bit or 32-bit floating point (each channel of multi-channel image is processed independently).
acc
Type: System..::..IntPtr
Accumulator of the same number of channels as input image, 32-bit or 64-bit floating-point.
alpha
Type: System..::..Double
Weight of input image
mask
Type: System..::..IntPtr
Optional operation mask

See Also