CudaInvokeAddWeighted Method |
http://www.emgu.com
Computes the weighted sum of two arrays (dst = alpha*src1 + beta*src2 + gamma)
Namespace:
Emgu.CV.Cuda
Assembly:
Emgu.CV.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
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
Optional depth of the output array. - 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