Different flags for cvCalibrateCamera2 and cvStereoCalibrate
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Members
Member name | Value | Description | |
---|---|---|---|
Zero | 0 | = 0 | |
Default | 0 | = 0 | |
FixIntrinsic | 256 | If it is set, camera_matrix1,2, as well as dist_coeffs1,2 are fixed, so that only extrinsic parameters are optimized. [CV_CALIB_FIX_INTRINSIC] | |
UseIntrinsicGuess | 1 | The flag allows the function to optimize some or all of the intrinsic parameters, depending on the other flags, but the initial values are provided by the user [CV_CALIB_USE_INTRINSIC_GUESS] | |
FixPrincipalPoint | 4 | The principal points are fixed during the optimization. [CV_CALIB_FIX_PRINCIPAL_POINT] | |
FixFocalLength | 16 | fxk and fyk are fixed. [CV_CALIB_FIX_FOCAL_LENGTH] | |
FixAspectRatio | 2 | fyk is optimized, but the ratio fxk/fyk is fixed. [CV_CALIB_FIX_ASPECT_RATIO] | |
SameFocalLength | 512 | Enforces fx0=fx1 and fy0=fy1. CV_CALIB_ZERO_TANGENT_DIST - Tangential distortion coefficients for each camera are set to zeros and fixed there. [CV_CALIB_SAME_FOCAL_LENGTH] | |
ZeroTangentDist | 8 | Tangential distortion coefficients are set to zeros and do not change during the optimization. [CV_CALIB_ZERO_TANGENT_DIST] | |
FixK1 | 32 | The 0-th distortion coefficients (k1) are fixed [CV_CALIB_FIX_K1] | |
FixK2 | 64 | The 1-th distortion coefficients (k2) are fixed [CV_CALIB_FIX_K2] | |
FixK3 | 128 | The 4-th distortion coefficients (k3) are fixed [CV_CALIB_FIX_K3] | |
FixK4 | 2048 | Do not change the corresponding radial distortion coefficient during the optimization. If CV_CALIB_USE_INTRINSIC_GUESS is set, the coefficient from the supplied distCoeffs matrix is used, otherwise it is set to 0. [CV_CALIB_FIX_K4] | |
FixK5 | 4096 | Do not change the corresponding radial distortion coefficient during the optimization. If CV_CALIB_USE_INTRINSIC_GUESS is set, the coefficient from the supplied distCoeffs matrix is used, otherwise it is set to 0. [CV_CALIB_FIX_K5] | |
FixK6 | 8192 | Do not change the corresponding radial distortion coefficient during the optimization. If CV_CALIB_USE_INTRINSIC_GUESS is set, the coefficient from the supplied distCoeffs matrix is used, otherwise it is set to 0. [CV_CALIB_FIX_K6] | |
RationalModel | 16384 | Enable coefficients k4, k5 and k6. To provide the backward compatibility, this extra flag should be explicitly specified to make the calibration function use the rational model and return 8 coefficients. If the flag is not set, the function will compute only 5 distortion coefficients. [CV_CALIB_RATIONAL_MODEL] |
See Also