Click or drag to resize

Cv2AddWeighted Method

computes weighted sum of two arrays (dst = alpha*src1 + beta*src2 + gamma)

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.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: OpenCvSharpInputArray

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

alpha
Type: SystemDouble

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

src2
Type: OpenCvSharpInputArray

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

beta
Type: SystemDouble

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

gamma
Type: SystemDouble

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

dst
Type: OpenCvSharpOutputArray

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

dtype (Optional)
Type: SystemInt32

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

See Also