Chapter6 Calibration
IMAQVision for LabWindows/CVI User Manual 6-8 ni.com
Also, adjust the range parameter to distinguish the dots from the
background.
3. Select another learning algorithm. When nonlinear lens distortion is
present,using perspective projection sometimes results in a low
learning score.
Note Ah igh score does not reflect the accuracyof your system.
Learning the Error MapAn errorm ap helps you gauge the quality of your complete system.
The errormap returns anestimated error range to expect when a pixel
coordinateis transformed into a real-world coordinate. The transformation
accuracymay be higherthan the value the error rangeindicates. Set the
learnMapelement of the options parameter to TRUE to learn the error
map.
Learning the Correction TableIfthe speed of image correction is a critical factor for your application , use
acorrection table. T he correction table is a lookup table stored in memory
that contains the real-world location information of all the pixels in the
image.The extra memory requirements for this option are based on the size
ofthe image. Use this o ption when you want to correct several images at a
time in your vision application. Set the learnTable element of the
options parameter to TRUE to learn the correction table.
Setting the Scaling MethodUsethe method element of the options parameter to choose the appearance
ofthe corrected image.Select either IMAQ_SCALE_TO_FITor
IMAQ_SCALE_TO_PRESERVE_AREA.For more information a bout the
scalingmethods, see Chapter 3, System Setup and Calibration,intheIMAQ
Vision Concepts Manual.
Calibration InvalidationAnyimage processing operation that changes the ima ge size or orientation
voids the calibration information in a calibrated image. Examples of
functions that void calibration information include imaqResample(),
imaqScale(),imaqArrayToImage(),andimaqUnwrap().