HomeSort by relevance Sort by last modified time
    Searched refs:objectPoints (Results 1 - 19 of 19) sorted by null

  /external/opencv3/samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/
CameraCalibrator.java 59 ArrayList<Mat> objectPoints = new ArrayList<Mat>();
60 objectPoints.add(Mat.zeros(mCornersSize, 1, CvType.CV_32FC3));
61 calcBoardCornerPositions(objectPoints.get(0));
63 objectPoints.add(objectPoints.get(0));
66 Calib3d.calibrateCamera(objectPoints, mCornersBuffer, mImageSize,
72 mRms = computeReprojectionErrors(objectPoints, rvecs, tvecs, reprojectionErrors);
99 private double computeReprojectionErrors(List<Mat> objectPoints,
104 float viewErrors[] = new float[objectPoints.size()];
108 for (int i = 0; i < objectPoints.size(); i++)
    [all...]
  /external/opencv3/modules/calib3d/src/
fisheye.hpp 22 void projectPoints(cv::InputArray objectPoints, cv::OutputArray imagePoints,
26 void ComputeExtrinsicRefine(const Mat& imagePoints, const Mat& objectPoints, Mat& rvec,
35 void CalibrateExtrinsics(InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints,
39 void ComputeJacobians(InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints,
43 CV_EXPORTS void EstimateUncertainties(InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints,
fisheye.cpp 62 void cv::fisheye::projectPoints(InputArray objectPoints, OutputArray imagePoints, const Affine3d& affine,
65 projectPoints(objectPoints, imagePoints, affine.rvec(), affine.translation(), K, D, alpha, jacobian);
68 void cv::fisheye::projectPoints(InputArray objectPoints, OutputArray imagePoints, InputArray _rvec,
72 CV_Assert(objectPoints.type() == CV_32FC3 || objectPoints.type() == CV_64FC3);
73 imagePoints.create(objectPoints.size(), CV_MAKETYPE(objectPoints.depth(), 2));
74 size_t n = objectPoints.total();
115 const Vec3f* Xf = objectPoints.getMat().ptr<Vec3f>();
116 const Vec3d* Xd = objectPoints.getMat().ptr<Vec3d>()
    [all...]
calibration.cpp 528 CV_IMPL void cvProjectPoints2( const CvMat* objectPoints,
552 if( !CV_IS_MAT(objectPoints) || !CV_IS_MAT(r_vec) ||
557 int total = objectPoints->rows * objectPoints->cols * CV_MAT_CN(objectPoints->type);
565 if( CV_IS_CONT_MAT(objectPoints->type) &&
566 (CV_MAT_DEPTH(objectPoints->type) == CV_32F || CV_MAT_DEPTH(objectPoints->type) == CV_64F)&&
567 ((objectPoints->rows == 1 && CV_MAT_CN(objectPoints->type) == 3) |
    [all...]
  /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)
74 Mat objectPoints_mat = objectPoints;
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)
84 Mat objectPoints_mat = objectPoints;
199 // C++: double calibrate(vector_Mat objectPoints, vector_Mat imagePoints, Size image_size, Mat& K, Mat& D, vector_Mat& rvecs, vector_Mat& tvecs, int flags = 0, TermCriteria criteria = TermCriteria(TermCriteria::COUNT + TermCriteria::EPS, 100, DBL_EPSILON))
202 //javadoc: calibrate(objectPoints, imagePoints, image_size, K, D, rvecs, tvecs, flags, criteria)
203 public static double calibrate(List<Mat> objectPoints, List<Mat> imagePoints, Size image_size, Mat K, Mat D, List<Mat> rvecs, List<Mat> tvecs, int flags (…)
    [all...]
calib3d.cpp     [all...]
  /external/opencv3/samples/cpp/
calibration.cpp 86 const vector<vector<Point3f> >& objectPoints,
95 perViewErrors.resize(objectPoints.size());
97 for( i = 0; i < (int)objectPoints.size(); i++ )
99 projectPoints(Mat(objectPoints[i]), rvecs[i], tvecs[i],
102 int n = (int)objectPoints[i].size();
151 vector<vector<Point3f> > objectPoints(1);
152 calcChessboardCorners(boardSize, squareSize, objectPoints[0], patternType);
154 objectPoints.resize(imagePoints.size(),objectPoints[0]);
156 double rms = calibrateCamera(objectPoints, imagePoints, imageSize, cameraMatrix
    [all...]
stereo_calib.cpp 73 vector<vector<Point3f> > objectPoints;
156 objectPoints.resize(nimages);
162 objectPoints[i].push_back(Point3f(k*squareSize, j*squareSize, 0));
172 double rms = stereoCalibrate(objectPoints, imagePoints[0], imagePoints[1],
  /external/opencv3/samples/cpp/tutorial_code/calib3d/camera_calibration/
camera_calibration.cpp 406 static double computeReprojectionErrors( const vector<vector<Point3f> >& objectPoints,
415 perViewErrors.resize(objectPoints.size());
417 for(size_t i = 0; i < objectPoints.size(); ++i )
419 projectPoints(objectPoints[i], rvecs[i], tvecs[i], cameraMatrix, distCoeffs, imagePoints2);
422 size_t n = objectPoints[i].size();
467 vector<vector<Point3f> > objectPoints(1);
468 calcBoardCornerPositions(s.boardSize, s.squareSize, objectPoints[0], s.calibrationPattern);
470 objectPoints.resize(imagePoints.size(),objectPoints[0]);
473 double rms = calibrateCamera(objectPoints, imagePoints, imageSize, cameraMatrix
    [all...]
  /external/opencv3/modules/calib3d/test/
test_cameracalibration.cpp 260 CvSize imageSize, CvPoint2D64f* imagePoints, CvPoint3D64f* objectPoints,
263 virtual void project( int pointCount, CvPoint3D64f* objectPoints,
301 CvPoint3D64f* objectPoints;
329 objectPoints = 0;
409 objectPoints = (CvPoint3D64f*)cvAlloc( numPoints *
441 (objectPoints+i)->x = x;
442 (objectPoints+i)->y = y;
443 (objectPoints+i)->z = z;
524 objectPoints,
536 objectPoints + currImage * nPoints
    [all...]
test_fisheye.cpp 241 std::vector<std::vector<cv::Point3d> > objectPoints(n_images);
253 fs_object[cv::format("image_%d", i )] >> objectPoints[i];
264 cv::fisheye::calibrate(objectPoints, imagePoints, imageSize, K, D,
276 std::vector<std::vector<cv::Point3d> > objectPoints(n_images);
288 fs_object[cv::format("image_%d", i )] >> objectPoints[i];
296 cv::Mat _objectPoints(objectPoints[0]);
337 std::vector<std::vector<cv::Point3d> > objectPoints(n_images);
349 fs_object[cv::format("image_%d", i )] >> objectPoints[i];
362 cv::fisheye::calibrate(objectPoints, imagePoints, imageSize, K, D,
377 cv::internal::EstimateUncertainties(objectPoints, imagePoints, param, rvec, tvec
    [all...]
test_cameracalibration_artificial.cpp 249 vector< vector<Point3f> > objectPoints;
267 objectPoints.clear();
268 objectPoints.resize(brdsNum, chessboard3D);
334 double rep_error = calibrateCamera(objectPoints, imagePoints, imgSize, camMat_est, distCoeffs_est, rvecs_est, tvecs_est, flags, criteria);
363 solvePnP(Mat(objectPoints[i]), Mat(imagePoints[i]), camMat, distCoeffs, rvecs_spnp[i], tvecs_spnp[i]);
test_cameracalibration_badarg.cpp 472 CvMat* objectPoints;
487 cvProjectPoints2( objectPoints, r_vec, t_vec, A, distCoeffs, imagePoints,
523 caller.objectPoints = &objectPoints_c;
540 bad_caller.objectPoints = 0;
541 errors += run_test_case( CV_StsBadArg, "Zero objectPoints", bad_caller );
  /external/opencv3/modules/calib3d/include/opencv2/
calib3d.hpp 440 @param objectPoints Array of object points, 3xN/Nx3 1-channel or 1xN/Nx1 3-channel (or
470 CV_EXPORTS_W void projectPoints( InputArray objectPoints,
479 @param objectPoints Array of object points in the object coordinate space, 3xN/Nx3 1-channel or
497 projectPoints ) objectPoints .
528 CV_EXPORTS_W bool solvePnP( InputArray objectPoints, InputArray imagePoints,
535 @param objectPoints Array of object points in the object coordinate space, 3xN/Nx3 1-channel or
554 @param inliers Output vector that contains indices of inliers in objectPoints and imagePoints .
560 projections imagePoints and the projected (using projectPoints ) objectPoints. The use of RANSAC
567 CV_EXPORTS_W bool solvePnPRansac( InputArray objectPoints, InputArray imagePoints,
576 @param objectPoints Vector of vectors of the calibration pattern points in the calibration patter
    [all...]
  /external/opencv/cv/src/
cvcalibration.cpp 767 cvProjectPoints2( const CvMat* objectPoints,
795 if( !CV_IS_MAT(objectPoints) || !CV_IS_MAT(r_vec) ||
800 count = MAX(objectPoints->rows, objectPoints->cols);
802 if( CV_IS_CONT_MAT(objectPoints->type) && CV_MAT_DEPTH(objectPoints->type) == CV_64F &&
803 ((objectPoints->rows == 1 && CV_MAT_CN(objectPoints->type) == 3) ||
804 (objectPoints->rows == count && CV_MAT_CN(objectPoints->type)*objectPoints->cols == 3))
    [all...]
cvfundam.cpp 576 cvFindHomography( const CvMat* objectPoints, const CvMat* imagePoints,
592 CV_ASSERT( CV_IS_MAT(imagePoints) && CV_IS_MAT(objectPoints) );
601 cvConvertPointsHomogeneous( objectPoints, M );
    [all...]
  /cts/apps/CtsVerifier/libs/
opencv3-android.jar 
  /external/opencv/cvaux/src/
cvepilines.cpp     [all...]
  /external/opencv/cvaux/include/
cvaux.h 592 CvPoint3D32f* objectPoints,
735 CvPoint3D32f* objectPoints,
    [all...]

Completed in 482 milliseconds