http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
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.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
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 ) |
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.