TcVnCameraCalibrationOptions

Offers camera calibration options.

Syntax

Definition:

struct TcVnCameraCalibrationOptions
{
    UCHAR bUseIntrinsicGuess : 1;
    UCHAR bFixAspectRatio : 1;
    UCHAR bFixPrincipalPoint : 1;
    UCHAR bZeroTangentDist : 1;
    UCHAR bFixFocalLength : 1;
    UCHAR bFixK1 : 1;
    UCHAR bFixK2 : 1;
    UCHAR bFixK3 : 1;
    UCHAR bFixK4 : 1;
    UCHAR bFixK5 : 1;
    UCHAR bFixK6 : 1;
    UCHAR bRationalModel : 1;
};

Parameters

Name

Type

Description

bUseIntrinsicGuess

UCHAR : 1

The camera matrix and distortion coefficients already contain a valid initial guess, which is optimized further.

bFixAspectRatio

UCHAR : 1

The ratio fx/fy stays the same as in the input camera matrix.

bFixPrincipalPoint

UCHAR : 1

The principal point is fixed to the image center (or provided cx,cy if bUseIntrinsicGuess).

bZeroTangentDist

UCHAR : 1

The tangential distortion coefficients (p1, p2) are forced to 0.

bFixFocalLength

UCHAR : 1

The parameters fx and fy stay the same as in the input camera matrix.

bFixK1

UCHAR : 1

The radial distortion coefficient k1 is fixed to 0 (or provided input if bUseIntrinsicGuess)

bFixK2

UCHAR : 1

The radial distortion coefficient k2 is fixed to 0 (or provided input if bUseIntrinsicGuess)

bFixK3

UCHAR : 1

The radial distortion coefficient k3 is fixed to 0 (or provided input if bUseIntrinsicGuess)

bFixK4

UCHAR : 1

The radial distortion coefficient k4 is fixed to 0 (or provided input if bUseIntrinsicGuess)

bFixK5

UCHAR : 1

The radial distortion coefficient k5 is fixed to 0 (or provided input if bUseIntrinsicGuess)

bFixK6

UCHAR : 1

The radial distortion coefficient k6 is fixed to 0 (or provided input if bUseIntrinsicGuess)

bRationalModel

UCHAR : 1

The radial distortion coefficients k4, k5, k6 are enabled.