/external/valgrind/none/tests/ |
process_vm_readv_writev.c | 21 struct iovec rvec[2]; local 28 rvec[0].iov_base = rbuf + 1; 29 rvec[0].iov_len = 2; 30 rvec[1].iov_base = rbuf + 4; 31 rvec[1].iov_len = 1; 35 rvec, 2, 57 struct iovec rvec[2]; local 64 rvec[0].iov_base = rbuf + 1; 65 rvec[0].iov_len = 2; 66 rvec[1].iov_base = rbuf + 4 [all...] |
/external/opencv3/modules/calib3d/perf/ |
perf_pnp.cpp | 32 Mat rvec = Mat::zeros(3, 1, CV_32FC1); local 43 warmup(rvec, WARMUP_RNG); 46 projectPoints(points3d, rvec, tvec, intrinsics, distortion, points2d); 58 solvePnP(points3d, points2d, intrinsics, distortion, rvec, tvec, false, algo); 61 SANITY_CHECK(rvec, 1e-6); 79 Mat rvec = Mat::zeros(3, 1, CV_32FC1); local 90 warmup(rvec, WARMUP_RNG); 93 projectPoints(points3d, rvec, tvec, intrinsics, distortion, points2d); 105 solvePnP(points3d, points2d, intrinsics, distortion, rvec, tvec, false, algo); 108 SANITY_CHECK(rvec, 1e-1) 139 Mat rvec; local [all...] |
/external/opencv3/modules/calib3d/src/ |
solvepnp.cpp | 63 Mat rvec, tvec; local 81 rvec = _rvec.getMat(); 98 Rodrigues(R, rvec); 111 Rodrigues(R, rvec); 117 CvMat c_rvec = rvec, c_tvec = tvec; 130 Mat R, rvec = _rvec.getMat(), tvec = _tvec.getMat(); 133 Rodrigues(R, rvec); 140 Mat R, rvec = _rvec.getMat(), tvec = _tvec.getMat(); 142 Rodrigues(R, rvec); 158 rvec(_rvec), tvec(_tvec) { 207 Mat rvec; member in class:cv::PnPRansacCallback 242 Mat rvec = useExtrinsicGuess ? _rvec.getMat() : Mat(3, 1, CV_64FC1); local [all...] |
fisheye.hpp | 26 void ComputeExtrinsicRefine(const Mat& imagePoints, const Mat& objectPoints, Mat& rvec,
|
fisheye.cpp | 65 projectPoints(objectPoints, imagePoints, affine.rvec(), affine.translation(), K, D, alpha, jacobian); 341 cv::Vec3d rvec; local 342 R.getMat().convertTo(rvec, CV_64F); 343 RR = cv::Affine3d(rvec).rotation(); 435 cv::Vec3d rvec; local 436 R.getMat().convertTo(rvec, CV_64F); 437 RR = Affine3d(rvec).rotation(); 618 Vec3d rvec; // Rodrigues vector local 623 rvec = Affine3d(rmat).rvec(); 952 cv::Mat rvec = cv::Mat(rvecs1[image_idx]); local [all...] |
/external/opencv3/modules/cudalegacy/src/ |
calib3d.cpp | 85 void transformPointsCaller(const GpuMat& src, const Mat& rvec, const Mat& tvec, GpuMat& dst, cudaStream_t stream) 88 CV_Assert(rvec.size() == Size(3, 1) && rvec.type() == CV_32F); 93 Rodrigues(rvec, rot); 100 void cv::cuda::transformPoints(const GpuMat& src, const Mat& rvec, const Mat& tvec, GpuMat& dst, Stream& stream) 102 transformPointsCaller(src, rvec, tvec, dst, StreamAccessor::getStream(stream)); 107 void projectPointsCaller(const GpuMat& src, const Mat& rvec, const Mat& tvec, const Mat& camera_mat, const Mat& dist_coef, GpuMat& dst, cudaStream_t stream) 110 CV_Assert(rvec.size() == Size(3, 1) && rvec.type() == CV_32F); 117 Rodrigues(rvec, rot) [all...] |
/external/opencv3/modules/cudalegacy/perf/ |
perf_calib3d.cpp | 66 const cv::Mat rvec = 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); 122 cv::Mat rvec; local 127 TEST_CYCLE() cv::cuda::solvePnPRansac(object, image, camera_mat, dist_coef, rvec, tvec); 129 CUDA_SANITY_CHECK(rvec, 1e-3); 134 TEST_CYCLE() cv::solvePnPRansac(object, image, camera_mat, dist_coef, rvec, tvec); 136 CPU_SANITY_CHECK(rvec, 1e-6);
|
/external/opencv3/modules/calib3d/test/ |
test_solvepnp_ransac.cpp | 102 void generatePose(Mat& rvec, Mat& tvec, RNG& rng) 106 rvec.create(3, 1, CV_64FC1); 110 rvec.at<double>(i,0) = rng.uniform(minVal, maxVal); 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); 293 Mat rvec; local 362 Mat rvec; local [all...] |
test_decompose_projection.cpp | 85 cv::Vec3d rVec; 86 rng.fill(rVec, cv::RNG::UNIFORM, -CV_PI, CV_PI); 89 Rodrigues(rVec, origR);
|
test_affine3.cpp | 50 cv::Vec3d rvec(0.2, 0.5, 0.3); 51 cv::Affine3d affine(rvec); 54 cv::Rodrigues(rvec, expected); 98 cv::Affine3<T>::Vec3 va = cv::Affine3<T>(R).rvec();
|
test_chessboardgenerator.hpp | 34 Mat rvec, tvec; member in class:cv::ChessBoardGenerator
|
test_chessboardgenerator.cpp | 57 Rodrigues(Mat::eye(3, 3, CV_32F), rvec); 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_cameracalibration.cpp | 802 rvec( 1, 3, CV_64FC1 ), 807 Rodrigues( rmat, rvec ); 810 projectPoints( objectPoints, rvec, tvec, [all...] |
/external/opencv3/modules/stitching/src/ |
motion_estimators.cpp | 298 Mat rvec; local 299 Rodrigues(R, rvec); 300 CV_Assert(rvec.type() == CV_32F); 301 cam_params_.at<double>(i * 7 + 4, 0) = rvec.at<float>(0, 0); 302 cam_params_.at<double>(i * 7 + 5, 0) = rvec.at<float>(1, 0); 303 cam_params_.at<double>(i * 7 + 6, 0) = rvec.at<float>(2, 0); 317 Mat rvec(3, 1, CV_64F); 318 rvec.at<double>(0, 0) = cam_params_.at<double>(i * 7 + 4, 0); 319 rvec.at<double>(1, 0) = cam_params_.at<double>(i * 7 + 5, 0); 320 rvec.at<double>(2, 0) = cam_params_.at<double>(i * 7 + 6, 0) 476 Mat rvec; local [all...] |
/external/opencv3/modules/cudalegacy/test/ |
test_calib3d.cpp | 69 cv::Mat rvec = randomMat(cv::Size(3, 1), CV_32F, 0, 1); local 73 cv::cuda::transformPoints(loadMat(src), rvec, tvec, dst); local 81 cv::Rodrigues(rvec, rot); 117 cv::Mat rvec = 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); 186 ASSERT_LE(cv::norm(rvec - rvec_gold), 1e-3);
|
/external/opencv3/modules/java/src/ |
calib3d+Calib3d.java | 68 // C++: void projectPoints(vector_Point3f objectPoints, vector_Point2f& imagePoints, Mat rvec, Mat tvec, Mat K, Mat D, double alpha = 0, Mat& jacobian = Mat()) 71 //javadoc: projectPoints(objectPoints, imagePoints, rvec, tvec, K, D, alpha, jacobian) 72 public static void projectPoints(MatOfPoint3f objectPoints, MatOfPoint2f imagePoints, Mat rvec, Mat tvec, Mat K, Mat D, double alpha, Mat jacobian) 76 projectPoints_0(objectPoints_mat.nativeObj, imagePoints_mat.nativeObj, rvec.nativeObj, tvec.nativeObj, K.nativeObj, D.nativeObj, alpha, jacobian.nativeObj); 81 //javadoc: projectPoints(objectPoints, imagePoints, rvec, tvec, K, D) 82 public static void projectPoints(MatOfPoint3f objectPoints, MatOfPoint2f imagePoints, Mat rvec, Mat tvec, Mat K, Mat D) 86 projectPoints_1(objectPoints_mat.nativeObj, imagePoints_mat.nativeObj, rvec.nativeObj, tvec.nativeObj, K.nativeObj, D.nativeObj); 370 // C++: void projectPoints(vector_Point3f objectPoints, Mat rvec, Mat tvec, Mat cameraMatrix, vector_double distCoeffs, vector_Point2f& imagePoints, Mat& jacobian = Mat(), double aspectRatio = 0) 373 //javadoc: projectPoints(objectPoints, rvec, tvec, cameraMatrix, distCoeffs, imagePoints, jacobian, aspectRatio) 374 public static void projectPoints(MatOfPoint3f objectPoints, Mat rvec, Mat tvec, Mat cameraMatrix, MatOfDouble distCoeffs, MatOfPoint2f imagePoints, Mat jacobian, doubl (…) [all...] |
/external/opencv3/samples/python2/ |
plane_ar.py | 91 ret, rvec, tvec = cv2.solvePnP(quad_3d, tracked.quad, K, dist_coef) 93 verts = cv2.projectPoints(verts, rvec, tvec, K, dist_coef)[0].reshape(-1, 2)
|
video.py | 105 img_quads = cv2.projectPoints(quads.reshape(-1, 3), self.rvec, self.tvec, self.K, self.dist_coef) [0] 123 self.rvec = common.mtx2rvec(R)
|
/external/opencv3/samples/cpp/ |
select3dobj.cpp | 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, 211 Rodrigues(rvec, R); 250 projectPoints(Mat(tempobj), rvec, tvec, cameraMatrix, Mat(), tempimg); local 284 cameraMatrix, rvec, tvec, box, npt, false); 562 Mat rvec, tvec; local 565 distCoeffs, rvec, tvec, false); local 576 cameraMatrix, rvec, tvec, box); 584 cameraMatrix, rvec, tvec, box, 4, true) [all...] |
/external/opencv3/samples/gpu/performance/ |
tests.cpp | 845 Mat rvec; gen(rvec, 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/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/ |
PnPProblem.cpp | 114 cv::Mat rvec = cv::Mat::zeros(3, 1, CV_64FC1); local 120 bool correspondence = cv::solvePnP( list_points3d, list_points2d, _A_matrix, distCoeffs, rvec, tvec, 124 Rodrigues(rvec,_R_matrix); 141 cv::Mat rvec = cv::Mat::zeros(3, 1, CV_64FC1); // output rotation 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, 151 Rodrigues(rvec,_R_matrix); // converts Rotation Vector to Matrix
|
/external/opencv3/doc/tutorials/calib3d/camera_calibration_square_chess/ |
camera_calibration_square_chess.markdown | 49 distCoeffs, rvec, tvec, false);
|
/external/opencv3/modules/cudalegacy/include/opencv2/ |
cudalegacy.hpp | 258 CV_EXPORTS void transformPoints(const GpuMat& src, const Mat& rvec, const Mat& tvec, 261 CV_EXPORTS void projectPoints(const GpuMat& src, const Mat& rvec, const Mat& tvec, 271 @param rvec Output 3D rotation vector. 273 @param use_extrinsic_guess Flag to indicate that the function must use rvec and tvec as an 282 const Mat& dist_coef, Mat& rvec, Mat& tvec, bool use_extrinsic_guess=false,
|
/external/eigen/unsupported/Eigen/src/Eigenvalues/ |
ArpackSelfAdjointEigenSolver.h | 588 int rvec = (options & ComputeEigenvectors) == ComputeEigenvectors; local 602 internal::arpack_wrapper<Scalar, RealScalar>::seupd(&rvec, howmny, select, m_eivalues.data(), v, &ldv, 612 if (rvec) 655 extern "C" void sseupd_(int *rvec, char *All, int *select, float *d, 670 extern "C" void dseupd_(int *rvec, char *All, int *select, double *d, 690 static inline void seupd(int *rvec, char *All, int *select, Scalar *d, 711 static inline void seupd(int *rvec, char *All, int *select, float *d, 718 sseupd_(rvec, All, select, d, z, ldz, sigma, bmat, n, which, nev, tol, resid, ncv, v, ldv, iparam, ipntr, 733 static inline void seupd(int *rvec, char *All, int *select, double *d, 740 dseupd_(rvec, All, select, d, v, ldv, sigma, bmat, n, which, nev, tol, resid, ncv, v, ldv, iparam, ipntr [all...] |
/external/opencv3/modules/core/include/opencv2/core/ |
affine.hpp | 78 Affine3(const Vec3& rvec, const Vec3& t = Vec3::all(0)); 93 void rotation(const Vec3& rvec); 106 Vec3 rvec() const; 113 //! a.rotate(R) is equivalent to Affine(rvec, 0) * a; 114 Affine3 rotate(const Vec3& rvec) const; 332 typename cv::Affine3<T>::Vec3 cv::Affine3<T>::rvec() const function in class:cv::Affine3
|