transformAsync function

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

Transform performs the matrix transformation of every array element.

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

Implementation

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