DistCorrectType Property

Applies To
Vision Calibration

Description
Selects or returns which distortion model is applied to lens distortion correction and camera tilt correction for vision calibration.

Usage

VGet  Calibration.DistCorrectType, var
VSet  Calibration.DistCorrectType, value
Calibration
Name of a calibration or string variable containing a calibration name.
var
Integer variable that will contain the value of the property.
value
Integer value or expression for the new value of the property.

Values

  • 1 - Lens1
    • Vision constant: VISION_DISTCORRTYPE_LENS1
    • Lens distortion 1
  • 2 - Lens2
    • Vision constant: VISION_DISTCORRTYPE_LENS2
    • Lens distortion 2
  • 3 - Tilt
    • Vision constant: VISION_DISTCORRTYPE_TILT
    • Camera tilt distortion
  • 4 - TiltLens1
    • Vision constant: VISION_DISTCORRTYPE_TILTLENS1
    • Camera tilt distortion + Lens distortion 1
  • 5 - TiltLens2
    • Vision constant: VISION_DISTCORRTYPE_TILTLENS2
    • Camera tilt distortion + Lens distortion 2

Default: 5 - TiltLens2

Remarks
Normally, specify the camera tilt correction + lens distortion 2. If the distortion will not be modified, limit the distortion type to modify the distortion to modify it correctly.

Lens distortion 1 is a distortion model that distorts to radius direction.

Lens distortion 2 is a distortion model that distorts not only to the radial direction but also to the circumferential direction.

Camera tilt distortion occurs when the sensor surface of the camera and calibration plate surface are not parallel.

See Also
DistCorrectCal Property, DistCorrectCalComplete Result, DistCorrectTargetSeq Property