cv.accumulateProduct - MATLAB File Help |
Adds the per-element product of two input images to the accumulator
dst = cv.accumulateProduct(src1, src2, dst)
dst = cv.accumulateProduct(src1, src2, dst, 'OptionName',optionValue, ...)
uint8
, uint16
, single
, or
double
, with any number of channelssrc1
.single
or double
.The function adds the product of two images or their selected regions to the
accumulator dst
:
dst(x,y) = dst(x,y) + src1(x,y)*src2(x,y) if mask(x,y)~=0
The function supports multi-channel images. Each channel is processed independently.