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)
Syntaxpublic void AccumulateWeighted(
Image<TColor, TDepth> img,
double alpha,
Image<Gray, byte> mask
)
Public Sub AccumulateWeighted (
img As Image(Of TColor, TDepth),
alpha As Double,
mask As Image(Of Gray, Byte)
)
public:
void AccumulateWeighted(
Image<TColor, TDepth>^ img,
double alpha,
Image<Gray, unsigned char>^ mask
)
member AccumulateWeighted :
img : Image<'TColor, 'TDepth> *
alpha : float *
mask : Image<Gray, byte> -> unit
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