Click or drag to resize
CvInvokeAddWeighted Method
http://www.emgu.com
Calculated weighted sum of two arrays as following: dst(I)=src1(I)*alpha+src2(I)*beta+gamma All the arrays must have the same type and the same size (or ROI size)

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax
public static void AddWeighted(
	IInputArray src1,
	double alpha,
	IInputArray src2,
	double beta,
	double gamma,
	IOutputArray dst,
	DepthType dtype = DepthType.Default
)

Parameters

src1
Type: Emgu.CVIInputArray
The first source array.
alpha
Type: SystemDouble
Weight of the first array elements.
src2
Type: Emgu.CVIInputArray
The second source array.
beta
Type: SystemDouble
Weight of the second array elements.
gamma
Type: SystemDouble
Scalar, added to each sum.
dst
Type: Emgu.CVIOutputArray
The destination array.
dtype (Optional)
Type: Emgu.CV.CvEnumDepthType
Optional depth of the output array; when both input arrays have the same depth
See Also