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.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
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