1.Mat矩阵初始赋值
image.png2.矩阵转置t()
Mat m = Mat::eye(2,3,CV_32FC1);
cout<<"m = \n "<<m<<endl;
Mat mt = m.t();
cout<<"mt = \n "<<mt<<endl;
Mat m = Mat::eye(2,3,CV_32FC1);
cout<<"m = \n "<<m<<endl;
Mat mt = m.t();
cout<<"mt = \n "<<mt<<endl;
本文标题:OpenCV:Mat矩阵初始赋值&转置*逆
本文链接:https://www.haomeiwen.com/subject/njjcrhtx.html
网友评论