Home
last modified time | relevance | path

Searched refs:point2d_vec (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/
DPnPProblem.cpp185 cv::Mat point2d_vec = cv::Mat(4, 1, CV_64FC1); in backproject3DPoint() local
186 point2d_vec = _A_matrix * _P_matrix * point3d_vec; in backproject3DPoint()
190 point2d.x = (float)(point2d_vec.at<double>(0) / point2d_vec.at<double>(2)); in backproject3DPoint()
191 point2d.y = (float)(point2d_vec.at<double>(1) / point2d_vec.at<double>(2)); in backproject3DPoint()
207 cv::Mat point2d_vec = cv::Mat::ones(3, 1, CV_64F); // 3x1 in backproject2DPoint() local
208 point2d_vec.at<double>(0) = u * lambda; in backproject2DPoint()
209 point2d_vec.at<double>(1) = v * lambda; in backproject2DPoint()
210 point2d_vec.at<double>(2) = lambda; in backproject2DPoint()
213 cv::Mat X_c = _A_matrix.inv() * point2d_vec ; // 3x1 in backproject2DPoint()
/external/opencv3/doc/tutorials/calib3d/real_time_pose/
Dreal_time_pose.markdown522 cv::Mat point2d_vec = cv::Mat(4, 1, CV_64FC1);
523 point2d_vec = _A_matrix * _P_matrix * point3d_vec;
527 point2d.x = point2d_vec.at<double>(0) / point2d_vec.at<double>(2);
528 point2d.y = point2d_vec.at<double>(1) / point2d_vec.at<double>(2);