Commit 7d17d20d authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #9153 from sovrasov:fix_tangent_dist_flag

parents 1d2baf0b fa17267e
...@@ -1518,7 +1518,7 @@ static double cvCalibrateCamera2Internal( const CvMat* objectPoints, ...@@ -1518,7 +1518,7 @@ static double cvCalibrateCamera2Internal( const CvMat* objectPoints,
mask[ 5] = !(flags & CALIB_FIX_K2); mask[ 5] = !(flags & CALIB_FIX_K2);
if( flags & CALIB_FIX_TANGENT_DIST ) if( flags & CALIB_FIX_TANGENT_DIST )
{ {
mask[6] = mask[7] = 1; mask[6] = mask[7] = 0;
} }
mask[ 8] = !(flags & CALIB_FIX_K3); mask[ 8] = !(flags & CALIB_FIX_K3);
mask[ 9] = !(flags & CALIB_FIX_K4); mask[ 9] = !(flags & CALIB_FIX_K4);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment