Cv2AddWeighted Method OpenCvSharp Class Library
computes weighted sum of two arrays (dst = alpha*src1 + beta*src2 + gamma)

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void AddWeighted(
	InputArray src1,
	double alpha,
	InputArray src2,
	double beta,
	double gamma,
	OutputArray dst,
	int dtype = -1
)

Parameters

src1
Type: OpenCvSharp.CPlusPlusInputArray

[Missing <param name="src1"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.AddWeighted(OpenCvSharp.CPlusPlus.InputArray,System.Double,OpenCvSharp.CPlusPlus.InputArray,System.Double,System.Double,OpenCvSharp.CPlusPlus.OutputArray,System.Int32)"]

alpha
Type: SystemDouble

[Missing <param name="alpha"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.AddWeighted(OpenCvSharp.CPlusPlus.InputArray,System.Double,OpenCvSharp.CPlusPlus.InputArray,System.Double,System.Double,OpenCvSharp.CPlusPlus.OutputArray,System.Int32)"]

src2
Type: OpenCvSharp.CPlusPlusInputArray

[Missing <param name="src2"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.AddWeighted(OpenCvSharp.CPlusPlus.InputArray,System.Double,OpenCvSharp.CPlusPlus.InputArray,System.Double,System.Double,OpenCvSharp.CPlusPlus.OutputArray,System.Int32)"]

beta
Type: SystemDouble

[Missing <param name="beta"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.AddWeighted(OpenCvSharp.CPlusPlus.InputArray,System.Double,OpenCvSharp.CPlusPlus.InputArray,System.Double,System.Double,OpenCvSharp.CPlusPlus.OutputArray,System.Int32)"]

gamma
Type: SystemDouble

[Missing <param name="gamma"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.AddWeighted(OpenCvSharp.CPlusPlus.InputArray,System.Double,OpenCvSharp.CPlusPlus.InputArray,System.Double,System.Double,OpenCvSharp.CPlusPlus.OutputArray,System.Int32)"]

dst
Type: OpenCvSharp.CPlusPlusOutputArray

[Missing <param name="dst"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.AddWeighted(OpenCvSharp.CPlusPlus.InputArray,System.Double,OpenCvSharp.CPlusPlus.InputArray,System.Double,System.Double,OpenCvSharp.CPlusPlus.OutputArray,System.Int32)"]

dtype (Optional)
Type: SystemInt32

[Missing <param name="dtype"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.AddWeighted(OpenCvSharp.CPlusPlus.InputArray,System.Double,OpenCvSharp.CPlusPlus.InputArray,System.Double,System.Double,OpenCvSharp.CPlusPlus.OutputArray,System.Int32)"]

See Also

Reference