Various camera calibration flags

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

Syntax

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

Members

MemberDescription
DEFAULT
The default value
CV_CALIB_USE_INTRINSIC_GUESS
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_RATIO
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_POINT
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_DIST
Tangential distortion coefficients are set to zeros and do not change during the optimization
CV_CALIB_FIX_FOCAL_LENGTH
The focal length is fixed
CV_CALIB_FIX_K1
The 0-th distortion coefficient (k1) is fixed (to 0 or to the initial passed value if CV_CALIB_USE_INTRINSIC_GUESS is passed)
CV_CALIB_FIX_K2
The 1-st distortion coefficient (k2) is fixed (see above)
CV_CALIB_FIX_K3
The 4-th distortion coefficient (k3) is fixed (see above)

See Also