/external/opencv3/samples/cpp/ |
D | calibration.cpp | 88 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 219 if( !rvecs.empty() && !tvecs.empty() ) in saveCameraParams() 221 CV_Assert(rvecs[0].type() == tvecs[0].type()); in saveCameraParams() 229 CV_Assert(tvecs[i].rows == 3 && tvecs[i].cols == 1); in saveCameraParams() 232 t = tvecs[i].t(); in saveCameraParams() [all …]
|
D | 3calibration.cpp | 62 vector<Mat> rvecs, tvecs; in run3Calibration() local 91 distCoeffs, rvecs, tvecs, in run3Calibration()
|
/external/opencv3/samples/cpp/tutorial_code/calib3d/camera_calibration/ |
D | camera_calibration.cpp | 408 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 532 if(s.writeExtrinsics && !rvecs.empty() && !tvecs.empty() ) in saveCameraParams() 534 CV_Assert(rvecs[0].type() == tvecs[0].type()); in saveCameraParams() 542 CV_Assert(tvecs[i].rows == 3 && tvecs[i].cols == 1); in saveCameraParams() 545 t = tvecs[i].t(); in saveCameraParams() [all …]
|
/external/opencv3/samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/ |
D | CameraCalibrator.java | 57 ArrayList<Mat> tvecs = 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/ |
D | test_cameracalibration_badarg.cpp | 76 CvMat *tvecs; member 82 cameraMatrix, distCoeffs, rvecs, tvecs, flags ); in operator ()() 102 CvMat objPts, imgPts, npoints, cameraMatrix, distCoeffs, rvecs, tvecs; in run() local 113 caller.tvecs = &tvecs; in run() 149 tvecs = tvecs_cpp; in run() 200 bad_caller.tvecs = (CvMat*)zeros.ptr(); in run() 220 bad_caller.tvecs = &bad_tvecs_c1; in run() 224 bad_caller.tvecs = &bad_tvecs_c2; in run()
|
D | test_cameracalibration_artificial.cpp | 165 void compareShiftVecs(const vector<Mat>& tvecs, const vector<Mat>& tvecs_est) in compareShiftVecs() argument 172 for(size_t i = 0; i < tvecs.size(); ++i) in compareShiftVecs() 174 const Point3d& tvec = *tvecs[i].ptr<Point3d>(); in compareShiftVecs()
|
D | test_cameracalibration.cpp | 746 vector<Mat> rvecs, tvecs; in calibrate() local 772 tvecs, in calibrate() 782 vector<Mat>::iterator tvecsIt = tvecs.begin(); in calibrate()
|
/external/opencv3/doc/py_tutorials/py_calib3d/py_pose/ |
D | py_pose.markdown | 33 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/ |
D | calib3d+Calib3d.java | 203 …t> imagePoints, Size image_size, Mat K, Mat D, List<Mat> rvecs, List<Mat> tvecs, int flags, TermCr… in calibrate() argument 212 Converters.Mat_to_vector_Mat(tvecs_mat, tvecs); in calibrate() 218 … List<Mat> imagePoints, Size image_size, Mat K, Mat D, List<Mat> rvecs, List<Mat> tvecs, int flags) in calibrate() argument 227 Converters.Mat_to_vector_Mat(tvecs_mat, tvecs); in calibrate() 233 …jectPoints, List<Mat> imagePoints, Size image_size, Mat K, Mat D, List<Mat> rvecs, List<Mat> tvecs) in calibrate() argument 242 Converters.Mat_to_vector_Mat(tvecs_mat, tvecs); in calibrate() 544 …e imageSize, Mat cameraMatrix, Mat distCoeffs, List<Mat> rvecs, List<Mat> tvecs, int flags, TermCr… in calibrateCamera() argument 553 Converters.Mat_to_vector_Mat(tvecs_mat, tvecs); in calibrateCamera() 559 …nts, Size imageSize, Mat cameraMatrix, Mat distCoeffs, List<Mat> rvecs, List<Mat> tvecs, int flags) in calibrateCamera() argument 568 Converters.Mat_to_vector_Mat(tvecs_mat, tvecs); in calibrateCamera() [all …]
|
D | calib3d.cpp | 1493 std::vector<Mat> tvecs; in Java_org_opencv_calib3d_Calib3d_calibrate_10() local 1499 …::fisheye::calibrate( objectPoints, imagePoints, image_size, K, D, rvecs, tvecs, (int)flags, crite… 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() 1528 std::vector<Mat> tvecs; in Java_org_opencv_calib3d_Calib3d_calibrate_11() local 1533 … = 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() 1562 std::vector<Mat> tvecs; 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() 2327 std::vector<Mat> tvecs; in Java_org_opencv_calib3d_Calib3d_calibrateCamera_10() local [all …]
|
/external/opencv3/samples/python2/ |
D | calibrate.py | 68 …rms, camera_matrix, dist_coefs, rvecs, tvecs = cv2.calibrateCamera(obj_points, img_points, (w, h),… variable
|
/external/opencv/cv/src/ |
D | cvcalibration.cpp | 1448 CvMat* rvecs, CvMat* tvecs, in cvCalibrateCamera2() argument 1491 if( tvecs ) in cvCalibrateCamera2() 1493 cn = CV_MAT_CN(tvecs->type); in cvCalibrateCamera2() 1494 if( !CV_IS_MAT(tvecs) || in cvCalibrateCamera2() 1495 (CV_MAT_DEPTH(tvecs->type) != CV_32F && CV_MAT_DEPTH(tvecs->type) != CV_64F) || in cvCalibrateCamera2() 1496 ((tvecs->rows != nimages || tvecs->cols*cn != 3) && in cvCalibrateCamera2() 1497 (tvecs->rows != 1 || tvecs->cols != nimages || cn != 3)) ) in cvCalibrateCamera2() 1736 if( tvecs ) in cvCalibrateCamera2() 1739 dst = cvMat( 3, 1, CV_MAT_TYPE(tvecs->type), tvecs->rows == 1 ? in cvCalibrateCamera2() 1740 tvecs->data.ptr + i*CV_ELEM_SIZE(tvecs->type) : in cvCalibrateCamera2() [all …]
|
/external/opencv3/modules/calib3d/src/ |
D | calibration.cpp | 1232 CvMat* rvecs, CvMat* tvecs, int flags, CvTermCriteria termCrit ) in cvCalibrateCamera2() argument 1274 if( tvecs ) in cvCalibrateCamera2() 1276 cn = CV_MAT_CN(tvecs->type); in cvCalibrateCamera2() 1277 if( !CV_IS_MAT(tvecs) || in cvCalibrateCamera2() 1278 (CV_MAT_DEPTH(tvecs->type) != CV_32F && CV_MAT_DEPTH(tvecs->type) != CV_64F) || in cvCalibrateCamera2() 1279 ((tvecs->rows != nimages || tvecs->cols*cn != 3) && in cvCalibrateCamera2() 1280 (tvecs->rows != 1 || tvecs->cols != nimages || cn != 3)) ) in cvCalibrateCamera2() 1551 if( tvecs ) in cvCalibrateCamera2() 1554 dst = cvMat( 3, 1, CV_MAT_DEPTH(tvecs->type), tvecs->rows == 1 ? in cvCalibrateCamera2() 1555 tvecs->data.ptr + i*CV_ELEM_SIZE(tvecs->type) : in cvCalibrateCamera2() [all …]
|
D | fisheye.cpp | 691 … InputOutputArray K, InputOutputArray D, OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs, in calibrate() argument 700 CV_Assert((!tvecs.empty() && tvecs.channels() == 3) || tvecs.empty()); in calibrate() 803 tvecs.getMat(i)=Tc[i]; in calibrate() 809 if (tvecs.needed()) cv::Mat(Tc).convertTo(tvecs, tvecs.empty() ? CV_64FC3 : tvecs.type()); in calibrate()
|
/external/opencv3/modules/calib3d/include/opencv2/ |
D | calib3d.hpp | 798 OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs, 1790 …utArray K, InputOutputArray D, OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs, int flags = 0,
|
/external/opencv3/doc/py_tutorials/py_calib3d/py_calibration/ |
D | py_calibration.markdown | 153 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/ |
D | camera_calibration.markdown | 209 distCoeffs, rvecs, tvecs, s.flag|CV_CALIB_FIX_K4|CV_CALIB_FIX_K5);
|