distCoeffs 472 modules/calib3d/include/opencv2/calib3d.hpp InputArray cameraMatrix, InputArray distCoeffs, distCoeffs 529 modules/calib3d/include/opencv2/calib3d.hpp InputArray cameraMatrix, InputArray distCoeffs, distCoeffs 568 modules/calib3d/include/opencv2/calib3d.hpp InputArray cameraMatrix, InputArray distCoeffs, distCoeffs 797 modules/calib3d/include/opencv2/calib3d.hpp InputOutputArray cameraMatrix, InputOutputArray distCoeffs, distCoeffs 1082 modules/calib3d/include/opencv2/calib3d.hpp CV_EXPORTS_W Mat getOptimalNewCameraMatrix( InputArray cameraMatrix, InputArray distCoeffs, distCoeffs 532 modules/calib3d/src/calibration.cpp const CvMat* distCoeffs, distCoeffs 640 modules/calib3d/src/calibration.cpp if( distCoeffs ) distCoeffs 642 modules/calib3d/src/calibration.cpp if( !CV_IS_MAT(distCoeffs) || distCoeffs 643 modules/calib3d/src/calibration.cpp (CV_MAT_DEPTH(distCoeffs->type) != CV_64F && distCoeffs 644 modules/calib3d/src/calibration.cpp CV_MAT_DEPTH(distCoeffs->type) != CV_32F) || distCoeffs 645 modules/calib3d/src/calibration.cpp (distCoeffs->rows != 1 && distCoeffs->cols != 1) || distCoeffs 646 modules/calib3d/src/calibration.cpp (distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) != 4 && distCoeffs 647 modules/calib3d/src/calibration.cpp distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) != 5 && distCoeffs 648 modules/calib3d/src/calibration.cpp distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) != 8 && distCoeffs 649 modules/calib3d/src/calibration.cpp distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) != 12) ) distCoeffs 652 modules/calib3d/src/calibration.cpp _k = cvMat( distCoeffs->rows, distCoeffs->cols, distCoeffs 653 modules/calib3d/src/calibration.cpp CV_MAKETYPE(CV_64F,CV_MAT_CN(distCoeffs->type)), k ); distCoeffs 654 modules/calib3d/src/calibration.cpp cvConvert( distCoeffs, &_k ); distCoeffs 734 modules/calib3d/src/calibration.cpp if( !distCoeffs ) distCoeffs 925 modules/calib3d/src/calibration.cpp const CvMat* distCoeffs, CvMat* rvec, CvMat* tvec, distCoeffs 971 modules/calib3d/src/calibration.cpp cvUndistortPoints( _m, _mn, &matA, distCoeffs, 0, &_Ar ); distCoeffs 1115 modules/calib3d/src/calibration.cpp cvProjectPoints2( matM, &_r, &_t, &matA, distCoeffs, distCoeffs 1120 modules/calib3d/src/calibration.cpp cvProjectPoints2( matM, &_r, &_t, &matA, distCoeffs, distCoeffs 1231 modules/calib3d/src/calibration.cpp CvSize imageSize, CvMat* cameraMatrix, CvMat* distCoeffs, distCoeffs 1246 modules/calib3d/src/calibration.cpp !CV_IS_MAT(npoints) || !CV_IS_MAT(cameraMatrix) || !CV_IS_MAT(distCoeffs) ) distCoeffs 1257 modules/calib3d/src/calibration.cpp if((flags & CV_CALIB_THIN_PRISM_MODEL) && (distCoeffs->cols*distCoeffs->rows != 12)) distCoeffs 1291 modules/calib3d/src/calibration.cpp if( (CV_MAT_TYPE(distCoeffs->type) != CV_32FC1 && distCoeffs 1292 modules/calib3d/src/calibration.cpp CV_MAT_TYPE(distCoeffs->type) != CV_64FC1) || distCoeffs 1293 modules/calib3d/src/calibration.cpp (distCoeffs->cols != 1 && distCoeffs->rows != 1) || distCoeffs 1294 modules/calib3d/src/calibration.cpp (distCoeffs->cols*distCoeffs->rows != 4 && distCoeffs 1295 modules/calib3d/src/calibration.cpp distCoeffs->cols*distCoeffs->rows != 5 && distCoeffs 1296 modules/calib3d/src/calibration.cpp distCoeffs->cols*distCoeffs->rows != 8 && distCoeffs 1297 modules/calib3d/src/calibration.cpp distCoeffs->cols*distCoeffs->rows != 12) ) distCoeffs 1325 modules/calib3d/src/calibration.cpp _k = cvMat( distCoeffs->rows, distCoeffs->cols, CV_MAKETYPE(CV_64F,CV_MAT_CN(distCoeffs->type)), k); distCoeffs 1326 modules/calib3d/src/calibration.cpp if( distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) < 8 ) distCoeffs 1328 modules/calib3d/src/calibration.cpp if( distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) < 5 ) distCoeffs 1361 modules/calib3d/src/calibration.cpp cvConvert( distCoeffs, &_k ); distCoeffs 1528 modules/calib3d/src/calibration.cpp cvConvert( &_k, distCoeffs ); distCoeffs 1686 modules/calib3d/src/calibration.cpp const CvMat* distCoeffs = k == 0 ? _distCoeffs1 : _distCoeffs2; distCoeffs 1708 modules/calib3d/src/calibration.cpp CvMat tdist = cvMat( distCoeffs->rows, distCoeffs->cols, distCoeffs 1709 modules/calib3d/src/calibration.cpp CV_MAKETYPE(CV_64F,CV_MAT_CN(distCoeffs->type)), Dist[k].data.db ); distCoeffs 1710 modules/calib3d/src/calibration.cpp cvConvert( distCoeffs, &tdist ); distCoeffs 2057 modules/calib3d/src/calibration.cpp CvMat* distCoeffs = k == 0 ? _distCoeffs1 : _distCoeffs2; distCoeffs 2058 modules/calib3d/src/calibration.cpp CvMat tdist = cvMat( distCoeffs->rows, distCoeffs->cols, distCoeffs 2059 modules/calib3d/src/calibration.cpp CV_MAKETYPE(CV_64F,CV_MAT_CN(distCoeffs->type)), Dist[k].data.db ); distCoeffs 2060 modules/calib3d/src/calibration.cpp cvConvert( &tdist, distCoeffs ); distCoeffs 2097 modules/calib3d/src/calibration.cpp icvGetRectangles( const CvMat* cameraMatrix, const CvMat* distCoeffs, distCoeffs 2111 modules/calib3d/src/calibration.cpp cvUndistortPoints(_pts, _pts, cameraMatrix, distCoeffs, R, newCameraMatrix); distCoeffs 2350 modules/calib3d/src/calibration.cpp void cvGetOptimalNewCameraMatrix( const CvMat* cameraMatrix, const CvMat* distCoeffs, distCoeffs 2369 modules/calib3d/src/calibration.cpp icvGetRectangles( cameraMatrix, distCoeffs, 0, cameraMatrix, imgSize, inner, outer ); distCoeffs 2398 modules/calib3d/src/calibration.cpp icvGetRectangles( cameraMatrix, distCoeffs, 0, 0, imgSize, inner, outer ); distCoeffs 2420 modules/calib3d/src/calibration.cpp icvGetRectangles( cameraMatrix, distCoeffs, 0, &matM, imgSize, inner, outer ); distCoeffs 3032 modules/calib3d/src/calibration.cpp Mat distCoeffs = Mat::zeros(distCoeffs0.cols == 1 ? Size(1, 12) : Size(12, 1), rtype); distCoeffs 3042 modules/calib3d/src/calibration.cpp Mat dstCoeffs(distCoeffs, Rect(0, 0, distCoeffs0.cols, distCoeffs0.rows)); distCoeffs 3045 modules/calib3d/src/calibration.cpp return distCoeffs; distCoeffs 3180 modules/calib3d/src/calibration.cpp Mat distCoeffs = _distCoeffs.getMat(); distCoeffs 3181 modules/calib3d/src/calibration.cpp if( distCoeffs.empty() ) distCoeffs 3182 modules/calib3d/src/calibration.cpp distCoeffs = dc0; distCoeffs 3183 modules/calib3d/src/calibration.cpp CvMat c_distCoeffs = distCoeffs; distCoeffs 3184 modules/calib3d/src/calibration.cpp int ndistCoeffs = distCoeffs.rows + distCoeffs.cols - 1; distCoeffs 3223 modules/calib3d/src/calibration.cpp Mat distCoeffs = _distCoeffs.getMat(); distCoeffs 3224 modules/calib3d/src/calibration.cpp distCoeffs = prepareDistCoeffs(distCoeffs, rtype); distCoeffs 3226 modules/calib3d/src/calibration.cpp distCoeffs = distCoeffs.rows == 1 ? distCoeffs.colRange(0, 5) : distCoeffs.rowRange(0, 5); distCoeffs 3235 modules/calib3d/src/calibration.cpp CvMat c_cameraMatrix = cameraMatrix, c_distCoeffs = distCoeffs; distCoeffs 3265 modules/calib3d/src/calibration.cpp distCoeffs.copyTo(_distCoeffs); distCoeffs 3401 modules/calib3d/src/calibration.cpp Mat cameraMatrix = _cameraMatrix.getMat(), distCoeffs = _distCoeffs.getMat(); distCoeffs 3402 modules/calib3d/src/calibration.cpp CvMat c_cameraMatrix = cameraMatrix, c_distCoeffs = distCoeffs; distCoeffs 87 modules/calib3d/src/solvepnp.cpp Mat distCoeffs = Mat_<double>(distCoeffs0); distCoeffs 93 modules/calib3d/src/solvepnp.cpp undistortPoints(ipoints, undistortedPoints, cameraMatrix, distCoeffs); distCoeffs 105 modules/calib3d/src/solvepnp.cpp undistortPoints(ipoints, undistortedPoints, cameraMatrix, distCoeffs); distCoeffs 116 modules/calib3d/src/solvepnp.cpp CvMat c_cameraMatrix = cameraMatrix, c_distCoeffs = distCoeffs; distCoeffs 157 modules/calib3d/src/solvepnp.cpp : cameraMatrix(_cameraMatrix), distCoeffs(_distCoeffs), flags(_flags), useExtrinsicGuess(_useExtrinsicGuess), distCoeffs 166 modules/calib3d/src/solvepnp.cpp bool correspondence = solvePnP( _m1, _m2, cameraMatrix, distCoeffs, distCoeffs 189 modules/calib3d/src/solvepnp.cpp projectPoints(opoints, _rvec, _tvec, cameraMatrix, distCoeffs, projpoints); distCoeffs 204 modules/calib3d/src/solvepnp.cpp Mat distCoeffs; distCoeffs 244 modules/calib3d/src/solvepnp.cpp Mat cameraMatrix = _cameraMatrix.getMat(), distCoeffs = _distCoeffs.getMat(); distCoeffs 256 modules/calib3d/src/solvepnp.cpp cb = makePtr<PnPRansacCallback>( cameraMatrix, distCoeffs, ransac_kernel_method, useExtrinsicGuess, rvec, tvec); distCoeffs 283 modules/calib3d/src/solvepnp.cpp distCoeffs, rvec, tvec, false, flags == SOLVEPNP_P3P ? SOLVEPNP_EPNP : flags) ? 1 : -1; distCoeffs 745 modules/calib3d/test/test_cameracalibration.cpp Mat cameraMatrix, distCoeffs(1,4,CV_64F,Scalar::all(0)); distCoeffs 770 modules/calib3d/test/test_cameracalibration.cpp distCoeffs, distCoeffs 779 modules/calib3d/test/test_cameracalibration.cpp memcpy( _distortionCoeffs, distCoeffs.ptr(), 4*sizeof(double) ); distCoeffs 805 modules/calib3d/test/test_cameracalibration.cpp Mat distCoeffs( 1, 4, CV_64FC1, distortion ); distCoeffs 811 modules/calib3d/test/test_cameracalibration.cpp cameraMatrix, distCoeffs, imagePoints ); distCoeffs 1008 modules/calib3d/test/test_cameracalibration.cpp const Mat& distCoeffs, distCoeffs 1032 modules/calib3d/test/test_cameracalibration.cpp Mat_<float> objPoints( pointCount, 3), rvec( 1, 3), rmat, tvec( 1, 3 ), cameraMatrix( 3, 3 ), distCoeffs( 1, 4 ), distCoeffs 1041 modules/calib3d/test/test_cameracalibration.cpp distCoeffs << 0.1, 0.01, 0.001, 0.001; distCoeffs 1068 modules/calib3d/test/test_cameracalibration.cpp project( objPoints, rvec, tvec, cameraMatrix, distCoeffs, distCoeffs 1086 modules/calib3d/test/test_cameracalibration.cpp cdist = 1+distCoeffs(0,0)*r2+distCoeffs(0,1)*r4; distCoeffs 1087 modules/calib3d/test/test_cameracalibration.cpp validImgPoint.x = static_cast<float>((double)cameraMatrix(0,0)*(x*cdist + (double)distCoeffs(0,2)*a1 + (double)distCoeffs(0,3)*a2) distCoeffs 1089 modules/calib3d/test/test_cameracalibration.cpp validImgPoint.y = static_cast<float>((double)cameraMatrix(1,1)*(y*cdist + (double)distCoeffs(0,2)*a3 + distCoeffs(0,3)*a1) distCoeffs 1108 modules/calib3d/test/test_cameracalibration.cpp project( objPoints, leftRvec, tvec, cameraMatrix, distCoeffs, distCoeffs 1111 modules/calib3d/test/test_cameracalibration.cpp project( objPoints, rightRvec, tvec, cameraMatrix, distCoeffs, distCoeffs 1126 modules/calib3d/test/test_cameracalibration.cpp project( objPoints, rvec, leftTvec, cameraMatrix, distCoeffs, distCoeffs 1129 modules/calib3d/test/test_cameracalibration.cpp project( objPoints, rvec, rightTvec, cameraMatrix, distCoeffs, distCoeffs 1144 modules/calib3d/test/test_cameracalibration.cpp project( objPoints, rvec, tvec, leftCameraMatrix, distCoeffs, distCoeffs 1147 modules/calib3d/test/test_cameracalibration.cpp project( objPoints, rvec, tvec, leftCameraMatrix, distCoeffs, distCoeffs 1150 modules/calib3d/test/test_cameracalibration.cpp project( objPoints, rvec, tvec, rightCameraMatrix, distCoeffs, distCoeffs 1153 modules/calib3d/test/test_cameracalibration.cpp project( objPoints, rvec, tvec, rightCameraMatrix, distCoeffs, distCoeffs 1165 modules/calib3d/test/test_cameracalibration.cpp project( objPoints, rvec, tvec, leftCameraMatrix, distCoeffs, distCoeffs 1168 modules/calib3d/test/test_cameracalibration.cpp project( objPoints, rvec, tvec, leftCameraMatrix, distCoeffs, distCoeffs 1171 modules/calib3d/test/test_cameracalibration.cpp project( objPoints, rvec, tvec, rightCameraMatrix, distCoeffs, distCoeffs 1174 modules/calib3d/test/test_cameracalibration.cpp project( objPoints, rvec, tvec, rightCameraMatrix, distCoeffs, distCoeffs 1184 modules/calib3d/test/test_cameracalibration.cpp leftImgPoints.resize(distCoeffs.cols); distCoeffs 1185 modules/calib3d/test/test_cameracalibration.cpp rightImgPoints.resize(distCoeffs.cols); distCoeffs 1186 modules/calib3d/test/test_cameracalibration.cpp for( int i = 0; i < distCoeffs.cols; i++ ) distCoeffs 1188 modules/calib3d/test/test_cameracalibration.cpp distCoeffs.copyTo( leftDistCoeffs ); leftDistCoeffs(0,i) -= dEps; distCoeffs 1191 modules/calib3d/test/test_cameracalibration.cpp distCoeffs.copyTo( rightDistCoeffs ); rightDistCoeffs(0,i) += dEps; distCoeffs 1217 modules/calib3d/test/test_cameracalibration.cpp const Mat& distCoeffs, distCoeffs 1225 modules/calib3d/test/test_cameracalibration.cpp const Mat& cameraMatrix, const Mat& distCoeffs, vector<Point2f>& ipoints, distCoeffs 1234 modules/calib3d/test/test_cameracalibration.cpp dpddist.create(npoints*2, distCoeffs.rows + distCoeffs.cols - 1, CV_64F); distCoeffs 1236 modules/calib3d/test/test_cameracalibration.cpp CvMat _rvec = rvec, _tvec = tvec, _cameraMatrix = cameraMatrix, _distCoeffs = distCoeffs; distCoeffs 1253 modules/calib3d/test/test_cameracalibration.cpp const Mat& distCoeffs, distCoeffs 1261 modules/calib3d/test/test_cameracalibration.cpp const Mat& cameraMatrix, const Mat& distCoeffs, vector<Point2f>& imagePoints, distCoeffs 1265 modules/calib3d/test/test_cameracalibration.cpp projectPoints( objectPoints, rvec, tvec, cameraMatrix, distCoeffs, imagePoints, J, aspectRatio); distCoeffs 136 modules/calib3d/test/test_cameracalibration_artificial.cpp void compareDistCoeffs(const Mat_<double>& distCoeffs, const Mat& distCoeffs_est) distCoeffs 143 modules/calib3d/test/test_cameracalibration_artificial.cpp double k1 = distCoeffs(0, 0), k2 = distCoeffs(0, 1), k3 = distCoeffs(0, 4); distCoeffs 144 modules/calib3d/test/test_cameracalibration_artificial.cpp double p1 = distCoeffs(0, 2), p2 = distCoeffs(0, 3); distCoeffs 254 modules/calib3d/test/test_cameracalibration_artificial.cpp void prepareForTest(const Mat& bg, const Mat& camMat, const Mat& distCoeffs, size_t brdsNum, const ChessBoardGenerator& cbg) distCoeffs 277 modules/calib3d/test/test_cameracalibration_artificial.cpp boards[i] = cbg(bg, camMat, distCoeffs, sqSile, corners_art); distCoeffs 294 modules/calib3d/test/test_cameracalibration_artificial.cpp void runTest(const Size& imgSize, const Mat_<double>& camMat, const Mat_<double>& distCoeffs, size_t brdsNum, const Size& cornersSize, int flag = 0) distCoeffs 345 modules/calib3d/test/test_cameracalibration_artificial.cpp compareDistCoeffs(distCoeffs, distCoeffs_est); distCoeffs 363 modules/calib3d/test/test_cameracalibration_artificial.cpp solvePnP(Mat(objectPoints[i]), Mat(imagePoints[i]), camMat, distCoeffs, rvecs_spnp[i], tvecs_spnp[i]); distCoeffs 401 modules/calib3d/test/test_cameracalibration_artificial.cpp Mat_<double> distCoeffs(1, 5, 0.0); distCoeffs 402 modules/calib3d/test/test_cameracalibration_artificial.cpp distCoeffs << k1, k2, p1, p2, k3; distCoeffs 410 modules/calib3d/test/test_cameracalibration_artificial.cpp prepareForTest(bg, camMat, distCoeffs, brds_num, cbg); distCoeffs 413 modules/calib3d/test/test_cameracalibration_artificial.cpp runTest(bg.size(), camMat, distCoeffs, brds_num, cbg.cornersSize(), ARTIFICIAL_CORNERS); distCoeffs 417 modules/calib3d/test/test_cameracalibration_artificial.cpp runTest(bg.size(), camMat, distCoeffs, brds_num, cbg.cornersSize(), JUST_FIND_CORNERS); distCoeffs 421 modules/calib3d/test/test_cameracalibration_artificial.cpp runTest(bg.size(), camMat, distCoeffs, brds_num, cbg.cornersSize(), USE_CORNERS_SUBPIX); distCoeffs 425 modules/calib3d/test/test_cameracalibration_artificial.cpp runTest(bg.size(), camMat, distCoeffs, brds_num, cbg.cornersSize(), USE_4QUAD_CORNERS); distCoeffs 74 modules/calib3d/test/test_cameracalibration_badarg.cpp CvMat *distCoeffs; distCoeffs 82 modules/calib3d/test/test_cameracalibration_badarg.cpp cameraMatrix, distCoeffs, rvecs, tvecs, flags ); distCoeffs 102 modules/calib3d/test/test_cameracalibration_badarg.cpp CvMat objPts, imgPts, npoints, cameraMatrix, distCoeffs, rvecs, tvecs; distCoeffs 111 modules/calib3d/test/test_cameracalibration_badarg.cpp caller.distCoeffs = &distCoeffs; distCoeffs 147 modules/calib3d/test/test_cameracalibration_badarg.cpp distCoeffs = distCoeffs_cpp; distCoeffs 171 modules/calib3d/test/test_cameracalibration_badarg.cpp bad_caller.distCoeffs = 0; distCoeffs 252 modules/calib3d/test/test_cameracalibration_badarg.cpp bad_caller.distCoeffs = &bad_distCoeffs_c1; distCoeffs 256 modules/calib3d/test/test_cameracalibration_badarg.cpp bad_caller.distCoeffs = &bad_distCoeffs_c2; distCoeffs 261 modules/calib3d/test/test_cameracalibration_badarg.cpp bad_caller.distCoeffs = &bad_distCoeffs_c3; distCoeffs 461 modules/calib3d/test/test_cameracalibration_badarg.cpp distCoeffs << 1.2f, 0.2f, 0.f, 0.f, 0.f; distCoeffs 468 modules/calib3d/test/test_cameracalibration_badarg.cpp Mat_<float> distCoeffs; distCoeffs 476 modules/calib3d/test/test_cameracalibration_badarg.cpp CvMat* distCoeffs; distCoeffs 487 modules/calib3d/test/test_cameracalibration_badarg.cpp cvProjectPoints2( objectPoints, r_vec, t_vec, A, distCoeffs, imagePoints, distCoeffs 514 modules/calib3d/test/test_cameracalibration_badarg.cpp Mat distCoeffs_cpp = distCoeffs.clone(); distCoeffs_c = distCoeffs_cpp; distCoeffs 527 modules/calib3d/test/test_cameracalibration_badarg.cpp caller.distCoeffs = &distCoeffs_c; distCoeffs 611 modules/calib3d/test/test_cameracalibration_badarg.cpp bad_caller.distCoeffs = &zeros; distCoeffs 615 modules/calib3d/test/test_cameracalibration_badarg.cpp bad_caller.distCoeffs = &bad_distCoeffs_c1; distCoeffs 619 modules/calib3d/test/test_cameracalibration_badarg.cpp bad_caller.distCoeffs = &bad_distCoeffs_c2; distCoeffs 623 modules/calib3d/test/test_cameracalibration_badarg.cpp bad_caller.distCoeffs = &bad_distCoeffs_c3; distCoeffs 723 modules/calib3d/test/test_cameracalibration_badarg.cpp bad_caller.distCoeffs = 0; distCoeffs 109 modules/calib3d/test/test_chessboardgenerator.cpp Mat cv::ChessBoardGenerator::generateChessBoard(const Mat& bg, const Mat& camMat, const Mat& distCoeffs, distCoeffs 131 modules/calib3d/test/test_chessboardgenerator.cpp projectPoints(Mat(pts_square3d), rvec, tvec, camMat, distCoeffs, pts_square2d); distCoeffs 144 modules/calib3d/test/test_chessboardgenerator.cpp projectPoints(Mat(corners3d), rvec, tvec, camMat, distCoeffs, corners); distCoeffs 152 modules/calib3d/test/test_chessboardgenerator.cpp projectPoints(Mat(whole3d), rvec, tvec, camMat, distCoeffs, whole2d); distCoeffs 179 modules/calib3d/test/test_chessboardgenerator.cpp Mat cv::ChessBoardGenerator::operator ()(const Mat& bg, const Mat& camMat, const Mat& distCoeffs, vector<Point2f>& corners) const distCoeffs 218 modules/calib3d/test/test_chessboardgenerator.cpp projectPoints(Mat(pts3d), rvec, tvec, camMat, distCoeffs, pts2d); distCoeffs 239 modules/calib3d/test/test_chessboardgenerator.cpp return generateChessBoard(bg, camMat, distCoeffs, zero, pb1, pb2, sqWidth, sqHeight, pts3d, corners); distCoeffs 243 modules/calib3d/test/test_chessboardgenerator.cpp Mat cv::ChessBoardGenerator::operator ()(const Mat& bg, const Mat& camMat, const Mat& distCoeffs, distCoeffs 283 modules/calib3d/test/test_chessboardgenerator.cpp projectPoints(Mat(pts3d), rvec, tvec, camMat, distCoeffs, pts2d); distCoeffs 298 modules/calib3d/test/test_chessboardgenerator.cpp return generateChessBoard(bg, camMat, distCoeffs, zero, pb1, pb2, distCoeffs 302 modules/calib3d/test/test_chessboardgenerator.cpp Mat cv::ChessBoardGenerator::operator ()(const Mat& bg, const Mat& camMat, const Mat& distCoeffs, distCoeffs 325 modules/calib3d/test/test_chessboardgenerator.cpp projectPoints(Mat(pts3d), rvec, tvec, camMat, distCoeffs, pts2d); distCoeffs 329 modules/calib3d/test/test_chessboardgenerator.cpp return generateChessBoard(bg, camMat, distCoeffs, zero, pb1, pb2, distCoeffs 21 modules/calib3d/test/test_chessboardgenerator.hpp Mat operator()(const Mat& bg, const Mat& camMat, const Mat& distCoeffs, std::vector<Point2f>& corners) const; distCoeffs 22 modules/calib3d/test/test_chessboardgenerator.hpp Mat operator()(const Mat& bg, const Mat& camMat, const Mat& distCoeffs, const Size2f& squareSize, std::vector<Point2f>& corners) const; distCoeffs 23 modules/calib3d/test/test_chessboardgenerator.hpp Mat operator()(const Mat& bg, const Mat& camMat, const Mat& distCoeffs, const Size2f& squareSize, const Point3f& pos, std::vector<Point2f>& corners) const; distCoeffs 29 modules/calib3d/test/test_chessboardgenerator.hpp Mat generateChessBoard(const Mat& bg, const Mat& camMat, const Mat& distCoeffs, distCoeffs 384 modules/calib3d/test/test_chesscorners.cpp Mat_<float> distCoeffs(1, 5); distCoeffs 385 modules/calib3d/test/test_chesscorners.cpp distCoeffs << 1.2f, 0.2f, 0.f, 0.f, 0.f; distCoeffs 398 modules/calib3d/test/test_chesscorners.cpp Mat cb = cbg(bg, camMat, distCoeffs, corners_generated); distCoeffs 442 modules/calib3d/test/test_chesscorners.cpp Mat cb = cbg(bg, camMat, distCoeffs, cg); distCoeffs 107 modules/calib3d/test/test_chesscorners_badarg.cpp Mat_<float> distCoeffs(1, 5); distCoeffs 108 modules/calib3d/test/test_chesscorners_badarg.cpp distCoeffs << 1.2f, 0.2f, 0.f, 0.f, 0.f; distCoeffs 112 modules/calib3d/test/test_chesscorners_badarg.cpp Mat cb = cbg(bg, camMat, distCoeffs, exp_corn); distCoeffs 95 modules/calib3d/test/test_solvepnp_ransac.cpp void generateDistCoeffs(Mat& distCoeffs, RNG& rng) distCoeffs 97 modules/calib3d/test/test_solvepnp_ransac.cpp distCoeffs = Mat::zeros(4, 1, CV_64FC1); distCoeffs 99 modules/calib3d/test/test_solvepnp_ransac.cpp distCoeffs.at<double>(i,0) = rng.uniform(0.0, 1.0e-6); distCoeffs 120 modules/calib3d/test/test_solvepnp_ransac.cpp Mat intrinsics, distCoeffs; distCoeffs 124 modules/calib3d/test/test_solvepnp_ransac.cpp distCoeffs = Mat::zeros(4, 1, CV_64FC1); distCoeffs 126 modules/calib3d/test/test_solvepnp_ransac.cpp generateDistCoeffs(distCoeffs, rng); distCoeffs 131 modules/calib3d/test/test_solvepnp_ransac.cpp projectPoints(Mat(points), trueRvec, trueTvec, intrinsics, distCoeffs, projectedPoints); distCoeffs 140 modules/calib3d/test/test_solvepnp_ransac.cpp solvePnPRansac(points, projectedPoints, intrinsics, distCoeffs, rvec, tvec, distCoeffs 215 modules/calib3d/test/test_solvepnp_ransac.cpp Mat intrinsics, distCoeffs; distCoeffs 219 modules/calib3d/test/test_solvepnp_ransac.cpp distCoeffs = Mat::zeros(4, 1, CV_64FC1); distCoeffs 221 modules/calib3d/test/test_solvepnp_ransac.cpp generateDistCoeffs(distCoeffs, rng); distCoeffs 238 modules/calib3d/test/test_solvepnp_ransac.cpp projectPoints(Mat(opoints), trueRvec, trueTvec, intrinsics, distCoeffs, projectedPoints); distCoeffs 240 modules/calib3d/test/test_solvepnp_ransac.cpp solvePnP(opoints, projectedPoints, intrinsics, distCoeffs, rvec, tvec, distCoeffs 18 modules/calib3d/test/test_undistort_points.cpp void generateDistCoeffs(Mat& distCoeffs, int count); distCoeffs 56 modules/calib3d/test/test_undistort_points.cpp void CV_UndistortTest::generateDistCoeffs(Mat& distCoeffs, int count) distCoeffs 58 modules/calib3d/test/test_undistort_points.cpp distCoeffs = Mat::zeros(count, 1, CV_64FC1); distCoeffs 60 modules/calib3d/test/test_undistort_points.cpp distCoeffs.at<double>(i,0) = rng.uniform(0.0, 1.0e-3); distCoeffs 65 modules/calib3d/test/test_undistort_points.cpp Mat intrinsics, distCoeffs; distCoeffs 75 modules/calib3d/test/test_undistort_points.cpp generateDistCoeffs(distCoeffs, modelMembersCount[idx]); distCoeffs 76 modules/calib3d/test/test_undistort_points.cpp projectPoints(Mat(points), Mat::zeros(3,1,CV_64FC1), Mat::zeros(3,1,CV_64FC1), intrinsics, distCoeffs, projectedPoints); distCoeffs 82 modules/calib3d/test/test_undistort_points.cpp undistortPoints(Mat(projectedPoints), undistortedPoints, intrinsics, distCoeffs); distCoeffs 2580 modules/imgproc/include/opencv2/imgproc.hpp InputArray distCoeffs, distCoeffs 2625 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void initUndistortRectifyMap( InputArray cameraMatrix, InputArray distCoeffs, distCoeffs 2630 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W float initWideAngleProjMap( InputArray cameraMatrix, InputArray distCoeffs, distCoeffs 2698 modules/imgproc/include/opencv2/imgproc.hpp InputArray cameraMatrix, InputArray distCoeffs, distCoeffs 1152 modules/imgproc/misc/java/test/ImgprocTest.java Mat distCoeffs = new Mat(); distCoeffs 1157 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.initUndistortRectifyMap(cameraMatrix, distCoeffs, R, newCameraMatrix, size, CvType.CV_32F, map1, map2); distCoeffs 1163 modules/imgproc/misc/java/test/ImgprocTest.java Mat distCoeffs = new Mat(1, 4, CvType.CV_32F); distCoeffs 1170 modules/imgproc/misc/java/test/ImgprocTest.java distCoeffs.put(0, 0, 1, 3, 2, 4); distCoeffs 1760 modules/imgproc/misc/java/test/ImgprocTest.java Mat distCoeffs = new Mat(1, 4, CvType.CV_32F) { distCoeffs 1766 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.undistort(src, dst, cameraMatrix, distCoeffs); distCoeffs 1787 modules/imgproc/misc/java/test/ImgprocTest.java Mat distCoeffs = new Mat(1, 4, CvType.CV_32F) { distCoeffs 1794 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.undistort(src, dst, cameraMatrix, distCoeffs, newCameraMatrix); distCoeffs 1805 modules/imgproc/misc/java/test/ImgprocTest.java Mat distCoeffs = new Mat(8, 1, CvType.CV_64FC1, new Scalar(0)); distCoeffs 1807 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.undistortPoints(src, dst, cameraMatrix, distCoeffs); distCoeffs 66 modules/imgproc/src/undistort.cpp Mat cameraMatrix = _cameraMatrix.getMat(), distCoeffs = _distCoeffs.getMat(); distCoeffs 93 modules/imgproc/src/undistort.cpp if( !distCoeffs.empty() ) distCoeffs 94 modules/imgproc/src/undistort.cpp distCoeffs = Mat_<double>(distCoeffs); distCoeffs 97 modules/imgproc/src/undistort.cpp distCoeffs.create(12, 1, CV_64F); distCoeffs 98 modules/imgproc/src/undistort.cpp distCoeffs = 0.; distCoeffs 109 modules/imgproc/src/undistort.cpp CV_Assert( distCoeffs.size() == Size(1, 4) || distCoeffs.size() == Size(4, 1) || distCoeffs 110 modules/imgproc/src/undistort.cpp distCoeffs.size() == Size(1, 5) || distCoeffs.size() == Size(5, 1) || distCoeffs 111 modules/imgproc/src/undistort.cpp distCoeffs.size() == Size(1, 8) || distCoeffs.size() == Size(8, 1) || distCoeffs 112 modules/imgproc/src/undistort.cpp distCoeffs.size() == Size(1, 12) || distCoeffs.size() == Size(12, 1)); distCoeffs 114 modules/imgproc/src/undistort.cpp if( distCoeffs.rows != 1 && !distCoeffs.isContinuous() ) distCoeffs 115 modules/imgproc/src/undistort.cpp distCoeffs = distCoeffs.t(); distCoeffs 117 modules/imgproc/src/undistort.cpp const double* const distPtr = distCoeffs.ptr<double>(); distCoeffs 122 modules/imgproc/src/undistort.cpp double k3 = distCoeffs.cols + distCoeffs.rows - 1 >= 5 ? distPtr[4] : 0.; distCoeffs 123 modules/imgproc/src/undistort.cpp double k4 = distCoeffs.cols + distCoeffs.rows - 1 >= 8 ? distPtr[5] : 0.; distCoeffs 124 modules/imgproc/src/undistort.cpp double k5 = distCoeffs.cols + distCoeffs.rows - 1 >= 8 ? distPtr[6] : 0.; distCoeffs 125 modules/imgproc/src/undistort.cpp double k6 = distCoeffs.cols + distCoeffs.rows - 1 >= 8 ? distPtr[7] : 0.; distCoeffs 126 modules/imgproc/src/undistort.cpp double s1 = distCoeffs.cols + distCoeffs.rows - 1 >= 12 ? distPtr[8] : 0.; distCoeffs 127 modules/imgproc/src/undistort.cpp double s2 = distCoeffs.cols + distCoeffs.rows - 1 >= 12 ? distPtr[9] : 0.; distCoeffs 128 modules/imgproc/src/undistort.cpp double s3 = distCoeffs.cols + distCoeffs.rows - 1 >= 12 ? distPtr[10] : 0.; distCoeffs 129 modules/imgproc/src/undistort.cpp double s4 = distCoeffs.cols + distCoeffs.rows - 1 >= 12 ? distPtr[11] : 0.; distCoeffs 174 modules/imgproc/src/undistort.cpp Mat distCoeffs = _distCoeffs.getMat(), newCameraMatrix = _newCameraMatrix.getMat(); distCoeffs 187 modules/imgproc/src/undistort.cpp if( !distCoeffs.empty() ) distCoeffs 188 modules/imgproc/src/undistort.cpp distCoeffs = Mat_<double>(distCoeffs); distCoeffs 191 modules/imgproc/src/undistort.cpp distCoeffs.create(5, 1, CV_64F); distCoeffs 192 modules/imgproc/src/undistort.cpp distCoeffs = 0.; distCoeffs 209 modules/imgproc/src/undistort.cpp initUndistortRectifyMap( A, distCoeffs, I, Ar, Size(src.cols, stripe_size), distCoeffs 220 modules/imgproc/src/undistort.cpp cv::Mat A = cv::cvarrToMat(Aarr), distCoeffs = cv::cvarrToMat(dist_coeffs), newA; distCoeffs 225 modules/imgproc/src/undistort.cpp cv::undistort( src, dst, A, distCoeffs, newA ); distCoeffs 232 modules/imgproc/src/undistort.cpp cv::Mat A = cv::cvarrToMat(Aarr), distCoeffs = cv::cvarrToMat(dist_coeffs); distCoeffs 238 modules/imgproc/src/undistort.cpp cv::initUndistortRectifyMap( A, distCoeffs, cv::Mat(), A, distCoeffs 247 modules/imgproc/src/undistort.cpp cv::Mat A = cv::cvarrToMat(Aarr), distCoeffs, R, Ar; distCoeffs 254 modules/imgproc/src/undistort.cpp distCoeffs = cv::cvarrToMat(dist_coeffs); distCoeffs 260 modules/imgproc/src/undistort.cpp cv::initUndistortRectifyMap( A, distCoeffs, R, Ar, mapx.size(), mapx.type(), mapx, mapy ); distCoeffs 398 modules/imgproc/src/undistort.cpp Mat distCoeffs = _distCoeffs.getMat(), R = _Rmat.getMat(), P = _Pmat.getMat(); distCoeffs 412 modules/imgproc/src/undistort.cpp if( !distCoeffs.empty() ) distCoeffs 413 modules/imgproc/src/undistort.cpp pD = &(_cdistCoeffs = distCoeffs); distCoeffs 504 modules/imgproc/src/undistort.cpp Mat distCoeffs(distCoeffs0.rows, distCoeffs0.cols, CV_MAKETYPE(CV_64F,distCoeffs0.channels()), k); distCoeffs 518 modules/imgproc/src/undistort.cpp distCoeffs0.convertTo(distCoeffs,CV_64F); distCoeffs 528 modules/imgproc/src/undistort.cpp undistortPoints(uvec, vvec, cameraMatrix, distCoeffs, I, I); distCoeffs 88 samples/cpp/3calibration.cpp Mat distCoeffs = Mat::zeros(5, 1, CV_64F); distCoeffs 91 samples/cpp/3calibration.cpp distCoeffs, rvecs, tvecs, distCoeffs 93 samples/cpp/3calibration.cpp bool ok = checkRange(cameraMatrix) && checkRange(distCoeffs); distCoeffs 102 samples/cpp/3calibration.cpp cameraMatrix1 = cameraMatrix, distCoeffs1 = distCoeffs; distCoeffs 104 samples/cpp/3calibration.cpp cameraMatrix2 = cameraMatrix, distCoeffs2 = distCoeffs; distCoeffs 106 samples/cpp/3calibration.cpp cameraMatrix3 = cameraMatrix, distCoeffs3 = distCoeffs; distCoeffs 136 samples/cpp/3calibration.cpp Mat distCoeffs = c == 2 ? distCoeffs2 : distCoeffs3; distCoeffs 139 samples/cpp/3calibration.cpp cameraMatrix, distCoeffs, distCoeffs 147 samples/cpp/3calibration.cpp distCoeffs2 = distCoeffs; distCoeffs 247 samples/cpp/3calibration.cpp Mat cameraMatrix[3], distCoeffs[3], R[3], P[3], R12, T12; distCoeffs 253 samples/cpp/3calibration.cpp distCoeffs[k] = Mat_<double>::zeros(5,1); distCoeffs 296 samples/cpp/3calibration.cpp cameraMatrix[0], distCoeffs[0], distCoeffs 297 samples/cpp/3calibration.cpp cameraMatrix[1], distCoeffs[1], distCoeffs 298 samples/cpp/3calibration.cpp cameraMatrix[2], distCoeffs[2], distCoeffs 307 samples/cpp/3calibration.cpp fs << "distCoeffs1" << distCoeffs[0]; distCoeffs 308 samples/cpp/3calibration.cpp fs << "distCoeffs2" << distCoeffs[1]; distCoeffs 309 samples/cpp/3calibration.cpp fs << "distCoeffs3" << distCoeffs[2]; distCoeffs 322 samples/cpp/3calibration.cpp double ratio = rectify3Collinear(cameraMatrix[0], distCoeffs[0], cameraMatrix[1], distCoeffs 323 samples/cpp/3calibration.cpp distCoeffs[1], cameraMatrix[2], distCoeffs[2], distCoeffs 344 samples/cpp/3calibration.cpp initUndistortRectifyMap(cameraMatrix[k], distCoeffs[k], R[k], P[k], imageSize, CV_16SC2, map1[k], map2[k]); distCoeffs 89 samples/cpp/calibration.cpp const Mat& cameraMatrix, const Mat& distCoeffs, distCoeffs 100 samples/cpp/calibration.cpp cameraMatrix, distCoeffs, imagePoints2); distCoeffs 140 samples/cpp/calibration.cpp int flags, Mat& cameraMatrix, Mat& distCoeffs, distCoeffs 149 samples/cpp/calibration.cpp distCoeffs = Mat::zeros(8, 1, CV_64F); distCoeffs 157 samples/cpp/calibration.cpp distCoeffs, rvecs, tvecs, flags|CALIB_FIX_K4|CALIB_FIX_K5); distCoeffs 161 samples/cpp/calibration.cpp bool ok = checkRange(cameraMatrix) && checkRange(distCoeffs); distCoeffs 164 samples/cpp/calibration.cpp rvecs, tvecs, cameraMatrix, distCoeffs, reprojErrs); distCoeffs 173 samples/cpp/calibration.cpp const Mat& cameraMatrix, const Mat& distCoeffs, distCoeffs 213 samples/cpp/calibration.cpp fs << "distortion_coefficients" << distCoeffs; distCoeffs 271 samples/cpp/calibration.cpp Mat& distCoeffs, bool writeExtrinsics, bool writePoints ) distCoeffs 278 samples/cpp/calibration.cpp aspectRatio, flags, cameraMatrix, distCoeffs, distCoeffs 287 samples/cpp/calibration.cpp flags, cameraMatrix, distCoeffs, distCoeffs 301 samples/cpp/calibration.cpp Mat cameraMatrix, distCoeffs; distCoeffs 456 samples/cpp/calibration.cpp flags, cameraMatrix, distCoeffs, distCoeffs 524 samples/cpp/calibration.cpp undistort(temp, view, cameraMatrix, distCoeffs); distCoeffs 546 samples/cpp/calibration.cpp flags, cameraMatrix, distCoeffs, distCoeffs 559 samples/cpp/calibration.cpp initUndistortRectifyMap(cameraMatrix, distCoeffs, Mat(), distCoeffs 560 samples/cpp/calibration.cpp getOptimalNewCameraMatrix(cameraMatrix, distCoeffs, imageSize, 1, imageSize, 0), distCoeffs 87 samples/cpp/select3dobj.cpp Mat& cameraMatrix, Mat& distCoeffs, distCoeffs 93 samples/cpp/select3dobj.cpp fs["distortion_coefficients"] >> distCoeffs; distCoeffs 96 samples/cpp/select3dobj.cpp if( distCoeffs.type() != CV_64F ) distCoeffs 97 samples/cpp/select3dobj.cpp distCoeffs = Mat_<double>(distCoeffs); distCoeffs 467 samples/cpp/select3dobj.cpp Mat cameraMatrix, distCoeffs; distCoeffs 469 samples/cpp/select3dobj.cpp readCameraMatrix(intrinsicsFilename, cameraMatrix, distCoeffs, calibratedImageSize ); distCoeffs 553 samples/cpp/select3dobj.cpp initUndistortRectifyMap(cameraMatrix, distCoeffs, Mat(), distCoeffs 556 samples/cpp/select3dobj.cpp distCoeffs = Mat::zeros(5, 1, CV_64F); distCoeffs 565 samples/cpp/select3dobj.cpp distCoeffs, rvec, tvec, false); distCoeffs 167 samples/cpp/stereo_calib.cpp Mat cameraMatrix[2], distCoeffs[2]; distCoeffs 173 samples/cpp/stereo_calib.cpp cameraMatrix[0], distCoeffs[0], distCoeffs 174 samples/cpp/stereo_calib.cpp cameraMatrix[1], distCoeffs[1], distCoeffs 199 samples/cpp/stereo_calib.cpp undistortPoints(imgpt[k], imgpt[k], cameraMatrix[k], distCoeffs[k], Mat(), cameraMatrix[k]); distCoeffs 218 samples/cpp/stereo_calib.cpp fs << "M1" << cameraMatrix[0] << "D1" << distCoeffs[0] << distCoeffs 219 samples/cpp/stereo_calib.cpp "M2" << cameraMatrix[1] << "D2" << distCoeffs[1]; distCoeffs 228 samples/cpp/stereo_calib.cpp stereoRectify(cameraMatrix[0], distCoeffs[0], distCoeffs 229 samples/cpp/stereo_calib.cpp cameraMatrix[1], distCoeffs[1], distCoeffs 279 samples/cpp/stereo_calib.cpp initUndistortRectifyMap(cameraMatrix[0], distCoeffs[0], R1, P1, imageSize, CV_16SC2, rmap[0][0], rmap[0][1]); distCoeffs 280 samples/cpp/stereo_calib.cpp initUndistortRectifyMap(cameraMatrix[1], distCoeffs[1], R2, P2, imageSize, CV_16SC2, rmap[1][0], rmap[1][1]); distCoeffs 221 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp bool runCalibrationAndSave(Settings& s, Size imageSize, Mat& cameraMatrix, Mat& distCoeffs, distCoeffs 251 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp Mat cameraMatrix, distCoeffs; distCoeffs 269 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if( runCalibrationAndSave(s, imageSize, cameraMatrix, distCoeffs, imagePoints)) distCoeffs 278 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp runCalibrationAndSave(s, imageSize, cameraMatrix, distCoeffs, imagePoints); distCoeffs 357 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp undistort(temp, view, cameraMatrix, distCoeffs); distCoeffs 384 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp initUndistortRectifyMap(cameraMatrix, distCoeffs, Mat(), distCoeffs 385 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp getOptimalNewCameraMatrix(cameraMatrix, distCoeffs, imageSize, 1, imageSize, 0), distCoeffs 409 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp const Mat& cameraMatrix , const Mat& distCoeffs, distCoeffs 419 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp projectPoints(objectPoints[i], rvecs[i], tvecs[i], cameraMatrix, distCoeffs, imagePoints2); distCoeffs 456 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp static bool runCalibration( Settings& s, Size& imageSize, Mat& cameraMatrix, Mat& distCoeffs, distCoeffs 465 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp distCoeffs = Mat::zeros(8, 1, CV_64F); distCoeffs 474 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp distCoeffs, rvecs, tvecs, s.flag|CALIB_FIX_K4|CALIB_FIX_K5); distCoeffs 478 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp bool ok = checkRange(cameraMatrix) && checkRange(distCoeffs); distCoeffs 481 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp rvecs, tvecs, cameraMatrix, distCoeffs, reprojErrs); distCoeffs 487 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp static void saveCameraParams( Settings& s, Size& imageSize, Mat& cameraMatrix, Mat& distCoeffs, distCoeffs 526 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp fs << "distortion_coefficients" << distCoeffs; distCoeffs 565 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp bool runCalibrationAndSave(Settings& s, Size imageSize, Mat& cameraMatrix, Mat& distCoeffs, distCoeffs 572 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp bool ok = runCalibration(s, imageSize, cameraMatrix, distCoeffs, imagePoints, rvecs, tvecs, reprojErrs, distCoeffs 578 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp saveCameraParams(s, imageSize, cameraMatrix, distCoeffs, rvecs, tvecs, reprojErrs, imagePoints, distCoeffs 113 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Mat distCoeffs = cv::Mat::zeros(4, 1, CV_64FC1); distCoeffs 120 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp bool correspondence = cv::solvePnP( list_points3d, list_points2d, _A_matrix, distCoeffs, rvec, tvec, distCoeffs 140 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Mat distCoeffs = cv::Mat::zeros(4, 1, CV_64FC1); // vector of distortion coefficients distCoeffs 147 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::solvePnPRansac( list_points3d, list_points2d, _A_matrix, distCoeffs, rvec, tvec,