Lines Matching defs:tvec
70 cv::Mat tvec = randomMat(cv::Size(3, 1), CV_32F, 0, 1);
73 cv::cuda::transformPoints(loadMat(src), rvec, tvec, dst);
89 rot.at<float>(0, 0) * p.x + rot.at<float>(0, 1) * p.y + rot.at<float>(0, 2) * p.z + tvec.at<float>(0, 0),
90 rot.at<float>(1, 0) * p.x + rot.at<float>(1, 1) * p.y + rot.at<float>(1, 2) * p.z + tvec.at<float>(0, 1),
91 rot.at<float>(2, 0) * p.x + rot.at<float>(2, 1) * p.y + rot.at<float>(2, 2) * p.z + tvec.at<float>(0, 2));
118 cv::Mat tvec = randomMat(cv::Size(3, 1), CV_32F, 0, 1);
126 cv::cuda::projectPoints(loadMat(src), rvec, tvec, camera_mat, cv::Mat(), dst);
132 cv::projectPoints(src, rvec, tvec, camera_mat, cv::Mat(1, 8, CV_32F, cv::Scalar::all(0)), dst_gold);
180 cv::Mat rvec, tvec;
184 rvec, tvec, false, 200, 2.f, 100, &inliers);
187 ASSERT_LE(cv::norm(tvec - tvec_gold), 1e-3);