Computes the per-element sum of two arrays or an array and a scalar.
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void Add( InputArray src1, InputArray src2, OutputArray dst, InputArray mask = null, int dtype = -1 )
Parameters
- src1
- Type: OpenCvSharp.CPlusPlusInputArray
The first source array - src2
- Type: OpenCvSharp.CPlusPlusInputArray
The second source array. It must have the same size and same type as src1 - dst
- Type: OpenCvSharp.CPlusPlusOutputArray
The destination array; it will have the same size and same type as src1 - mask (Optional)
- Type: OpenCvSharp.CPlusPlusInputArray
The optional operation mask, 8-bit single channel array; specifies elements of the destination array to be changed. [By default this is null] - dtype (Optional)
- Type: SystemInt32
[Missing <param name="dtype"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.Add(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.InputArray,System.Int32)"]
See Also