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

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

Syntax

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

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

See Also