1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +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
+3 -3
View File
@@ -475,15 +475,15 @@ void cv::undistortPoints( InputArray _src, OutputArray _dst,
InputArray _Rmat,
InputArray _Pmat )
{
undistortPoints(_src, _dst, _cameraMatrix, _distCoeffs, TermCriteria(TermCriteria::MAX_ITER, 5, 0.01), _Rmat, _Pmat);
undistortPoints(_src, _dst, _cameraMatrix, _distCoeffs, _Rmat, _Pmat, TermCriteria(TermCriteria::MAX_ITER, 5, 0.01));
}
void cv::undistortPoints( InputArray _src, OutputArray _dst,
InputArray _cameraMatrix,
InputArray _distCoeffs,
TermCriteria criteria,
InputArray _Rmat,
InputArray _Pmat )
InputArray _Pmat,
TermCriteria criteria)
{
Mat src = _src.getMat(), cameraMatrix = _cameraMatrix.getMat();
Mat distCoeffs = _distCoeffs.getMat(), R = _Rmat.getMat(), P = _Pmat.getMat();