Home
last modified time | relevance | path

Searched refs:rvecs (Results 1 – 17 of 17) sorted by relevance

/external/opencv3/samples/cpp/
Dcalibration.cpp88 const vector<Mat>& rvecs, const vector<Mat>& tvecs, in computeReprojectionErrors() argument
99 projectPoints(Mat(objectPoints[i]), rvecs[i], tvecs[i], in computeReprojectionErrors()
141 vector<Mat>& rvecs, vector<Mat>& tvecs, in runCalibration() argument
157 distCoeffs, rvecs, tvecs, flags|CALIB_FIX_K4|CALIB_FIX_K5); in runCalibration()
164 rvecs, tvecs, cameraMatrix, distCoeffs, reprojErrs); in runCalibration()
174 const vector<Mat>& rvecs, const vector<Mat>& tvecs, in saveCameraParams() argument
189 if( !rvecs.empty() || !reprojErrs.empty() ) in saveCameraParams()
190 fs << "nframes" << (int)std::max(rvecs.size(), reprojErrs.size()); in saveCameraParams()
219 if( !rvecs.empty() && !tvecs.empty() ) in saveCameraParams()
221 CV_Assert(rvecs[0].type() == tvecs[0].type()); in saveCameraParams()
[all …]
D3calibration.cpp62 vector<Mat> rvecs, tvecs; in run3Calibration() local
91 distCoeffs, rvecs, tvecs, in run3Calibration()
/external/opencv3/samples/cpp/tutorial_code/calib3d/camera_calibration/
Dcamera_calibration.cpp408 const vector<Mat>& rvecs, const vector<Mat>& tvecs, in computeReprojectionErrors() argument
419 projectPoints(objectPoints[i], rvecs[i], tvecs[i], cameraMatrix, distCoeffs, imagePoints2); in computeReprojectionErrors()
457 … vector<vector<Point2f> > imagePoints, vector<Mat>& rvecs, vector<Mat>& tvecs, in runCalibration() argument
474 distCoeffs, rvecs, tvecs, s.flag|CALIB_FIX_K4|CALIB_FIX_K5); in runCalibration()
481 rvecs, tvecs, cameraMatrix, distCoeffs, reprojErrs); in runCalibration()
488 const vector<Mat>& rvecs, const vector<Mat>& tvecs, in saveCameraParams() argument
502 if( !rvecs.empty() || !reprojErrs.empty() ) in saveCameraParams()
503 fs << "nr_of_frames" << (int)std::max(rvecs.size(), reprojErrs.size()); in saveCameraParams()
532 if(s.writeExtrinsics && !rvecs.empty() && !tvecs.empty() ) in saveCameraParams()
534 CV_Assert(rvecs[0].type() == tvecs[0].type()); in saveCameraParams()
[all …]
/external/opencv3/samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/
DCameraCalibrator.java56 ArrayList<Mat> rvecs = new ArrayList<Mat>(); in calibrate() local
67 mCameraMatrix, mDistortionCoefficients, rvecs, tvecs, mFlags); in calibrate()
72 mRms = computeReprojectionErrors(objectPoints, rvecs, tvecs, reprojectionErrors); in calibrate()
100 List<Mat> rvecs, List<Mat> tvecs, Mat perViewErrors) { in computeReprojectionErrors() argument
110 Calib3d.projectPoints(points, rvecs.get(i), tvecs.get(i), in computeReprojectionErrors()
/external/opencv3/modules/calib3d/test/
Dtest_cameracalibration_badarg.cpp75 CvMat *rvecs; member
82 cameraMatrix, distCoeffs, rvecs, tvecs, flags ); in operator ()()
102 CvMat objPts, imgPts, npoints, cameraMatrix, distCoeffs, rvecs, tvecs; in run() local
112 caller.rvecs = &rvecs; in run()
148 rvecs = rvecs_cpp; in run()
196 bad_caller.rvecs = (CvMat*)zeros.ptr(); in run()
212 bad_caller.rvecs = &bad_rvecs_c1; in run()
216 bad_caller.rvecs = &bad_rvecs_c2; in run()
Dtest_cameracalibration_artificial.cpp194 void compareRotationVecs(const vector<Mat>& rvecs, const vector<Mat>& rvecs_est) in compareRotationVecs() argument
202 for(size_t i = 0; i < rvecs.size(); ++i) in compareRotationVecs()
204 Rodrigues(rvecs[i], rmat); in compareRotationVecs()
Dtest_cameracalibration.cpp746 vector<Mat> rvecs, tvecs; in calibrate() local
771 rvecs, in calibrate()
781 vector<Mat>::iterator rvecsIt = rvecs.begin(); in calibrate()
/external/opencv/cv/src/
Dcvcalibration.cpp1448 CvMat* rvecs, CvMat* tvecs, in cvCalibrateCamera2() argument
1480 if( rvecs ) in cvCalibrateCamera2()
1482 cn = CV_MAT_CN(rvecs->type); in cvCalibrateCamera2()
1483 if( !CV_IS_MAT(rvecs) || in cvCalibrateCamera2()
1484 (CV_MAT_DEPTH(rvecs->type) != CV_32F && CV_MAT_DEPTH(rvecs->type) != CV_64F) || in cvCalibrateCamera2()
1485 ((rvecs->rows != nimages || (rvecs->cols*cn != 3 && rvecs->cols*cn != 9)) && in cvCalibrateCamera2()
1486 (rvecs->rows != 1 || rvecs->cols != nimages || cn != 3)) ) in cvCalibrateCamera2()
1718 if( rvecs ) in cvCalibrateCamera2()
1721 if( rvecs->rows == nimages && rvecs->cols*CV_MAT_CN(rvecs->type) == 9 ) in cvCalibrateCamera2()
1723 dst = cvMat( 3, 3, CV_MAT_DEPTH(rvecs->type), in cvCalibrateCamera2()
[all …]
/external/opencv3/doc/py_tutorials/py_calib3d/py_pose/
Dpy_pose.markdown33 mtx, dist, _, _ = [X[i] for i in ('mtx','dist','rvecs','tvecs')]
73 rvecs, tvecs, inliers = cv2.solvePnPRansac(objp, corners2, mtx, dist)
76 imgpts, jac = cv2.projectPoints(axis, rvecs, tvecs, mtx, dist)
/external/opencv3/modules/java/src/
Dcalib3d+Calib3d.java203 …ctPoints, List<Mat> imagePoints, Size image_size, Mat K, Mat D, List<Mat> rvecs, List<Mat> tvecs, … in calibrate() argument
210 Converters.Mat_to_vector_Mat(rvecs_mat, rvecs); in calibrate()
218 …ctPoints, List<Mat> imagePoints, Size image_size, Mat K, Mat D, List<Mat> rvecs, List<Mat> tvecs, … in calibrate() argument
225 Converters.Mat_to_vector_Mat(rvecs_mat, rvecs); in calibrate()
233 …jectPoints, List<Mat> imagePoints, Size image_size, Mat K, Mat D, List<Mat> rvecs, List<Mat> tvecs) in calibrate() argument
240 Converters.Mat_to_vector_Mat(rvecs_mat, rvecs); in calibrate()
544 … imagePoints, Size imageSize, Mat cameraMatrix, Mat distCoeffs, List<Mat> rvecs, List<Mat> tvecs, … in calibrateCamera() argument
551 Converters.Mat_to_vector_Mat(rvecs_mat, rvecs); in calibrateCamera()
559 … imagePoints, Size imageSize, Mat cameraMatrix, Mat distCoeffs, List<Mat> rvecs, List<Mat> tvecs, … in calibrateCamera() argument
566 Converters.Mat_to_vector_Mat(rvecs_mat, rvecs); in calibrateCamera()
[all …]
Dcalib3d.cpp1491 std::vector<Mat> rvecs; in Java_org_opencv_calib3d_Calib3d_calibrate_10() local
1499 …l_ = cv::fisheye::calibrate( objectPoints, imagePoints, image_size, K, D, rvecs, tvecs, (int)flags… in Java_org_opencv_calib3d_Calib3d_calibrate_10()
1500 vector_Mat_to_Mat( rvecs, rvecs_mat ); vector_Mat_to_Mat( tvecs, tvecs_mat ); in Java_org_opencv_calib3d_Calib3d_calibrate_10()
1526 std::vector<Mat> rvecs; in Java_org_opencv_calib3d_Calib3d_calibrate_11() local
1533 …l_ = cv::fisheye::calibrate( objectPoints, imagePoints, image_size, K, D, rvecs, tvecs, (int)flags… in Java_org_opencv_calib3d_Calib3d_calibrate_11()
1534 vector_Mat_to_Mat( rvecs, rvecs_mat ); vector_Mat_to_Mat( tvecs, tvecs_mat ); in Java_org_opencv_calib3d_Calib3d_calibrate_11()
1560 std::vector<Mat> rvecs; in Java_org_opencv_calib3d_Calib3d_calibrate_12() local
1567 …ble _retval_ = cv::fisheye::calibrate( objectPoints, imagePoints, image_size, K, D, rvecs, tvecs ); in Java_org_opencv_calib3d_Calib3d_calibrate_12()
1568 vector_Mat_to_Mat( rvecs, rvecs_mat ); vector_Mat_to_Mat( tvecs, tvecs_mat ); in Java_org_opencv_calib3d_Calib3d_calibrate_12()
2325 std::vector<Mat> rvecs; in Java_org_opencv_calib3d_Calib3d_calibrateCamera_10() local
[all …]
/external/opencv3/samples/python2/
Dcalibrate.py68 …rms, camera_matrix, dist_coefs, rvecs, tvecs = cv2.calibrateCamera(obj_points, img_points, (w, h),… variable
/external/opencv3/modules/calib3d/src/
Dcalibration.cpp1232 CvMat* rvecs, CvMat* tvecs, int flags, CvTermCriteria termCrit ) in cvCalibrateCamera2() argument
1263 if( rvecs ) in cvCalibrateCamera2()
1265 cn = CV_MAT_CN(rvecs->type); in cvCalibrateCamera2()
1266 if( !CV_IS_MAT(rvecs) || in cvCalibrateCamera2()
1267 (CV_MAT_DEPTH(rvecs->type) != CV_32F && CV_MAT_DEPTH(rvecs->type) != CV_64F) || in cvCalibrateCamera2()
1268 ((rvecs->rows != nimages || (rvecs->cols*cn != 3 && rvecs->cols*cn != 9)) && in cvCalibrateCamera2()
1269 (rvecs->rows != 1 || rvecs->cols != nimages || cn != 3)) ) in cvCalibrateCamera2()
1533 if( rvecs ) in cvCalibrateCamera2()
1536 if( rvecs->rows == nimages && rvecs->cols*CV_MAT_CN(rvecs->type) == 9 ) in cvCalibrateCamera2()
1538 dst = cvMat( 3, 3, CV_MAT_DEPTH(rvecs->type), in cvCalibrateCamera2()
[all …]
Dfisheye.cpp691 … InputOutputArray K, InputOutputArray D, OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs, in calibrate() argument
699 CV_Assert((!rvecs.empty() && rvecs.channels() == 3) || rvecs.empty()); in calibrate()
797 if (rvecs.kind()==_InputArray::STD_VECTOR_MAT) in calibrate()
802 rvecs.getMat(i)=omc[i]; in calibrate()
808 if (rvecs.needed()) cv::Mat(omc).convertTo(rvecs, rvecs.empty() ? CV_64FC3 : rvecs.type()); in calibrate()
/external/opencv3/modules/calib3d/include/opencv2/
Dcalib3d.hpp798 OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs,
1790 …InputOutputArray K, InputOutputArray D, OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs, int …
/external/opencv3/doc/py_tutorials/py_calib3d/py_calibration/
Dpy_calibration.markdown153 ret, mtx, dist, rvecs, tvecs = cv2.calibrateCamera(objpoints, imgpoints, gray.shape[::-1],None,None)
217 imgpoints2, _ = cv2.projectPoints(objpoints[i], rvecs[i], tvecs[i], mtx, dist)
/external/opencv3/doc/tutorials/calib3d/camera_calibration/
Dcamera_calibration.markdown209 distCoeffs, rvecs, tvecs, s.flag|CV_CALIB_FIX_K4|CV_CALIB_FIX_K5);