Return the weighted sum such that: res = this * alpha + img2 * beta + gamma
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public Image<TColor, TDepth> AddWeighted( Image<TColor, TDepth> img2, double alpha, double beta, double gamma ) |
Visual Basic (Declaration) |
---|
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