Enum CalibType
Various camera calibration flags
[Flags]
public enum CalibType
Fields
Default = 0
The default value
FixAspectRatio = 2
The optimization procedure consider only one of fx and fy as independent variable and keeps the aspect ratio fx/fy the same as it was set initially in intrinsic_matrix. In this case the actual initial values of (fx, fy) are either taken from the matrix (when CV_CALIB_USE_INTRINSIC_GUESS is set) or estimated somehow (in the latter case fx, fy may be set to arbitrary values, only their ratio is used)
FixFocalLength = 16
The focal length is fixed
FixIntrinsic = 256
Only for stereo: Fix intrinsic
FixK1 = 32
The 1st distortion coefficient (k1) is fixed to 0 or to the initial passed value if CV_CALIB_USE_INTRINSIC_GUESS is passed
FixK2 = 64
The 2nd distortion coefficient (k2) is fixed to 0 or to the initial passed value if CV_CALIB_USE_INTRINSIC_GUESS is passed
FixK3 = 128
The 3rd distortion coefficient (k3) is fixed to 0 or to the initial passed value if CV_CALIB_USE_INTRINSIC_GUESS is passed
FixK4 = 2048
The 4th distortion coefficient (k4) is fixed (see above)
FixK5 = 4096
The 5th distortion coefficient (k5) is fixed to 0 or to the initial passed value if CV_CALIB_USE_INTRINSIC_GUESS is passed
FixK6 = 8192
The 6th distortion coefficient (k6) is fixed to 0 or to the initial passed value if CV_CALIB_USE_INTRINSIC_GUESS is passed
FixPrincipalPoint = 4
The principal point is not changed during the global optimization, it stays at the center and at the other location specified (when CV_CALIB_FIX_FOCAL_LENGTH - Both fx and fy are fixed. CV_CALIB_USE_INTRINSIC_GUESS is set as well)
FixS1S2S3S4 = 65536
Fix S1, S2, S3, S4
FixTangentDist = 2097152
Fix Tangent distance
FixTauxTauy = 524288
Fix Taux Tauy
RationalModel = 16384
Rational model
SameFocalLength = 512
Only for stereo: Same focal length
ThinPrismModel = 32768
Thin prism model
TiltedModel = 262144
Tilted model
UseExtrinsicGuess = 4194304
For stereoCalibrate
UseIntrinsicGuess = 1
intrinsic_matrix contains valid initial values of fx, fy, cx, cy that are optimized further. Otherwise, (cx, cy) is initially set to the image center (image_size is used here), and focal distances are computed in some least-squares fashion
UseLU = 131072
For stereo rectification: use LU instead of SVD decomposition for solving. much faster but potentially less precise
UseQR = 1048576
Use QR instead of SVD decomposition for solving. Faster but potentially less precise
ZeroDisparity = 1024
For stereo rectification: Zero disparity
ZeroTangentDist = 8
Tangential distortion coefficients are set to zeros and do not change during the optimization