Chapter6 Calibration
IMAQVision for LabWindows/CVI User Manual 6-6 ni.com
Specifying Scaling FactorsScaling factorsare the real-world distances between the dots in the
calibrationgrid in the x and y directions and the un its in which the distances
are measured. Use the GridDescriptor structure to specify the scaling
factors.
Choosing a Region of InterestDefine al earning region of interest (ROI) during the learning process to
define a region of the calibration grid you want to learn. The software
ignoresdot centers outside this region when it estim ates the transformation.
Creating a user-defined ROI is an effective way to increasecorrection
speeds depending onthe other calibration options selected. Set the
user-defined ROI using theROI parameter o f either
imaqLearnCalibrationGrid()or
imaqLearnCalibrationPoints().
Choosing a Learning AlgorithmSelecta method in which to learn the calibration information: perspective
projectionor nonlinear. Figure 6-5illustrates the types of errors your image
can exhibit. Figure 6-5a shows an image of a calibration grid with no
errors. Figure 6-5b shows an image of a calibration grid with perspective
projection.Figure 6-5cshows an image of a calibration grid with no nlinear
distortion.
Figure6-5. Types of Image Distortion
Choose the perspectiveprojection algorithm when your system exhibits
perspectiveerrors only.A perspective projection calibration has an accurate
transformation evenin areas not covered by the calibration grid, as shown
in Figure 6-6. Set the mode element of the options parameter to
a. c.b.