mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 03:30:34 +08:00
Merge pull request #5302 from berak:patch-2
This commit is contained in:
commit
8660d550d3
@ -99,6 +99,7 @@ void PnPProblem::set_P_matrix( const cv::Mat &R_matrix, const cv::Mat &t_matrix)
|
||||
_P_matrix.at<double>(1,2) = R_matrix.at<double>(1,2);
|
||||
_P_matrix.at<double>(2,0) = R_matrix.at<double>(2,0);
|
||||
_P_matrix.at<double>(2,1) = R_matrix.at<double>(2,1);
|
||||
_P_matrix.at<double>(2,2) = R_matrix.at<double>(2,2);
|
||||
_P_matrix.at<double>(0,3) = t_matrix.at<double>(0);
|
||||
_P_matrix.at<double>(1,3) = t_matrix.at<double>(1);
|
||||
_P_matrix.at<double>(2,3) = t_matrix.at<double>(2);
|
||||
|
Loading…
Reference in New Issue
Block a user