©
National Instruments Corporation
v
IMAQ Vision for LabWindows/CVI User Manual
Contents
Chapter 1
Introduction to IMAQ Vision
About IMAQ Vision ......................................................................................................1-1
Documentation and Examples .......................................................................................1-1
Application Development Environments.......................................................................1-2
IMAQ Vision Function Tree..........................................................................................1-2
IMAQ Machine Vision Function Tree...........................................................................1-4
Creating IMAQ Vision Applications .............................................................................1-5
Chapter 2
Getting Measurement-Ready Images
Set Up Your Imaging System ........................................................................................2-1
Calibrate Your Imaging System ....................................................................................2-2
Create an Image .............................................................................................................2-2
Acquiring an Image .........................................................................................2-6
Reading a File..................................................................................................2-6
Converting an Array to an Image ....................................................................2-7
Display an Image ...........................................................................................................2-7
Attach Calibration Information......................................................................................2-8
Analyze an Image ..........................................................................................................2-8
Improve an Image ..........................................................................................................2-9
Lookup Tables .................................................................................................2-9
Filters...............................................................................................................2-10
Convolution Filter .............................................................................2-10
Nth Order Filter.................................................................................2-11
Complex Image Operations ..............................................................2-13
Chapter 3
Grayscale and Color Measurements
Interactively Defining Regions........................................................................3-1
Programmatically Defining Regions ...............................................................3-6
Defining Regions with Masks .........................................................................3-6