Lines Matching defs:distCoeffs
136 void compareDistCoeffs(const Mat_<double>& distCoeffs, const Mat& distCoeffs_est)
143 double k1 = distCoeffs(0, 0), k2 = distCoeffs(0, 1), k3 = distCoeffs(0, 4);
144 double p1 = distCoeffs(0, 2), p2 = distCoeffs(0, 3);
254 void prepareForTest(const Mat& bg, const Mat& camMat, const Mat& distCoeffs, size_t brdsNum, const ChessBoardGenerator& cbg)
277 boards[i] = cbg(bg, camMat, distCoeffs, sqSile, corners_art);
294 void runTest(const Size& imgSize, const Mat_<double>& camMat, const Mat_<double>& distCoeffs, size_t brdsNum, const Size& cornersSize, int flag = 0)
345 compareDistCoeffs(distCoeffs, distCoeffs_est);
363 solvePnP(Mat(objectPoints[i]), Mat(imagePoints[i]), camMat, distCoeffs, rvecs_spnp[i], tvecs_spnp[i]);
401 Mat_<double> distCoeffs(1, 5, 0.0);
402 distCoeffs << k1, k2, p1, p2, k3;
410 prepareForTest(bg, camMat, distCoeffs, brds_num, cbg);
413 runTest(bg.size(), camMat, distCoeffs, brds_num, cbg.cornersSize(), ARTIFICIAL_CORNERS);
417 runTest(bg.size(), camMat, distCoeffs, brds_num, cbg.cornersSize(), JUST_FIND_CORNERS);
421 runTest(bg.size(), camMat, distCoeffs
425 runTest(bg.size(), camMat, distCoeffs, brds_num, cbg.cornersSize(), USE_4QUAD_CORNERS);