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 (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static void cvAddWeighted(
	IntPtr src1,
	double alpha,
	IntPtr src2,
	double beta,
	double gamma,
	IntPtr dst
)
Visual Basic
Public Shared Sub cvAddWeighted ( 
	src1 As IntPtr,
	alpha As Double,
	src2 As IntPtr,
	beta As Double,
	gamma As Double,
	dst As IntPtr
)
Visual C++
public:
static void cvAddWeighted(
	IntPtr src1, 
	double alpha, 
	IntPtr src2, 
	double beta, 
	double gamma, 
	IntPtr dst
)
F#
static member cvAddWeighted : 
        src1 : IntPtr * 
        alpha : float * 
        src2 : IntPtr * 
        beta : float * 
        gamma : float * 
        dst : IntPtr -> unit 

Parameters

src1
Type: System..::..IntPtr
The first source array.
alpha
Type: System..::..Double
Weight of the first array elements.
src2
Type: System..::..IntPtr
The second source array.
beta
Type: System..::..Double
Weight of the second array elements.
gamma
Type: System..::..Double
Scalar, added to each sum.
dst
Type: System..::..IntPtr
The destination array.

See Also