
Chapter6 Calibration
©NationalInstruments Corporation 6-9 IMAQVision for LabWindows/CVI User Manual
Simple CalibrationWhenthe axis of your camera is perpendicular to the image plane and lens
distortionis negligible, use simple calibration. In simple calibration, a pixel
coordinateis transformed to a real-world coordinatethrough scaling in t he
horizontal and vertical directions.
Use simplecalibration to map pixel coordinates to real-world coordinates
directly without a calibration grid. The software rotates and scales a pixel
coordinate according to predefinedcoordinate reference and scaling
factors.You can assign the calibration to an arbitrary image using
imaqSetSimpleCalibration().
Toperform a simple calibration, set a coordinate reference (angle, center,
and axis direction) and scaling factorso nt he definedaxis, as shown in
Figure 6-7. Express the angle between the x-axis and the horizontal axis
of the image in degrees. Express the center as the position, in pixels, where
youwant the coordinate reference origin .Set th eaxi s direction to direct or
indirect. Simple calibration also offers a correction table option and a
scaling mode option.
Use the systemp arameter to definethe coordinate system. Use the grid
parametert o specifythe scaling factors. Use the method parameter to set
the scaling method. Set the learnTable parameter to TRUE to learn the
correction table.
Figure6-7. Defining a Simple Calibration
1Origin
X
Y
dy
1
dx