expAsync function

Future<Mat> expAsync(
  1. InputArray src, {
  2. OutputArray? dst,
})

Exp calculates the exponent of every array element.

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

Implementation

Future<Mat> expAsync(InputArray src, {OutputArray? dst}) async {
  dst ??= Mat.empty();
  return cvRunAsync0(
    (callback) => ccore.cv_exp(src.ref, dst!.ref, callback),
    (c) {
      return c.complete(dst);
    },
  );
}