logAsync function

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

Log calculates the natural logarithm of every array element.

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

Implementation

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