Method Add
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Add(InputArray, InputArray, OutputArray, InputArray, int)
Computes the per-element sum of two arrays or an array and a scalar.
public static void Add(InputArray src1, InputArray src2, OutputArray dst, InputArray mask = default, int dtype = -1)
Parameters
src1InputArrayThe first source array
src2InputArrayThe second source array. It must have the same size and same type as src1
dstOutputArrayThe destination array; it will have the same size and same type as src1
maskInputArrayThe optional operation mask, 8-bit single channel array; specifies elements of the destination array to be changed. [By default this is skipped]
dtypeint