transposeAsync function

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

Transpose transposes a matrix.

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

Implementation

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