Click or drag to resize

Cv2BlendLinear Method

Performs linear blending of two images: dst(i,j) = weights1(i,j)*src1(i,j) + weights2(i,j)*src2(i,j)

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void BlendLinear(
	InputArray src1,
	InputArray src2,
	InputArray weights1,
	InputArray weights2,
	OutputArray dst
)

Parameters

src1
Type: OpenCvSharpInputArray
It has a type of CV_8UC(n) or CV_32FC(n), where n is a positive integer.
src2
Type: OpenCvSharpInputArray
It has the same type and size as src1.
weights1
Type: OpenCvSharpInputArray
It has a type of CV_32FC1 and the same size with src1.
weights2
Type: OpenCvSharpInputArray
It has a type of CV_32FC1 and the same size with src1.
dst
Type: OpenCvSharpOutputArray
It is created if it does not have the same size and type with src1.
See Also