Calculates weighted sum of input image image and the accumulator acc so that acc becomes a running average of frame sequence:
acc(x,y)=(1-α)•acc(x,y) + α•image(x,y) if mask(x,y)!=null
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- image
- Type: OpenCvSharpCvArr
Input image, 1- or 3-channel, 8-bit or 32-bit floating point (each channel of multi-channel image is processed independently). - acc
- Type: OpenCvSharpCvArr
Accumulator of the same number of channels as input image, 32-bit or 64-bit floating-point. - alpha
- Type: SystemDouble
Weight of input image.
See Also