reshapeAsync method

Future<Mat> reshapeAsync(
  1. int cn, [
  2. int rows = 0
])

Implementation

Future<Mat> reshapeAsync(int cn, [int rows = 0]) async {
  final dst = Mat.empty();
  return cvRunAsync0<Mat>(
    (callback) => ccore.cv_Mat_reshape(ref, cn, rows, dst.ptr, callback),
    (c) => c.complete(dst),
  );
}