http://www.emgu.com
Return the weighted sum such that: res = this * alpha + img2 * beta + gamma

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public Image<TColor, TDepth> AddWeighted(
	Image<TColor, TDepth> img2,
	double alpha,
	double beta,
	double gamma
)
Visual Basic
Public Function AddWeighted ( _
	img2 As Image(Of TColor, TDepth), _
	alpha As Double, _
	beta As Double, _
	gamma As Double _
) As Image(Of TColor, TDepth)
Visual C++
public:
Image<TColor, TDepth>^ AddWeighted(
	Image<TColor, TDepth>^ img2, 
	double alpha, 
	double beta, 
	double gamma
)

Parameters

img2
Type: Emgu.CV..::..Image<(Of <(<'TColor, TDepth>)>)>
img2 in: res = this * alpha + img2 * beta + gamma
alpha
Type: System..::..Double
alpha in: res = this * alpha + img2 * beta + gamma
beta
Type: System..::..Double
beta in: res = this * alpha + img2 * beta + gamma
gamma
Type: System..::..Double
gamma in: res = this * alpha + img2 * beta + gamma

Return Value

this * alpha + img2 * beta + gamma

See Also