CudaInvokeAddWeighted Method |
http://www.emgu.com
Computes the weighted sum of two arrays (dst = alpha*src1 + beta*src2 + gamma)
Namespace: Emgu.CV.CudaAssembly: Emgu.CV.Cuda (in Emgu.CV.Cuda.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic static void AddWeighted(
IInputArray src1,
double alpha,
IInputArray src2,
double beta,
double gamma,
IOutputArray dst,
DepthType depthType = DepthType.Default,
Stream stream = null
)
Public Shared Sub AddWeighted (
src1 As IInputArray,
alpha As Double,
src2 As IInputArray,
beta As Double,
gamma As Double,
dst As IOutputArray,
Optional depthType As DepthType = DepthType.Default,
Optional stream As Stream = Nothing
)
public:
static void AddWeighted(
IInputArray^ src1,
double alpha,
IInputArray^ src2,
double beta,
double gamma,
IOutputArray^ dst,
DepthType depthType = DepthType::Default,
Stream^ stream = nullptr
)
static member AddWeighted :
src1 : IInputArray *
alpha : float *
src2 : IInputArray *
beta : float *
gamma : float *
dst : IOutputArray *
?depthType : DepthType *
?stream : Stream
(* Defaults:
let _depthType = defaultArg depthType DepthType.Default
let _stream = defaultArg stream null
*)
-> unit
Parameters
- src1
- Type: Emgu.CVIInputArray
The first source GpuMat - alpha
- Type: SystemDouble
The weight for src1 - src2
- Type: Emgu.CVIInputArray
The second source GpuMat - beta
- Type: SystemDouble
The weight for src2 - gamma
- Type: SystemDouble
The constant to be added - dst
- Type: Emgu.CVIOutputArray
The result - depthType (Optional)
- Type: Emgu.CV.CvEnumDepthType
[Missing <param name="depthType"/> documentation for "M:Emgu.CV.Cuda.CudaInvoke.AddWeighted(Emgu.CV.IInputArray,System.Double,Emgu.CV.IInputArray,System.Double,System.Double,Emgu.CV.IOutputArray,Emgu.CV.CvEnum.DepthType,Emgu.CV.Cuda.Stream)"]
- stream (Optional)
- Type: Emgu.CV.CudaStream
Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).
See Also