Chapter 6
Calibration
©
National Instruments Corporation
6-5
IMAQ Vision for LabWindows/CVI User Manual
Figure 6-4.
Defining a Coordinate System
Learning Calibration Information
After you define a calibration grid and reference axis, acquire an image of
the grid using the current imaging setup. For information about acquiring
images, see the
section of Chapter 2,
. The grid does not need to occupy the entire
image. You can choose a region within the image that contains the grid.
After you acquire an image of the grid, learn the calibration information by
inputting the image of the grid into
imaqLearnCalibrationGrid()
.
Note
If you want to specify a list of points instead of a grid, use
imaqLearnCalibrationPoints()
to learn the calibration information. Use the
CalibrationPoints
structure to specify the pixel to real-world mapping.
1
Default Origin in a Calibration Grid Image
2
User-Defined Origin
x
y
1
2
y'
x'
y
x