Lines Matching refs:tvec
102 void generatePose(Mat& rvec, Mat& tvec, RNG& rng) in generatePose() argument
107 tvec.create(3, 1, CV_64FC1); in generatePose()
111 tvec.at<double>(i,0) = rng.uniform(minVal, maxVal/10); in generatePose()
117 Mat rvec, tvec; in runTest() local
140 solvePnPRansac(points, projectedPoints, intrinsics, distCoeffs, rvec, tvec, in runTest()
145 double rvecDiff = norm(rvec-trueRvec), tvecDiff = norm(tvec-trueTvec); in runTest()
213 Mat rvec, tvec; in runTest() local
240 solvePnP(opoints, projectedPoints, intrinsics, distCoeffs, rvec, tvec, in runTest()
243 double rvecDiff = norm(rvec-trueRvec), tvecDiff = norm(tvec-trueTvec); in runTest()
294 Mat tvec; in TEST() local
299 solvePnPRansac(object, image, camera_mat, dist_coef, rvec, tvec); in TEST()
363 Mat tvec; in TEST() local
365 tvec = (Mat_<float>(3,1) << 100, 100, 0); in TEST()
367 solvePnP(p3d, p2d, cameraIntrinsic, noArray(), rvec, tvec, true); in TEST()
369 ASSERT_TRUE(checkRange(tvec)); in TEST()
372 tvec = (Mat_<double>(3,1) << 100, 100, 0); in TEST()
373 solvePnP(p3d, p2d, cameraIntrinsic, noArray(), rvec, tvec, true); in TEST()
375 ASSERT_TRUE(checkRange(tvec)); in TEST()
377 solvePnP(p3d, p2d, cameraIntrinsic, noArray(), rvec, tvec, false); in TEST()
379 ASSERT_TRUE(checkRange(tvec)); in TEST()