1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

imgproc: slightly change the signature of undistortPoints overload

This commit is contained in:
Vladislav Sovrasov
2017-09-14 11:13:36 +03:00
parent 701c7e5685
commit b421ebef86
3 changed files with 6 additions and 7 deletions
@@ -107,7 +107,7 @@ TEST(Calib3d_Undistort, stop_criteria)
const double maxError = 1e-6;
TermCriteria criteria(TermCriteria::MAX_ITER + TermCriteria::EPS, 100, maxError);
std::vector<Point2d> pt_undist_vec;
undistortPoints(pt_distorted_vec, pt_undist_vec, cameraMatrix, distCoeffs, criteria);
undistortPoints(pt_distorted_vec, pt_undist_vec, cameraMatrix, distCoeffs, noArray(), noArray(), criteria);
std::vector<Point2d> pt_redistorted_vec;
std::vector<Point3d> pt_undist_vec_homogeneous;