CalibrationMethod Property

NI Vision for Visual Basic

CalibrationMethod Property

Syntax

CWIMAQLearnCalibrationOptions.CalibrationMethod

Data Type

CWIMAQCalibrationMethods

You can use the following constants with this data type:

  • cwimaqCorrected—Corrected. CWIMAQVision.GetCalibrationInformation returns this for a corrected image. A corrected image contains information about the calibration unit and scaling factor.
  • cwimaqNonlinearCalibration—Nonlinear calibration. This is a valid input to CWIMAQVision.LearnCalibrationGrid and CWIMAQVision.LearnCalibrationPoints. Use this method if the image contains lens distortion.
  • cwimaqPerspectiveCalibration—Perspective calibration. This is a valid input to CWIMAQVision.LearnCalibrationGrid and CWIMAQVision.LearnCalibrationPoints. Use this method when lens distortion is negligible.
  • cwimaqSimpleCalibration—Simple calibration. CWIMAQVision.GetCalibrationInformation returns this value for images calibrated by CWIMAQVision.SetSimpleCalibration.

Purpose

Type of algorithm you want to use to calibrate your imaging setup.

Remarks

If this object is passed to CWIMAQVision.LearnCalibrationGrid or CWIMAQVision.LearnCalibrationPoints, only cwimaqPerspectiveCalibration and cwimaqNonlinearCalibration are valid.

See Also

CWIMAQVision.LearnCalibrationGrid

CWIMAQVision.LearnCalibrationPoints