| cv.accumulateSquare - MATLAB File Help |
Adds the square of a source image to the accumulator image
dst = cv.accumulateSquare(src, dst)
dst = cv.accumulateSquare(src, dst, 'OptionName',optionValue, ...)
uint8, uint16, single, or double, with
any number of channelssingle or double.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.