convertScaleAbs function

Mat convertScaleAbs(
  1. InputArray src, {
  2. OutputArray? dst,
  3. double alpha = 1,
  4. double beta = 0,
})

ConvertScaleAbs scales, calculates absolute values, and converts the result to 8-bit.

For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga3460e9c9f37b563ab9dd550c4d8c4e7d

Implementation

Mat convertScaleAbs(
  InputArray src, {
  OutputArray? dst,
  double alpha = 1,
  double beta = 0,
}) {
  dst ??= Mat.empty();
  cvRun(() => ccore.cv_convertScaleAbs(src.ref, dst!.ref, alpha, beta, ffi.nullptr));
  return dst;
}