convertScaleAbsAsync function

Future<Mat> convertScaleAbsAsync(
  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

Future<Mat> convertScaleAbsAsync(
  InputArray src, {
  OutputArray? dst,
  double alpha = 1,
  double beta = 0,
}) async {
  dst ??= Mat.empty();
  return cvRunAsync0(
    (callback) => ccore.cv_convertScaleAbs(src.ref, dst!.ref, alpha, beta, callback),
    (c) {
      return c.complete(dst);
    },
  );
}