美文网首页
OpenCV:Mat矩阵初始赋值&转置*逆

OpenCV:Mat矩阵初始赋值&转置*逆

作者: AI秘籍 | 来源:发表于2020-03-05 18:56 被阅读0次

    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

    4参考:

    1. https://blog.csdn.net/weixin_42587961/article/details/97130305

    相关文章

      网友评论

          本文标题:OpenCV:Mat矩阵初始赋值&转置*逆

          本文链接:https://www.haomeiwen.com/subject/njjcrhtx.html