用户手册目录IMAQ Vision for Measurement Studio™ User Manual1Support2Worldwide Technical Support and Product Information2National Instruments Corporate Headquarters2Worldwide Offices2Important Information3Warranty3Copyright3Trademarks3WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS3Conventions4Contents5Chapter 1 Introduction to IMAQ Vision8About IMAQ Vision8Documentation and Examples8Application Development Environments9IMAQ Vision Function Tree9Table 1-1. IMAQ Vision Function Types10IMAQ Machine Vision Function Tree11Table 1-2. IMAQ Machine Vision Function Types11Creating IMAQ Vision Applications12Figure 1-1. General Steps to Designing a Vision Application12Figure 1-2. Inspection Steps for Building a Vision Application13Chapter 2 Getting Measurement-Ready Images14Set Up Your Imaging System14Calibrate Your Imaging System15Create an Image15Table 2-1. IMAQ Vision for LabWindows/CVI Image Types16Source and Destination Images17Acquire or Read an Image18Acquiring an Image19Reading a File19Converting an Array to an Image20Display an Image20Attach Calibration Information21Analyze an Image21Improve an Image22Lookup Tables22Filters23Convolution Filter23Nth Order Filter24Grayscale Morphology24FFT24Complex Image Operations26Chapter 3 Grayscale and Color Measurements27Figure 3-1. Steps to Taking Grayscale and Color Measurements27Define Regions of Interest27Interactively Defining Regions27Table 3-1. Tools Palette Functions28Figure 3-2. ROI Constructor30Figure 3-3. Tools Palette Tools and Information31Programmatically Defining Regions32Defining Regions with Masks32Measure Grayscale Statistics33Measure Color Statistics33Figure 3-4. Primary Components of a Color Image34Comparing Colors34Learning Color Information35Choosing the Right Color Information35Figure 3-5. Template Color Information36Specifying the Color Information to Learn36Figure 3-6. Using the Entire Image to Learn Color Distribution36Figure 3-7. Using a Single Region to Learn Color Distribution37Figure 3-8. Using Multiple Regions to Learn Color Distribution38Choosing a Color Representation Sensitivity38Ignoring Learned Colors39Chapter 4 Blob Analysis40Figure 4-1. Steps to Performing Blob Analysis40Correct Image Distortion41Create a Binary Image41Improve the Binary Image42Removing Unwanted Blobs42Separating Touching Blobs43Improving Blob Shapes43Make Particle Measurements43Table 4-1. Particle Measurements44Convert Pixel Coordinates to Real-World Coordinates46Chapter 5 Machine Vision47Figure 5-1. Steps to Performing Machine Vision48Locate Objects to Inspect48Using Edge Detection to Build a Coordinate Transform49Figure 5-2. Coordinate Systems of a Reference Image and Inspection Image50Figure 5-3. Locating Coordinate System Axes with Two Search Areas51Using Pattern Matching to Build a Coordinate Transform51Choosing a Method to Build the Coordinate Transform53Figure 5-4. Building a Coordinate Transform53Set Search Areas54Interactively Defining Regions54Programmatically Defining Regions55Find Measurement Points55Finding Features Using Edge Detection55Finding Lines or Circles55Figure 5-5. Finding a Straight Feature56Figure 5-6. Finding a Circular Feature57Finding Edge Points Along One Search Contour57Finding Edge Points Along Multiple Search Contours58Finding Points Using Pattern Matching59Defining and Create Good Template Images59Figure 5-7. Symmetry60Figure 5-8. Feature Detail60Figure 5-9. Positional Information60Figure 5-10. Background Information61Training the Pattern Matching Algorithm61Defining a Search Area61Figure 5-11. Selecting a Search Area for Grayscale Pattern Matching62Setting Matching Parameters and Tolerances62Testing the Search Algorithm on Test Images64Using a Ranking Method to Verify Results64Finding Points Using Color Pattern Matching64Defining and Creating Good Color Template Images65Training the Color Pattern Matching Algorithm66Defining a Search Area67Figure 5-12. Selecting a Search Area for Color Pattern Matching68Setting Matching Parameters and Tolerances68Testing the Search Algorithm on Test Images70Finding Points Using Color Location71Convert Pixel Coordinates to Real-World Coordinates72Make Measurements72Distance Measurements72Analytic Geometry Measurements73Instrument Reader Measurements73Display Results74Chapter 6 Calibration76Perspective and Nonlinear Distortion Calibration76DefiningaCalibration Template77Figure 6-1. Defining a Calibration Grid77Defininga Reference Coordinate System77Figure 6-2. Axis Direction in the Image Plane78Figure 6-3. A Calibration Grid and an Image of the Grid79Figure 6-4. Defining a Coordinate System80Learning Calibration Information80Specifying Scaling Factors81Choosing a Region of Interest81Choosing a Learning Algorithm81Figure 6-5. Types of Image Distortion81Figure 6-6. Calibration ROIs82Using the Learning Score82Learning the Error Map83Learning the Correction Table83Setting the Scaling Method83Calibration Invalidation83Simple Calibration84Figure 6-7. Defining a Simple Calibration84Save Calibration Information85Attach Calibration Information85Appendix A Technical Support Resources86Glossary88Numbers/Symbols88A88B89C90D92E-F93G94H95I96J-L98M99N100O-P101Q-R103S104T105V-W106Index107A-C107D-F108G-I109L-M112N-R113S-Z114文件大小: 1.9 MB页数: 114Language: English打开用户手册