absDiff function
AbsDiff calculates the per-element absolute difference between two arrays or between an array and a scalar.
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga6fef31bc8c4071cbc114a758a2b79c14
Implementation
Mat absDiff(Mat src1, Mat src2, [Mat? dst]) {
dst ??= Mat.empty();
cvRun(() => cffi.Mat_AbsDiff(src1.ref, src2.ref, dst!.ref));
return dst;
}