1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

Merge branch 4.x

This commit is contained in:
Alexander Alekhin
2023-01-09 11:08:02 +00:00
880 changed files with 83958 additions and 9368 deletions
+2 -2
View File
@@ -405,7 +405,7 @@ void cv::fisheye::undistortPoints( InputArray distorted, OutputArray undistorted
if (!isEps || fabs(theta_d) > criteria.epsilon)
{
// compensate distortion iteratively
// compensate distortion iteratively using Newton method
for (int j = 0; j < maxCount; j++)
{
@@ -613,7 +613,7 @@ void cv::fisheye::estimateNewCameraMatrixForUndistortRectify(InputArray K, Input
: K.getMat().at<double>(0,0)/K.getMat().at<double>(1,1);
// convert to identity ratio
cn[0] *= aspect_ratio;
cn[1] *= aspect_ratio;
for(size_t i = 0; i < points.total(); ++i)
pptr[i][1] *= aspect_ratio;