1.Mat矩阵初始赋值

image.png
2.矩阵转置t()
Mat m = Mat::eye(2,3,CV_32FC1);
cout<<"m = \n "<<m<<endl;
Mat mt = m.t();
cout<<"mt = \n "<<mt<<endl;
3.矩阵求逆inv()

image.png
Mat m = Mat::eye(2,3,CV_32FC1);
cout<<"m = \n "<<m<<endl;
Mat mt = m.t();
cout<<"mt = \n "<<mt<<endl;