pub fn accumulate_product(
src1: &impl ToInputArray,
src2: &impl ToInputArray,
dst: &mut impl ToInputOutputArray,
mask: &impl ToInputArray,
) -> Result<()>Expand description
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 :
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()