transposeND function

Mat transposeND(
  1. InputArray src,
  2. List<int> order, {
  3. OutputArray? dst,
})

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

Mat transposeND(InputArray src, List<int> order, {OutputArray? dst}) {
  dst ??= Mat.empty();
  cvRun(() => ccore.cv_transposeND(src.ref, dst!.ref, order.i32.ref, ffi.nullptr));
  return dst;
}