t method
Transposes a matrix.
The method performs matrix transposition by means of matrix expressions. It does not perform the actual transposition but returns a temporary matrix transposition object that can be further used as a part of more complex matrix expressions or can be assigned to a matrix:
https://docs.opencv.org/4.x/d3/d63/classcv_1_1Mat.html#aaa428c60ccb6d8ea5de18f63dfac8e11
Implementation
Mat t() {
final dst = Mat.empty();
cvRun(() => ccore.cv_Mat_t(ref, dst.ptr, ffi.nullptr));
return dst;
}