| 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
)
Public Shared Sub BlendLinear (
src1 As InputArray,
src2 As InputArray,
weights1 As InputArray,
weights2 As InputArray,
dst As OutputArray
)
public:
static void BlendLinear(
InputArray^ src1,
InputArray^ src2,
InputArray^ weights1,
InputArray^ weights2,
OutputArray^ dst
)
static member BlendLinear :
src1 : InputArray *
src2 : InputArray *
weights1 : InputArray *
weights2 : InputArray *
dst : OutputArray -> unit
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