cv.accumulateSquare - MATLAB File Help
cv.accumulateSquare

Adds the square of a source image to the accumulator image

dst = cv.accumulateSquare(src, dst)
dst = cv.accumulateSquare(src, dst, 'OptionName',optionValue, ...)

Input

Output

Options

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.

See also