Click or drag to resize

CalibrationFlags Enumeration

Different flags for cvCalibrateCamera2 and cvStereoCalibrate

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
[FlagsAttribute]
public enum CalibrationFlags
Members
  Member nameValueDescription
None0
UseIntrinsicGuess1 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
FixAspectRatio2 fyk is optimized, but the ratio fxk/fyk is fixed.
FixPrincipalPoint4 The principal points are fixed during the optimization.
ZeroTangentDist8 Tangential distortion coefficients are set to zeros and do not change during the optimization.
FixFocalLength16 fxk and fyk are fixed.
FixK132 The 0-th distortion coefficients (k1) are fixed
FixK264 The 1-th distortion coefficients (k2) are fixed
FixK3128 The 4-th distortion coefficients (k3) are fixed
FixK42048 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.
FixK54096 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.
FixK68192 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.
RationalModel16384 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.
ThinPrismModel32768
FixS1S2S3S432768
FixIntrinsic256 If it is set, camera_matrix1,2, as well as dist_coeffs1,2 are fixed, so that only extrinsic parameters are optimized.
SameFocalLength512 Enforces fx0=fx1 and fy0=fy1. CV_CALIB_ZERO_TANGENT_DIST - Tangential distortion coefficients for each camera are set to zeros and fixed there.
ZeroDisparity1024 for stereo rectification
See Also