[opencv] 48/251: calib3d: fix not working CALIB_FIX_TANGENT_DIST flag

Nobuhiro Iwamatsu iwamatsu at moszumanska.debian.org
Sun Aug 27 23:27:23 UTC 2017


This is an automated email from the git hooks/post-receive script.

iwamatsu pushed a commit to annotated tag 3.3.0
in repository opencv.

commit fa17267e05ea9b8afb7138a12322beeb811e1585
Author: Vladislav Sovrasov <sovrasov.vlad at gmail.com>
Date:   Thu Jul 13 10:49:35 2017 +0300

    calib3d: fix not working CALIB_FIX_TANGENT_DIST flag
---
 modules/calib3d/src/calibration.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/calib3d/src/calibration.cpp b/modules/calib3d/src/calibration.cpp
index 4234687..110d021 100644
--- a/modules/calib3d/src/calibration.cpp
+++ b/modules/calib3d/src/calibration.cpp
@@ -1518,7 +1518,7 @@ static double cvCalibrateCamera2Internal( const CvMat* objectPoints,
     mask[ 5] = !(flags & CALIB_FIX_K2);
     if( flags & CALIB_FIX_TANGENT_DIST )
     {
-      mask[6]  = mask[7]  = 1;
+      mask[6]  = mask[7]  = 0;
     }
     mask[ 8] = !(flags & CALIB_FIX_K3);
     mask[ 9] = !(flags & CALIB_FIX_K4);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git



More information about the debian-science-commits mailing list