Table of Contents

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

src1 InputArray

The first source array

src2 InputArray

The second source array. It must have the same size and same type as src1

dst OutputArray

The destination array; it will have the same size and same type as src1

mask InputArray

The optional operation mask, 8-bit single channel array; specifies elements of the destination array to be changed. [By default this is skipped]

dtype int