TcVnCameraCalibrationOptions

Offers camera calibration options.

Syntax

Definition:

TYPE TcVnCameraCalibrationOptions :
STRUCT
    bUseIntrinsicGuess : BIT;
    bFixAspectRatio    : BIT;
    bFixPrincipalPoint : BIT;
    bZeroTangentDist   : BIT;
    bFixFocalLength    : BIT;
    bFixK1             : BIT;
    bFixK2             : BIT;
    bFixK3             : BIT;
    bFixK4             : BIT;
    bFixK5             : BIT;
    bFixK6             : BIT;
    bRationalModel     : BIT;
END_STRUCT
END_TYPE

Parameters

Name

Type

Description

bUseIntrinsicGuess

BIT

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

bFixAspectRatio

BIT

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

bFixPrincipalPoint

BIT

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

bZeroTangentDist

BIT

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

bFixFocalLength

BIT

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

bFixK1

BIT

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

bFixK2

BIT

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

bFixK3

BIT

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

bFixK4

BIT

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

bFixK5

BIT

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

bFixK6

BIT

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

bRationalModel

BIT

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