Start » Filter Reference » OpenCV » Motion Analysis and Object Tracking » cvAccumulateWeighted

cvAccumulateWeighted


Module: OpenCV

Updates the running average.

Name Type Range Description
Input value
inSrc Image Input image.
Input value
inDst Image Accumulator with the same number of channels as input images and REAL pixel type.
Input value
inAlpha Real 0.0 - 1.0 Weight of the input image.
Input value
inMask Region* Operation mask.
Output value
outDst Image Output image.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError inDst image must have the same number of channels as inSrc and must be REAL type in cvAccumulateWeighted.
DomainError inSrc image must be 1- or 3-channel and UINT8 or REAL type in cvAccumulateWeighted.

Complexity Level

This filter is available on Basic Complexity Level.