http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Update Running Average. this = (1-alpha)*this + alpha*img, using the mask
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public void RunningAvg( Image<TColor, TDepth> img, double alpha, Image<Gray, byte> mask ) |
Visual Basic |
---|
Public Sub RunningAvg ( _ img As Image(Of TColor, TDepth), _ alpha As Double, _ mask As Image(Of Gray, Byte) _ ) |
Visual C++ |
---|
public: void RunningAvg( Image<TColor, TDepth>^ img, double alpha, Image<Gray, unsigned char>^ mask ) |
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
- mask
- Type: Emgu.CV..::..Image<(Of <(<'Gray, Byte>)>)>
The mask for the running average