Click or drag to resize

ImageTColor, TDepthAccumulateWeighted Method (ImageTColor, TDepth, Double, ImageGray, Byte)

http://www.emgu.com
Update Running Average. this = (1-alpha)*this + alpha*img, using the mask

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public void AccumulateWeighted(
	Image<TColor, TDepth> img,
	double alpha,
	Image<Gray, byte> mask
)

Parameters

img
Type: Emgu.CVImageTColor, TDepth
Input image, 1- or 3-channel, Byte or Single (each channel of multi-channel image is processed independently).
alpha
Type: SystemDouble
The weight of img
mask
Type: Emgu.CVImageGray, Byte
The mask for the running average
See Also