mirror of
https://github.com/opencv/opencv.git
synced 2024-12-05 01:39:13 +08:00
volatile variable made mask-fixed as it should be
This commit is contained in:
parent
8a43956a1b
commit
a8b4ffac50
@ -776,6 +776,8 @@ static double stereoCalibrateImpl(
|
|||||||
flags |= CALIB_FIX_TAUX_TAUY;
|
flags |= CALIB_FIX_TAUX_TAUY;
|
||||||
if( flags & CALIB_FIX_ASPECT_RATIO )
|
if( flags & CALIB_FIX_ASPECT_RATIO )
|
||||||
mask[idx + 0] = mask[idx + NINTRINSIC] = 0;
|
mask[idx + 0] = mask[idx + NINTRINSIC] = 0;
|
||||||
|
if ( flags & CALIB_SAME_FOCAL_LENGTH)
|
||||||
|
mask[idx + NINTRINSIC] = mask[idx + NINTRINSIC + 1] = 0;
|
||||||
if( flags & CALIB_FIX_FOCAL_LENGTH )
|
if( flags & CALIB_FIX_FOCAL_LENGTH )
|
||||||
mask[idx + 0] = mask[idx + 1] = mask[idx + NINTRINSIC] = mask[idx + NINTRINSIC+1] = 0;
|
mask[idx + 0] = mask[idx + 1] = mask[idx + NINTRINSIC] = mask[idx + NINTRINSIC+1] = 0;
|
||||||
if( flags & CALIB_FIX_PRINCIPAL_POINT )
|
if( flags & CALIB_FIX_PRINCIPAL_POINT )
|
||||||
|
Loading…
Reference in New Issue
Block a user