add function
Add calculates the per-element sum of two arrays or an array and a scalar.
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga10ac1bfb180e2cfda1701d06c24fdbd6
Implementation
Mat add(Mat src1, Mat src2, {Mat? dst, int dtype = -1, Mat? mask}) {
dst ??= Mat.empty();
mask ??= Mat.empty();
cvRun(() => cffi.Mat_Add(src1.ref, src2.ref, dst!.ref, mask!.ref, dtype));
return dst;
}