transpose function
Transpose transposes a matrix.
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga46630ed6c0ea6254a35f447289bd7404
Implementation
Mat transpose(InputArray src, {OutputArray? dst}) {
dst ??= Mat.empty();
cvRun(() => ccore.cv_transpose(src.ref, dst!.ref, ffi.nullptr));
return dst;
}