Merge pull request #9153 from sovrasov:fix_tangent_dist_flag

This commit is contained in:
Alexander Alekhin 2017-07-14 14:35:51 +00:00
commit 7d17d20dce

View File

@ -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);