www.emgu.com/wiki
Update Running Average. this = (1-alpha)*this + alpha*img, using the mask

Declaration Syntax

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
- mask (Image<(Of <(Gray, Byte>)>))
- The mask for the running average
Assembly:
Emgu.CV (Module: Emgu.CV) Version: 1.3.0.0 (1.3.0.0)