Chapter6 Calibration
©NationalInstruments Corporation 6-7 IMAQVision for LabWindows/CVI User Manual
IMAQ_PERSPECTIVEto choose the perspective calibration algorithm.
Learning and applying perspectiveprojection is l ess computationally
intensivethan the nonlinear method. However, perspective projection
cannot handle nonlinear distortions.
If your imaging setup exhibits nonlinear distortion, use the nonlinear
method.The nonlinear method guarantees accurate results only in the area
thatthe calibration gridc overs,as shown in Figure 6-6. If your system
exhibitsboth perspective and nonlinear distortion, use the nonlinear
methodto correct for both. Set the mode element of the options parameter
to IMAQ_NONLINEARto choose the non linear calibration algorithm.
Figure 6-6. CalibrationROIs
Using the Learning Score
The learning process returns a score that reflects how well the software
learnedthe input image. A high learning score indicates thatyou chose the
the appropriate learning algorithm, that the grid image complies with the
guideline, and that your vision system setup is adequate.
Ift he learning process returns a lowscore, try the following:
1. Makesure your grid com plies with the guidelines listed in the
Defining a Calibration Template section.
2. Check the lighting conditions. If you have too much or too little
lighting, the softwaremay estimate the center of the dots incorrectly.
1 CalibrationROI Using the
PerspectiveA lgorithm
2 CalibrationROI Using the Nonlinear
Algorithm
1
2