transposeNDAsync function
Transpose for n-dimensional matrices.
Input should be continuous single-channel matrix.
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga46630ed6c0ea6254a35f447289bd7404
Implementation
Future<Mat> transposeNDAsync(InputArray src, List<int> order, {OutputArray? dst}) async {
dst ??= Mat.empty();
return cvRunAsync0(
(callback) => ccore.cv_transposeND(src.ref, dst!.ref, order.i32.ref, callback),
(c) {
return c.complete(dst);
},
);
}