http://www.emgu.com
Computes the weighted sum of two arrays (dst = alpha*src1 + beta*src2 + gamma)

Namespace: Emgu.CV.GPU
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public static void AddWeighted(
	IntPtr src1,
	double alpha,
	IntPtr src2,
	double beta,
	double gamma,
	IntPtr dst,
	IntPtr stream
)
Visual Basic
Public Shared Sub AddWeighted ( _
	src1 As IntPtr, _
	alpha As Double, _
	src2 As IntPtr, _
	beta As Double, _
	gamma As Double, _
	dst As IntPtr, _
	stream As IntPtr _
)
Visual C++
public:
static void AddWeighted(
	IntPtr src1, 
	double alpha, 
	IntPtr src2, 
	double beta, 
	double gamma, 
	IntPtr dst, 
	IntPtr stream
)

Parameters

src1
Type: System..::..IntPtr
The first source GpuMat
alpha
Type: System..::..Double
The weight for src1
src2
Type: System..::..IntPtr
The second source GpuMat
beta
Type: System..::..Double
The weight for src2
gamma
Type: System..::..Double
The constant to be added
dst
Type: System..::..IntPtr
The result
stream
Type: System..::..IntPtr
Use a Stream to call the function asynchronously (non-blocking) or IntPtr.Zero to call the function synchronously (blocking).

See Also