http://www.emgu.com
Various camera calibration flags

Namespace: Emgu.CV.CvEnum
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)

Syntax

C#
[FlagsAttribute]
public enum CALIB_TYPE
Visual Basic
<FlagsAttribute> _
Public Enumeration CALIB_TYPE
Visual C++
[FlagsAttribute]
public enum class CALIB_TYPE

Members

Member nameValueDescription
DEFAULT0 The default value
CV_CALIB_USE_INTRINSIC_GUESS1 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
CV_CALIB_FIX_ASPECT_RATIO2 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)
CV_CALIB_FIX_PRINCIPAL_POINT4 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)
CV_CALIB_ZERO_TANGENT_DIST8 Tangential distortion coefficients are set to zeros and do not change during the optimization
CV_CALIB_FIX_FOCAL_LENGTH16 The focal length is fixed
CV_CALIB_FIX_K132 The 1st distortion coefficient (k1) is fixed to 0 or to the initial passed value if CV_CALIB_USE_INTRINSIC_GUESS is passed
CV_CALIB_FIX_K264 The 2nd distortion coefficient (k2) is fixed to 0 or to the initial passed value if CV_CALIB_USE_INTRINSIC_GUESS is passed
CV_CALIB_FIX_K3128 The 3rd distortion coefficient (k3) is fixed to 0 or to the initial passed value if CV_CALIB_USE_INTRINSIC_GUESS is passed
CV_CALIB_FIX_K42048 The 4th distortion coefficient (k4) is fixed (see above)
CV_CALIB_FIX_K54096 The 5th distortion coefficient (k5) is fixed to 0 or to the initial passed value if CV_CALIB_USE_INTRINSIC_GUESS is passed
CV_CALIB_FIX_K68192 The 6th distortion coefficient (k6) is fixed to 0 or to the initial passed value if CV_CALIB_USE_INTRINSIC_GUESS is passed
CV_CALIB_RATIONAL_MODEL16384 Rational model

See Also