max function
Max calculates per-element maximum 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#gacc40fa15eac0fb83f8ca70b7cc0b588d
Implementation
Mat max(InputArray src1, InputArray src2, {OutputArray? dst}) {
dst ??= Mat.empty();
cvRun(() => ccore.cv_max(src1.ref, src2.ref, dst!.ref, ffi.nullptr));
return dst;
}