[−][src]Function opencv::imgproc::accumulate
pub fn accumulate(
src: &dyn ToInputArray,
dst: &mut dyn ToInputOutputArray,
mask: &dyn ToInputArray
) -> Result<()>
Adds an image to the accumulator image.
The function adds src or some of its elements to dst :
The function supports multi-channel images. Each channel is processed independently.
The function cv::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.
Parameters
- src: Input image of type CV_8UC(n), CV_16UC(n), CV_32FC(n) or CV_64FC(n), where n is a positive integer.
- dst: %Accumulator image with the same number of channels as input image, and a depth of CV_32F or CV_64F.
- mask: Optional operation mask.
See also
accumulateSquare, accumulateProduct, accumulateWeighted
C++ default parameters
- mask: noArray()