MATLAB File Help: cv.accumulateSquare | Index |
Adds the square of a source image to the accumulator
dst = cv.accumulateSquare(src, dst)
dst = cv.accumulateSquare(src, dst, 'OptionName',optionValue, ...)
The function adds the input image src
or its selected region, raised to a
power of 2, to the accumulator dst
:
dst(x,y) = dst(x,y) + src(x,y)^2 if mask(x,y)~=0
The function supports multi-channel images. Each channel is processed independently.