[][src]Function opencv::imgproc::accumulate_product

pub fn accumulate_product(
    src1: &dyn ToInputArray,
    src2: &dyn ToInputArray,
    dst: &mut dyn ToInputOutputArray,
    mask: &dyn ToInputArray
) -> Result<()>

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

The function adds the product of two images or their selected regions to the accumulator dst :

block formula

The function supports multi-channel images. Each channel is processed independently.

Parameters

  • src1: First input image, 1- or 3-channel, 8-bit or 32-bit floating point.
  • src2: Second input image of the same type and the same size as src1 .
  • dst: %Accumulator image with the same number of channels as input images, 32-bit or 64-bit floating-point.
  • mask: Optional operation mask.

See also

accumulate, accumulateSquare, accumulateWeighted

C++ default parameters

  • mask: noArray()