File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
samples/cpp/tutorial_code/calib3d/camera_calibration Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -143,10 +143,11 @@ class Settings
143
143
if (useFisheye) {
144
144
// the fisheye model has its own enum, so overwrite the flags
145
145
flag = fisheye::CALIB_FIX_SKEW | fisheye::CALIB_RECOMPUTE_EXTRINSIC;
146
- if (fixK1) flag |= fisheye::CALIB_FIX_K1;
147
- if (fixK2) flag |= fisheye::CALIB_FIX_K2;
148
- if (fixK3) flag |= fisheye::CALIB_FIX_K3;
149
- if (fixK4) flag |= fisheye::CALIB_FIX_K4;
146
+ if (fixK1) flag |= fisheye::CALIB_FIX_K1;
147
+ if (fixK2) flag |= fisheye::CALIB_FIX_K2;
148
+ if (fixK3) flag |= fisheye::CALIB_FIX_K3;
149
+ if (fixK4) flag |= fisheye::CALIB_FIX_K4;
150
+ if (calibFixPrincipalPoint) flag |= fisheye::CALIB_FIX_PRINCIPAL_POINT;
150
151
}
151
152
152
153
calibrationPattern = NOT_EXISTING;
You can’t perform that action at this time.
0 commit comments