cv.multiply - MATLAB File Help |
Calculates the per-element scaled product of two arrays
dst = cv.multiply(src1, src2)
dst = cv.multiply(src1, src2, 'OptionName',optionValue, ...)
src1
.src1
.uint8
, int16
, double
,
etc. default -1The function cv.multiply calculates the per-element product of two arrays:
dst(I) = saturate(scale*src1(I) * src2(I))
Note: Saturation is not applied when the output array has the depth int32
.
You may even get result of an incorrect sign in the case of overflow.