Commit 1692ee9a authored by oscar's avatar oscar

提交更新

parent 7d1a09fc
......@@ -154,7 +154,7 @@ void get_camera_tolidar_loc(float u, float v, float& x, float& y)
float camera[1][5] = { -3.0546708753769027e+00, 2.8235384675530199e+01,1.5164164709152357e-02, -1.4151304833353489e-04,-5.3523523223247594e+02 }; //摄像机内参数矩阵K
cv::Mat cameraMatrix = cv::Mat(1, 5, CV_32FC1, camera); //内参数K Mat类型变量
float dist[3][3] = { 1.1775635693883434e+04, 0.0, 9.6852512890598337e+02,0.0,4.3425255703581051e+03, 5.4191193116052807e+02,0.0, 0.0, 1.0 }
cv::Mat distCoeffs = cvMat(3, 3, CV_32FC1, camera);
cv::Mat distCoeffs = cv::Mat(3, 3, CV_32FC1, camera);
std::vector<cv::Point2f> inputDistortedPoints;
std::vector<cv::Point2f> outputUndistortedPoints;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment