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.10.1935 (2.4.10.1935)

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
)
F#
member AddWeighted : 
        img2 : Image<'TColor, 'TDepth> * 
        alpha : float * 
        beta : float * 
        gamma : float -> Image<'TColor, 'TDepth> 

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

Type: Image<(Of <(<'TColor, TDepth>)>)>
this * alpha + img2 * beta + gamma

See Also