Method BlendLinear
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
BlendLinear(InputArray, InputArray, InputArray, InputArray, OutputArray)
Performs linear blending of two images: dst(i,j) = weights1(i,j)*src1(i,j) + weights2(i,j)*src2(i,j)
public static void BlendLinear(InputArray src1, InputArray src2, InputArray weights1, InputArray weights2, OutputArray dst)
Parameters
src1InputArrayIt has a type of CV_8UC(n) or CV_32FC(n), where n is a positive integer.
src2InputArrayIt has the same type and size as src1.
weights1InputArrayIt has a type of CV_32FC1 and the same size with src1.
weights2InputArrayIt has a type of CV_32FC1 and the same size with src1.
dstOutputArrayIt is created if it does not have the same size and type with src1.