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)
Syntaxpublic Image<TColor, TDepth> AddWeighted(
Image<TColor, TDepth> img2,
double alpha,
double beta,
double gamma
)
Public Function AddWeighted (
img2 As Image(Of TColor, TDepth),
alpha As Double,
beta As Double,
gamma As Double
) As Image(Of TColor, TDepth)
public:
Image<TColor, TDepth>^ AddWeighted(
Image<TColor, TDepth>^ img2,
double alpha,
double beta,
double gamma
)
member AddWeighted :
img2 : Image<'TColor, 'TDepth> *
alpha : float *
beta : float *
gamma : float -> Image<'TColor, 'TDepth>
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,
TDepththis * alpha + img2 * beta + gamma
See Also