SetCalibrationInformation2 Method
Syntax
CWIMAQVision.SetCalibrationInformation2 CalibratedImage, ImageToCalibrate [, Offset]
Return Type
On success, this method returns 0. On failure, this method returns a negative number.
Purpose
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, U16, 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.
Offset As Variant
[Optional] The position of ImageToCalibrate relative to CalibratedImage.
Example
Perspective Calibration Example Nonlinear Calibration Example