Update Running Average. this = (1-alpha)*this + alpha*img

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

Syntax

C#
public void RunningAvg(
	Image<TColor, TDepth> img,
	double alpha
)
Visual Basic (Declaration)
Public Sub RunningAvg ( _
	img As Image(Of TColor, TDepth), _
	alpha As Double _
)
Visual C++
public:
void RunningAvg(
	Image<TColor, TDepth>^ img, 
	double alpha
)

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

See Also