Skip to content

Commit 7d17d20

Browse files
committed
Merge pull request opencv#9153 from sovrasov:fix_tangent_dist_flag
2 parents 1d2baf0 + fa17267 commit 7d17d20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/calib3d/src/calibration.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1518,7 +1518,7 @@ static double cvCalibrateCamera2Internal( const CvMat* objectPoints,
15181518
mask[ 5] = !(flags & CALIB_FIX_K2);
15191519
if( flags & CALIB_FIX_TANGENT_DIST )
15201520
{
1521-
mask[6] = mask[7] = 1;
1521+
mask[6] = mask[7] = 0;
15221522
}
15231523
mask[ 8] = !(flags & CALIB_FIX_K3);
15241524
mask[ 9] = !(flags & CALIB_FIX_K4);

0 commit comments

Comments
 (0)