/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, 31 CV_EXPORTS Mat NormalizePixels(const Mat& imagePoints, const IntrinsicParams& param); 35 void CalibrateExtrinsics(InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints, 39 void ComputeJacobians(InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints, 43 CV_EXPORTS void EstimateUncertainties(InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints,
|
posit.cpp | 113 static CvStatus icvPOSIT( CvPOSITObject *pObject, CvPoint2D32f *imagePoints, 123 if( imagePoints == NULL ) 154 imgVectors[i] = imagePoints[i + 1].x - imagePoints[0].x; 155 imgVectors[N + i] = imagePoints[i + 1].y - imagePoints[0].y; 174 imgVectors[i] = imagePoints[i + 1].x * tmp - imagePoints[0].x; 179 imgVectors[N + i] = imagePoints[i + 1].y * tmp - imagePoints[0].y [all...] |
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, 73 imagePoints.create(objectPoints.size(), CV_MAKETYPE(objectPoints.depth(), 2)); 117 Vec2f *xpf = imagePoints.getMat().ptr<Vec2f>(); 118 Vec2d *xpd = imagePoints.getMat().ptr<Vec2d>(); 690 double cv::fisheye::calibrate(InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints, const Size& image_size, 694 CV_Assert(!objectPoints.empty() && !imagePoints.empty() && objectPoints.total() == imagePoints.total()); 696 CV_Assert(imagePoints.type() == CV_32FC2 || imagePoints.type() == CV_64FC2) [all...] |
calibration.cpp | 533 CvMat* imagePoints, CvMat* dpdr, 554 /*!CV_IS_MAT(distCoeffs) ||*/ !CV_IS_MAT(imagePoints) ) 581 if( CV_IS_CONT_MAT(imagePoints->type) && 582 (CV_MAT_DEPTH(imagePoints->type) == CV_32F || CV_MAT_DEPTH(imagePoints->type) == CV_64F) && 583 ((imagePoints->rows == 1 && CV_MAT_CN(imagePoints->type) == 2) || 584 (imagePoints->rows == count && CV_MAT_CN(imagePoints->type)*imagePoints->cols == 2) | [all...] |
/external/opencv/cv/src/ |
cvposit.cpp | 112 static CvStatus icvPOSIT( CvPOSITObject *pObject, CvPoint2D32f *imagePoints, 129 if( imagePoints == NULL ) 153 imgVectors[i] = imagePoints[i + 1].x - imagePoints[0].x; 154 imgVectors[N + i] = imagePoints[i + 1].y - imagePoints[0].y; 173 imgVectors[i] = imagePoints[i + 1].x * tmp - imagePoints[0].x; 178 imgVectors[N + i] = imagePoints[i + 1].y * tmp - imagePoints[0].y [all...] |
cvcalibration.cpp | 772 CvMat* imagePoints, CvMat* dpdr, 797 /*!CV_IS_MAT(distCoeffs) ||*/ !CV_IS_MAT(imagePoints) ) 812 if( CV_IS_CONT_MAT(imagePoints->type) && CV_MAT_DEPTH(imagePoints->type) == CV_64F && 813 ((imagePoints->rows == 1 && CV_MAT_CN(imagePoints->type) == 2) || 814 (imagePoints->rows == count && CV_MAT_CN(imagePoints->type)*imagePoints->cols == 2))) 815 _m = imagePoints; [all...] |
cvfundam.cpp | 576 cvFindHomography( const CvMat* objectPoints, const CvMat* imagePoints, 592 CV_ASSERT( CV_IS_MAT(imagePoints) && CV_IS_MAT(objectPoints) ); 594 count = MAX(imagePoints->cols, imagePoints->rows); 598 cvConvertPointsHomogeneous( imagePoints, m ); [all...] |
/external/opencv3/samples/cpp/tutorial_code/calib3d/camera_calibration/ |
camera_calibration.cpp | 222 vector<vector<Point2f> > imagePoints ); 250 vector<vector<Point2f> > imagePoints; 267 if( mode == CAPTURING && imagePoints.size() >= (size_t)s.nrFrames ) 269 if( runCalibrationAndSave(s, imageSize, cameraMatrix, distCoeffs, imagePoints)) 277 if( mode != CALIBRATED && !imagePoints.empty() ) 278 runCalibrationAndSave(s, imageSize, cameraMatrix, distCoeffs, imagePoints); 322 imagePoints.push_back(pointBuf); 342 msg = format( "%d/%d Undist", (int)imagePoints.size(), s.nrFrames ); 344 msg = format( "%d/%d", (int)imagePoints.size(), s.nrFrames ); 374 imagePoints.clear() [all...] |
/external/opencv3/samples/cpp/ |
calibration.cpp | 87 const vector<vector<Point2f> >& imagePoints, 101 err = norm(Mat(imagePoints[i]), Mat(imagePoints2), NORM_L2); 137 static bool runCalibration( vector<vector<Point2f> > imagePoints, 154 objectPoints.resize(imagePoints.size(),objectPoints[0]); 156 double rms = calibrateCamera(objectPoints, imagePoints, imageSize, cameraMatrix, 163 totalAvgErr = computeReprojectionErrors(objectPoints, imagePoints, 176 const vector<vector<Point2f> >& imagePoints, 238 if( !imagePoints.empty() ) 240 Mat imagePtMat((int)imagePoints.size(), (int)imagePoints[0].size(), CV_32FC2) [all...] |
stereo_calib.cpp | 72 vector<vector<Point2f> > imagePoints[2]; 78 imagePoints[0].resize(nimages); 79 imagePoints[1].resize(nimages); 98 vector<Point2f>& corners = imagePoints[k][j]; 154 imagePoints[0].resize(nimages); 155 imagePoints[1].resize(nimages); 172 double rms = stereoCalibrate(objectPoints, imagePoints[0], imagePoints[1], 194 int npt = (int)imagePoints[0][i].size(); 198 imgpt[k] = Mat(imagePoints[k][i]) [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) 75 Mat imagePoints_mat = imagePoints; 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) 85 Mat imagePoints_mat = imagePoints; 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, TermCriteria criteria [all...] |
calib3d.cpp | [all...] |
/external/opencv3/modules/calib3d/include/opencv2/ |
calib3d.hpp | 448 @param imagePoints Output array of image points, 2xN/Nx2 1-channel or 1xN/Nx1 2-channel, or 473 OutputArray imagePoints, 481 @param imagePoints Array of corresponding image points, 2xN/Nx2 1-channel or 1xN/Nx1 2-channel, 496 of squared distances between the observed projections imagePoints and the projected (using 525 it as, e.g., imagePoints, one must effectively copy it into a new array: imagePoints = 528 CV_EXPORTS_W bool solvePnP( InputArray objectPoints, InputArray imagePoints, 537 @param imagePoints Array of corresponding image points, 2xN/Nx2 1-channel or 1xN/Nx1 2-channel, 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 RANSA [all...] |
/external/opencv3/modules/calib3d/test/ |
test_cameracalibration.cpp | 260 CvSize imageSize, CvPoint2D64f* imagePoints, CvPoint3D64f* objectPoints, 265 double* cameraMatrix, double* distortion, CvPoint2D64f* imagePoints ) = 0; 300 CvPoint2D64f* imagePoints; 328 imagePoints = 0; 406 imagePoints = (CvPoint2D64f*)cvAlloc( numPoints * 458 (imagePoints+i)->x = x; 459 (imagePoints+i)->y = y; 523 imagePoints, 560 dx = rx - imagePoints[i].x; 561 dy = ry - imagePoints[i].y [all...] |
test_cameracalibration_artificial.cpp | 298 vector< vector<Point2f> > imagePoints; 302 case JUST_FIND_CORNERS: imagePoints = imagePoints_findCb; break; 303 case ARTIFICIAL_CORNERS: imagePoints = imagePoints_art; break; 312 imagePoints.push_back(tmp); 322 imagePoints.push_back(tmp); 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_fisheye.cpp | 240 std::vector<std::vector<cv::Point2d> > imagePoints(n_images); 247 fs_left[cv::format("image_%d", i )] >> imagePoints[i]; 264 cv::fisheye::calibrate(objectPoints, imagePoints, imageSize, K, D, 275 std::vector<std::vector<cv::Point2d> > imagePoints(n_images); 282 fs_left[cv::format("image_%d", i )] >> imagePoints[i]; 295 cv::Mat _imagePoints (imagePoints[0]); 336 std::vector<std::vector<cv::Point2d> > imagePoints(n_images); 343 fs_left[cv::format("image_%d", i )] >> imagePoints[i]; 362 cv::fisheye::calibrate(objectPoints, imagePoints, imageSize, K, D, 377 cv::internal::EstimateUncertainties(objectPoints, imagePoints, param, rvec, tvec [all...] |
test_cameracalibration_badarg.cpp | 477 CvMat* imagePoints; 487 cvProjectPoints2( objectPoints, r_vec, t_vec, A, distCoeffs, imagePoints, 528 caller.imagePoints = &imagePoints_c; 556 bad_caller.imagePoints = 0; 557 errors += run_test_case( CV_StsBadArg, "Zero imagePoints", bad_caller );
|
/cts/apps/CtsVerifier/libs/ |
opencv3-android.jar | |