HomeSort by relevance Sort by last modified time
    Searched defs:tvec (Results 1 - 18 of 18) sorted by null

  /external/opencv3/modules/cudalegacy/perf/
perf_calib3d.cpp 67 const cv::Mat tvec = cv::Mat::ones(1, 3, CV_32FC1); local
75 TEST_CYCLE() cv::cuda::projectPoints(d_src, rvec, tvec, camera_mat, cv::Mat(), dst);
83 TEST_CYCLE() cv::projectPoints(src, rvec, tvec, camera_mat, cv::noArray(), dst);
123 cv::Mat tvec; local
127 TEST_CYCLE() cv::cuda::solvePnPRansac(object, image, camera_mat, dist_coef, rvec, tvec);
130 CUDA_SANITY_CHECK(tvec, 1e-3);
134 TEST_CYCLE() cv::solvePnPRansac(object, image, camera_mat, dist_coef, rvec, tvec);
137 CPU_SANITY_CHECK(tvec, 1e-6);
  /external/opencv3/modules/calib3d/perf/
perf_pnp.cpp 33 Mat tvec = Mat::zeros(3, 1, CV_32FC1); local
44 warmup(tvec, WARMUP_RNG);
46 projectPoints(points3d, rvec, tvec, intrinsics, distortion, points2d);
58 solvePnP(points3d, points2d, intrinsics, distortion, rvec, tvec, false, algo);
62 SANITY_CHECK(tvec, 1e-6);
80 Mat tvec = Mat::zeros(3, 1, CV_32FC1); local
91 warmup(tvec, WARMUP_RNG);
93 projectPoints(points3d, rvec, tvec, intrinsics, distortion, points2d);
105 solvePnP(points3d, points2d, intrinsics, distortion, rvec, tvec, false, algo);
109 SANITY_CHECK(tvec, 1e-2)
140 Mat tvec; local
    [all...]
  /external/opencv3/modules/calib3d/test/
test_chessboardgenerator.hpp 34 Mat rvec, tvec; member in class:cv::ChessBoardGenerator
test_chessboardgenerator.cpp 55 patternSize(_patternSize), rendererResolutionMultiplier(4), tvec(Mat::zeros(1, 3, CV_32F))
131 projectPoints(Mat(pts_square3d), rvec, tvec, camMat, distCoeffs, pts_square2d); local
144 projectPoints(Mat(corners3d), rvec, tvec, camMat, distCoeffs, corners); local
152 projectPoints(Mat(whole3d), rvec, tvec, camMat, distCoeffs, whole2d); local
218 projectPoints(Mat(pts3d), rvec, tvec, camMat, distCoeffs, pts2d); local
283 projectPoints(Mat(pts3d), rvec, tvec, camMat, distCoeffs, pts2d); local
325 projectPoints(Mat(pts3d), rvec, tvec, camMat, distCoeffs, pts2d); local
test_solvepnp_ransac.cpp 102 void generatePose(Mat& rvec, Mat& tvec, RNG& rng)
107 tvec.create(3, 1, CV_64FC1);
111 tvec.at<double>(i,0) = rng.uniform(minVal, maxVal/10);
117 Mat rvec, tvec; local
140 solvePnPRansac(points, projectedPoints, intrinsics, distCoeffs, rvec, tvec,
145 double rvecDiff = norm(rvec-trueRvec), tvecDiff = norm(tvec-trueTvec);
213 Mat rvec, tvec; local
240 solvePnP(opoints, projectedPoints, intrinsics, distCoeffs, rvec, tvec,
243 double rvecDiff = norm(rvec-trueRvec), tvecDiff = norm(tvec-trueTvec);
294 Mat tvec; local
363 Mat tvec; local
    [all...]
test_fisheye.cpp 360 std::vector<cv::Vec3d> tvec; local
363 rvec, tvec, flag, cv::TermCriteria(3, 20, 1e-6));
377 cv::internal::EstimateUncertainties(objectPoints, imagePoints, param, rvec, tvec,
test_cameracalibration_artificial.cpp 174 const Point3d& tvec = *tvecs[i].ptr<Point3d>(); local
177 if (norm(tvec_est - tvec) > eps* (norm(tvec) + dlt))
186 ts->printf( cvtest::TS::LOG, "%d) norm(tvec_est - tvec) = %f, norm(tvec_exp) = %f \n", r, norm(tvec_est - tvec), norm(tvec));
  /external/opencv3/modules/cudalegacy/test/
test_calib3d.cpp 70 cv::Mat tvec = randomMat(cv::Size(3, 1), CV_32F, 0, 1); local
73 cv::cuda::transformPoints(loadMat(src), rvec, tvec, dst); local
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); local
126 cv::cuda::projectPoints(loadMat(src), rvec, tvec, camera_mat, cv::Mat(), dst); local
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; local
184 rvec, tvec, false, 200, 2.f, 100, &inliers)
    [all...]
  /external/opencv3/modules/calib3d/src/
solvepnp.cpp 63 Mat rvec, tvec; local
82 tvec = _tvec.getMat();
97 PnP.compute_pose(R, tvec);
109 result = P3Psolver.solve(R, tvec, opoints, undistortedPoints);
117 CvMat c_rvec = rvec, c_tvec = tvec;
130 Mat R, rvec = _rvec.getMat(), tvec = _tvec.getMat();
131 bool result = PnP.compute_pose(R, tvec);
140 Mat R, rvec = _rvec.getMat(), tvec = _tvec.getMat();
141 PnP.compute_pose(R, tvec);
158 rvec(_rvec), tvec(_tvec) {
208 Mat tvec; member in class:cv::PnPRansacCallback
243 Mat tvec = useExtrinsicGuess ? _tvec.getMat() : Mat(3, 1, CV_64FC1); local
    [all...]
fisheye.cpp 628 Vec3d tvec; local
629 _tvec.getMat().convertTo(tvec, CV_64F);
637 Vec3d t = r_r * tvec;
654 Vec3d tnew = ri2 * tvec;
953 cv::Mat tvec = cv::Mat(tvecs1[image_idx]); local
    [all...]
  /external/opencv3/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/
PnPProblem.cpp 115 cv::Mat tvec = cv::Mat::zeros(3, 1, CV_64FC1); local
120 bool correspondence = cv::solvePnP( list_points3d, list_points2d, _A_matrix, distCoeffs, rvec, tvec,
125 _t_matrix = tvec;
142 cv::Mat tvec = cv::Mat::zeros(3, 1, CV_64FC1); // output translation vector local
144 bool useExtrinsicGuess = false; // if true the function uses the provided rvec and tvec values as
147 cv::solvePnPRansac( list_points3d, list_points2d, _A_matrix, distCoeffs, rvec, tvec,
152 _t_matrix = tvec; // set translation matrix
  /external/opencv3/samples/cpp/
select3dobj.cpp 115 static Point3f image2plane(Point2f imgpt, const Mat& R, const Mat& tvec,
119 R1.col(2) = R1.col(2)*Z + tvec;
127 const Mat& cameraMatrix, const Mat& rvec, const Mat& tvec,
148 projectPoints(Mat(objpt), rvec, tvec, cameraMatrix, Mat(), imgpt); local
199 const Mat& cameraMatrix, const Mat& rvec, const Mat& tvec,
250 projectPoints(Mat(tempobj), rvec, tvec, cameraMatrix, Mat(), tempimg); local
262 box[npt] = image2plane(imgpt[npt], R, tvec, cameraMatrix, npt<3 ? 0 : Z);
284 cameraMatrix, rvec, tvec, box, npt, false);
562 Mat rvec, tvec; local
565 distCoeffs, rvec, tvec, false) local
    [all...]
  /external/opencv3/samples/gpu/performance/
tests.cpp 846 Mat tvec; gen(tvec, 1, 3, CV_32F, 0, 1); local
859 projectPoints(src, rvec, tvec, camera_mat, Mat::zeros(1, 8, CV_32F), dst);
862 projectPoints(src, rvec, tvec, camera_mat, Mat::zeros(1, 8, CV_32F), dst);
867 cuda::projectPoints(d_src, rvec, tvec, camera_mat, Mat(), d_dst);
870 cuda::projectPoints(d_src, rvec, tvec, camera_mat, Mat(), d_dst);
880 Mat rvec, tvec; local
881 cuda::solvePnPRansac(object, image, Mat::eye(3, 3, CV_32F), Mat(), rvec, tvec);
901 Mat rvec, tvec; local
907 solvePnPRansac(object, image, camera_mat, Mat::zeros(1, 8, CV_32F), rvec, tvec, false, num_iters
    [all...]
  /external/opencv3/modules/calib3d/misc/java/test/
Calib3dTest.java 521 Mat tvec = new Mat(); local
522 Calib3d.solvePnP(points3d, points2d, intrinsics, new MatOfDouble(), rvec, tvec);
531 assertMatEqual(truth_tvec, tvec, EPS);
  /external/libgdx/gdx/src/com/badlogic/gdx/math/
Intersector.java 400 Vector3 tvec = i.set(ray.origin).sub(t1); local
401 float u = tvec.dot(pvec) * det;
404 Vector3 qvec = tvec.crs(edge1);
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
RVCVXCheckAnalyzer.java 823 Mat tvec = new MatOfFloat(); local
866 Calib3d.solvePnP(grid, centers, camMat, coeff, rvec, tvec,
878 Calib3d.projectPoints(grid, rvec, tvec, camMat, coeff, reprojCenters);
    [all...]
  /external/opencv3/modules/java/src/
calib3d.cpp 1180 Mat& tvec = *((Mat*)tvec_nativeObj); local
1211 Mat& tvec = *((Mat*)tvec_nativeObj); local
1598 Mat& tvec = *((Mat*)tvec_nativeObj); local
1631 Mat& tvec = *((Mat*)tvec_nativeObj); local
1931 Mat& tvec = *((Mat*)tvec_nativeObj); local
1964 Mat& tvec = *((Mat*)tvec_nativeObj); local
2002 Mat& tvec = *((Mat*)tvec_nativeObj); local
2034 Mat& tvec = *((Mat*)tvec_nativeObj); local
2070 Mat& tvec = *((Mat*)tvec_nativeObj); local
2103 Mat& tvec = *((Mat*)tvec_nativeObj); local
    [all...]
  /cts/apps/CtsVerifier/libs/
opencv3-android.jar 

Completed in 449 milliseconds