Adds image to the accumulator.
Parameters: |
|
---|
The function adds src , or some of its elements, to dst :
The function supports multi-channel images; each channel is processed independently.
The functions accumulate* can be used, for example, to collect statistic of background of a scene, viewed by a still camera, for the further foreground-background segmentation.
See also: accumulateSquare() , accumulateProduct() , accumulateWeighted()
Adds the square of the source image to the accumulator.
Parameters: |
|
---|
The function adds the input image src or its selected region, raised to power 2, to the accumulator dst :
The function supports multi-channel images; each channel is processed independently.
See also: accumulateSquare() , accumulateProduct() , accumulateWeighted()
Adds the per-element product of two input images to the accumulator.
Parameters: |
|
---|
The function adds the product of 2 images or their selected regions to the accumulator dst :
The function supports multi-channel images; each channel is processed independently.
See also: accumulate() , accumulateSquare() , accumulateWeighted()
Updates the running average.
Parameters: |
|
---|
The function calculates the weighted sum of the input image src and the accumulator dst so that dst becomes a running average of frame sequence:
that is, alpha regulates the update speed (how fast the accumulator “forgets” about earlier images). The function supports multi-channel images; each channel is processed independently.
See also: accumulate() , accumulateSquare() , accumulateProduct()