Search Results for

    Show / Hide Table of Contents

    Enum CameraCalibrationFlags

    Specifies available operation flags for camera calibration.

    Namespace: OpenCV.Net
    Assembly: OpenCV.Net.dll
    Syntax
    public enum CameraCalibrationFlags : int

    Fields

    Name Description
    FixAspectRatio

    Specifies that the function considers only fy as a free parameter. The ratio fx/fy stays the same as in the input camera matrix . When UseIntrinsicGuess is not set, the actual input values of fx and fy are ignored; only their ratio is computed and used further.

    FixFocalLength

    Specifies that the focal length (fx, fy) is not changed during the optimization.

    FixK1

    Specifies that the k1 radial distortion coefficient is not changed during the optimization. If UseIntrinsicGuess is set, the coefficient from the supplied coefficients matrix is used. Otherwise, it is set to 0.

    FixK2

    Specifies that the k2 radial distortion coefficient is not changed during the optimization. If UseIntrinsicGuess is set, the coefficient from the supplied coefficients matrix is used. Otherwise, it is set to 0.

    FixK3

    Specifies that the k3 radial distortion coefficient is not changed during the optimization. If UseIntrinsicGuess is set, the coefficient from the supplied coefficients matrix is used. Otherwise, it is set to 0.

    FixK4

    Specifies that the k4 radial distortion coefficient is not changed during the optimization. If UseIntrinsicGuess is set, the coefficient from the supplied coefficients matrix is used. Otherwise, it is set to 0.

    FixK5

    Specifies that the k5 radial distortion coefficient is not changed during the optimization. If UseIntrinsicGuess is set, the coefficient from the supplied coefficients matrix is used. Otherwise, it is set to 0.

    FixK6

    Specifies that the k6 radial distortion coefficient is not changed during the optimization. If UseIntrinsicGuess is set, the coefficient from the supplied coefficients matrix is used. Otherwise, it is set to 0.

    FixPrincipalPoint

    Specifies that the principal point is not changed during the global optimization. It stays at the center or at a different location specified when UseIntrinsicGuess is set too.

    None

    Specifies that no operation flags are active.

    RationalModel

    Coefficients k4, k5, and k6 are enabled. 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 computes and returns only 5 distortion coefficients.

    UseIntrinsicGuess

    Specifies that some or all of the intrinsic parameters should be optimized according to the specified flags. Initial values are provided by the user.

    ZeroTangentialDistortion

    Specifies that tangential distortion coefficients (p1, p2) are set to zeros and stay zero.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX