Mat transpose({bool inplace = false}) { final dst = inplace ? this : Mat.empty(); cvRun(() => cffi.Mat_Transpose(ref, dst.ref)); return dst; }