Click or drag to resize

ImageTColor, TDepthAddWeighted Method

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

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public Image<TColor, TDepth> AddWeighted(
	Image<TColor, TDepth> img2,
	double alpha,
	double beta,
	double gamma
)

Parameters

img2
Type: Emgu.CVImageTColor, TDepth
img2 in: res = this * alpha + img2 * beta + gamma
alpha
Type: SystemDouble
alpha in: res = this * alpha + img2 * beta + gamma
beta
Type: SystemDouble
beta in: res = this * alpha + img2 * beta + gamma
gamma
Type: SystemDouble
gamma in: res = this * alpha + img2 * beta + gamma

Return Value

Type: ImageTColor, TDepth
this * alpha + img2 * beta + gamma
See Also