MATLAB File Help: cv.accumulate | Index |
Adds an image to the accumulator
dst = cv.accumulate(src, dst)
dst = cv.accumulate(src, dst, 'OptionName',optionValue, ...)
The function adds src
or some of its elements to dst
:
dst(x,y) = dst(x,y) + src(x,y) if mask(x,y)~=0
The function supports multi-channel images. Each channel is processed independently.
The functions accumulate* can be used, for example, to collect statistics of a scene background viewed by a still camera and for the further foreground-background segmentation.