SetCalibrationInformation Method

NI Vision for Visual Basic

SetCalibrationInformation Method

Syntax

CWIMAQVision.SetCalibrationInformation CalibratedImage, ImageToCalibrate

Return Type

Long

Purpose

Obsolete—Use CWIMAQVision.SetCalibrationInformation2 instead. Sets calibration information from a calibrated image to an image to be calibrated. Both images must be the same size.

Remarks

Use this method with image types U8, I16, SGL, RGB32 and HSL32.

Use LearnCalibrationGrid, LearnCalibrationPoints, or SetSimpleCalibration to set the calibration information in the source image.

Parameters

CalibratedImage As CWIMAQImage

The calibrated input image.

ImageToCalibrate As CWIMAQImage

The resulting image.

Example

Perspective Calibration Example
Nonlinear Calibration Example

See Also

LearnCalibrationGrid

LearnCalibrationPoints

SetSimpleCalibration