CvInvokeAccumulateWeighted Method |
http://www.emgu.com
Calculates weighted sum of input src and the accumulator acc so that acc becomes a running average of frame sequence:
acc(x,y)=(1-alpha) * acc(x,y) + alpha * image(x,y) if mask(x,y)!=0
where alpha regulates update speed (how fast accumulator forgets about previous frames).
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic static void AccumulateWeighted(
IInputArray src,
IInputOutputArray dst,
double alpha,
IInputArray mask = null
)
Public Shared Sub AccumulateWeighted (
src As IInputArray,
dst As IInputOutputArray,
alpha As Double,
Optional mask As IInputArray = Nothing
)
public:
static void AccumulateWeighted(
IInputArray^ src,
IInputOutputArray^ dst,
double alpha,
IInputArray^ mask = nullptr
)
static member AccumulateWeighted :
src : IInputArray *
dst : IInputOutputArray *
alpha : float *
?mask : IInputArray
(* Defaults:
let _mask = defaultArg mask null
*)
-> unit
Parameters
- src
- Type: Emgu.CVIInputArray
Input image, 1- or 3-channel, 8-bit or 32-bit floating point (each channel of multi-channel image is processed independently). - dst
- Type: Emgu.CVIInputOutputArray
Accumulator of the same number of channels as input image, 32-bit or 64-bit floating-point. - alpha
- Type: SystemDouble
Weight of input image - mask (Optional)
- Type: Emgu.CVIInputArray
Optional operation mask
See Also