Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » OpenCV » Motion Analysis and Object Tracking » cvAccumulateProduct

cvAccumulateProduct


Module: OpenCV

Adds the per-element product of two input images to the accumulator.

Name Type Description
inSrc1 Image First input image.
inSrc2 Image Second input image of the same type as src1.
inDst Image Accumulator with the same number of channels as input images and REAL pixel type.
inMask Region* Operation mask.
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 inSrc1 and must be REAL type in cvAccumulateProduct.
DomainError inSrc1 image must be 1- or 3-channel and UINT8 or REAL type in cvAccumulateProduct.
DomainError inSrc2 image must have the same number of channels and the same pixel's type as inSrc2 in cvAccumulateProduct.

Complexity Level

This filter is available on Basic Complexity Level.