发布时间:2019-08-28 06:11:22
下面是我的代码和结果,没有问题,代码主题部分就是复制的你上面的
12345678910111213#include "stdafx.h"#include <opencv2/opencv.hpp> using namespace cv;using namespace std; int _tmain(int argc, _TCHAR* argv[]){ Mat R=Mat_<double>::eye(3, 3),T = Mat_<double>::zeros(3, 1); cout << "R = " << R << "\n"; cout <<"T = " << T << "\n"; return 0;}