Contents
©NationalInstruments Corporation vii IMAQVision for LabWindows/CVI User Manual
Training theC olor Pattern Matching Algorithm...............................5-20
Defininga Search Area .....................................................................5-21
SettingMatching Parameters and Tolerances ...................................5-22
Testingthe Search Algorithm on Test Images ..................................5-24
FindingPoints Using Color Location ..............................................................5-25
ConvertP ixel Coordinatesto Real-World Coordinates .................................................5-26
Make Measurements ......................................................................................................5-26
DistanceMeasurements ...................................................................................5-26
AnalyticGeometry Measurements..................................................................5-27
InstrumentReader Measurements...................................................................5-27
DisplayResults ..............................................................................................................5-28
Chapter 6
Calibration
Perspectiveand Nonlinear Distortion Calibration .........................................................6-1
Defininga Calibration Template .....................................................................6-2
Defininga Reference Coordinate System .......................................................6-2
LearningCalibration I nformation....................................................................6-5
SpecifyingS caling Factors................................................................6-6
Choosinga Region of Interest...........................................................6-6
Choosinga LearningAlgorithm .......................................................6-6
Usingthe LearningScore ..................................................................6-7
Learningthe Error Map.....................................................................6-8
Learningthe Correction Table..........................................................6-8
Settingthe Scaling Method ...............................................................6-8
CalibrationI nvalidation ....................................................................6-8
Simple Calibration .........................................................................................................6-9
SaveCalibration Information .........................................................................................6-10
AttachCalibration Information ......................................................................................6-10
Appendix A
Technical Support Resources
Glossary
Index