National Instruments IMAQTM - Manual

National Instruments IMAQTM

National Instruments IMAQTM – Manual, read for free online in PDF format. We hope this helps you resolve any issues you may have. If you have further questions, please contact us through the contact form.

1 Page 1
2 Page 2
3 Page 3
4 Page 4
5 Page 5
6 Page 6
7 Page 7
8 Page 8
9 Page 9
10 Page 10
11 Page 11
12 Page 12
13 Page 13
14 Page 14
15 Page 15
16 Page 16
17 Page 17
18 Page 18
19 Page 19
20 Page 20
21 Page 21
22 Page 22
23 Page 23
24 Page 24
25 Page 25
26 Page 26
27 Page 27
28 Page 28
29 Page 29
30 Page 30
31 Page 31
32 Page 32
33 Page 33
34 Page 34
35 Page 35
36 Page 36
37 Page 37
38 Page 38
39 Page 39
40 Page 40
41 Page 41
42 Page 42
43 Page 43
44 Page 44
45 Page 45
46 Page 46
47 Page 47
48 Page 48
49 Page 49
50 Page 50
51 Page 51
52 Page 52
53 Page 53
54 Page 54
55 Page 55
56 Page 56
57 Page 57
58 Page 58
59 Page 59
60 Page 60
61 Page 61
62 Page 62
63 Page 63
64 Page 64
65 Page 65
66 Page 66
67 Page 67
68 Page 68
69 Page 69
70 Page 70
71 Page 71
72 Page 72
73 Page 73
74 Page 74
75 Page 75
76 Page 76
77 Page 77
78 Page 78
79 Page 79
80 Page 80
81 Page 81
82 Page 82
83 Page 83
84 Page 84
85 Page 85
86 Page 86
87 Page 87
88 Page 88
89 Page 89
90 Page 90
91 Page 91
92 Page 92
93 Page 93
94 Page 94
95 Page 95
96 Page 96
97 Page 97
98 Page 98
99 Page 99
100 Page 100
101 Page 101
102 Page 102
103 Page 103
104 Page 104
105 Page 105
106 Page 106
107 Page 107
108 Page 108
109 Page 109
110 Page 110
111 Page 111
112 Page 112
113 Page 113
114 Page 114
115 Page 115
116 Page 116
117 Page 117
118 Page 118
119 Page 119
120 Page 120
121 Page 121
Page: / 121

Table of Contents:

  • Page 2 – Worldwide Technical Support and Product Information
  • Page 3 – Important Information; Warranty; WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS
  • Page 4 – Contents; About This Manual
  • Page 7 – Glossary
  • Page 8 – IMAQ Vision for Visual Basic User Manual; Conventions; File»Page Setup»Options; italic
  • Page 9 – Related Documentation; IMAQ Vision; IMAQ Vision Concepts Manual; Start»Programs»National Instruments»; NI Vision Assistant; NI Vision Assistant Tutorial; NI Vision Builder for Automated Inspection; NI Vision Builder for Automated Inspection Tutorial
  • Page 10 – NI Vision Builder for Automated Inspection: Inspection Help; Other Documentation; NI OCR Training Interface Help
  • Page 11 – Introduction to IMAQ Vision; Note; About IMAQ Vision; and other C development environments, as well as; Documentation and Examples; Documentation that accompanies Microsoft Visual Studio
  • Page 12 – Start; IMAQ Vision for Visual Basic Organization
  • Page 13 – ActiveX Objects; CWIMAQ Control; CWIMAQVision Control
  • Page 14 – NIOCR control; CWMachineVision control; Performing Machine Vision Tasks
  • Page 15 – Tip; Creating IMAQ Vision Applications
  • Page 18 – Set Up Your Imaging System; Follow the guidelines below to set up an imaging system.
  • Page 19 – Measurement & Automation; Calibrate Your Imaging System; Calibrating; Create an Image
  • Page 20 – Complex; property on the image object to change the image type.; parameter indicates that the processing or
  • Page 21 – Acquire or Read an Image; Acquiring an Image; Acquisition Type; snap
  • Page 22 – sequence; Continuous Acquisition; grab
  • Page 23 – Reading a File; Converting an Array to an Image; Display an Image
  • Page 24 – Display; Attach Calibration Information; Analyze an Image
  • Page 25 – Improve an Image
  • Page 26 – Lookup Tables; lookup table; Image Processing; Filters
  • Page 27 – Convolution Filter; Grayscale Morphology
  • Page 28 – FFT
  • Page 29 – or; Complex Image Operations; and
  • Page 30 – Defining Regions Interactively
  • Page 31 – Tool Name
  • Page 32 – Show
  • Page 34 – Defining Regions Programmatically; Method
  • Page 35 – Defining Regions with Masks; Performing Particle Analysis; Measure Grayscale Statistics; Use; to measure the; to get the pixel value statistics
  • Page 36 – Measure Color Statistics
  • Page 37 – A color pixel encoded as a; value can be decomposed into its
  • Page 38 – Comparing Colors; Color Inspection; to compare the learned color; Learning Color Information; Choose colors that you want to ignore during matching.
  • Page 39 – Specifying the Color Information to Learn; Using the Entire Image
  • Page 40 – Using a Region in the Image; Using Multiple Regions in the Image
  • Page 41 – Choosing a Color Representation Sensitivity; parameter of; to specify the granularity you want to
  • Page 42 – Ignoring Learned Colors; Copy; Set the corresponding components of the array.
  • Page 43 – to threshold the image.
  • Page 44 – Improve the Binary Image; connectivity
  • Page 45 – Removing Unwanted Particles; Binary Morphology; Separating Touching Particles
  • Page 46 – Improving Particle Shapes; Binary; Make Particle Measurements; Measurement
  • Page 54 – Locate Objects to Inspect; Set Search Areas
  • Page 55 – Dimensional Measurements; Using Edge Detection to Build a Coordinate Transformation; to define a
  • Page 56 – If you use
  • Page 57 – Using Pattern Matching to Build a Coordinate Transformation
  • Page 58 – Find Measurement Points
  • Page 59 – Choosing a Method to Build the Coordinate Transformation
  • Page 60 – Making Grayscale; CWMachineVision ROI Selection Methods
  • Page 61 – Making Grayscale and Color Measurements; Finding Features Using Edge Detection
  • Page 62 – Finding Lines or Circles; finds edges based; finds edges based
  • Page 63 – Finding Edge Points Along One Search Contour
  • Page 64 – Finding Edge Points Along Multiple Search Contours; Finding Points Using Pattern Matching
  • Page 65 – Test the search algorithm on test images using; Verify the results using a ranking method.; Defining and Creating Effective Template Images
  • Page 66 – Positional Information
  • Page 67 – Training the Pattern Matching Algorithm; to learn the template. The learning
  • Page 68 – Defining a Search Area
  • Page 69 – Setting Matching Parameters and Tolerances; Match Mode; from the template, set; to
  • Page 70 – Minimum Contrast; to set the; Rotation Angle Ranges; , provide this restriction information to; Pattern Matching; Testing the Search Algorithm on Test Images
  • Page 71 – Using a Ranking Method to Verify Results
  • Page 72 – Color Information
  • Page 73 – Training the Color Pattern Matching Algorithm
  • Page 75 – Color Sensitivity; Search Strategy
  • Page 76 – Use one of the following four search strategies:; to select; Color Score Weight; property to set the color score weight.
  • Page 77 – to set the minimum contrast. Refer to the; Finding Points Using Color Location; Use color location under the following circumstances:
  • Page 78 – Convert Pixel Coordinates to Real-World Coordinates; Distance Measurements
  • Page 79 – MeasurementAxis; Analytic Geometry Measurements
  • Page 80 – Instrument Reader Measurements; Identify Parts Under Inspection; Classifying Samples
  • Page 81 – Start»; Reading Characters; Start»Programs»National Instruments»Vision»OCR; Reading Barcodes; BarcodeType
  • Page 82 – Read Data Matrix Barcode
  • Page 83 – Display Results
  • Page 86 – Calibrating Images; Perspective and Nonlinear Distortion Calibration; Follow these general steps to calibrate the imaging system:
  • Page 87 – Defining a Calibration Template; The displacement in the x and y directions must equal (; Start»Programs»; . The dots have radii
  • Page 88 – Defining a Reference Coordinate System; The angle is set to 0; first column of the dots in the grid, as shown in Figure 6-3b.
  • Page 90 – Learning Calibration Information; to learn the calibration information.
  • Page 91 – Specifying Scaling Factors; Choosing a Region of Interest; Choosing a Learning Algorithm
  • Page 92 – to choose the perspective calibration; to chose the nonlinear calibration; Using the Learning Score
  • Page 93 – Learning the Error Map; System Setup and
  • Page 94 – Calibration Invalidation; Simple Calibration
  • Page 95 – Save Calibration Information; to save the image of; . For more information; to attach the
  • Page 96 – to save the image and all of the attached; , you must relearn the calibration
  • Page 98 – Numbers
  • Page 99 – BMP
  • Page 101 – See
  • Page 104 – See also
  • Page 105 – Red
  • Page 106 – JPG
  • Page 110 – PNG
  • Page 114 – value
  • Page 115 – Index; Numerics; attenuation
  • Page 116 – ix
  • Page 118 – xi
  • Page 121 – using
Loading the manual

IMAQ

TM

IMAQ Vision for Visual Basic
User Manual

IMAQ Vision for Visual Basic User Manual

August 2004 Edition

Part Number 371257A-01

"Loading the manual" means you need to wait until the file loads and becomes available for online reading. Some manuals are very large, and the time they take to appear depends on your internet speed.

Summary

Page 2 - Worldwide Technical Support and Product Information

Support Worldwide Technical Support and Product Information ni.com National Instruments Corporate Headquarters 11500 North Mopac Expressway Austin, Texas 78759-3504 USA Tel: 512 683 0100 Worldwide Offices Australia 1800 300 800, Austria 43 0 662 45 79 90 0, Belgium 32 0 2 757 00 20, Brazil 55 11 326...

Page 3 - Important Information; Warranty; WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS

Important Information Warranty The media on which you receive National Instruments software are warranted not to fail to execute programming instructions, due to defects in materials and workmanship, for a period of 90 days from date of shipment, as evidenced by receipts or other documentation. Nati...

Page 4 - Contents; About This Manual

© National Instruments Corporation v IMAQ Vision for Visual Basic User Manual Contents About This Manual Conventions ................................................................................................................... ixRelated Documentation...............................................

Other National Instruments Models

All National Instruments Other