©NationalInstruments Corporation v IMAQVision for LabWindows/CVI User Manual
ContentsChapter 1
Introduction to IMAQ Vision
AboutIMAQ Vision......................................................................................................1-1
Documentationand Examples .......................................................................................1-1
ApplicationDevelopment Environments .......................................................................1-2
IMAQVision Function T ree..........................................................................................1-2
IMAQ Machine VisionFunction Tree ...........................................................................1-4
CreatingI MAQ Vision Applications.............................................................................1-5
Chapter 2
Getting Measurement-Ready Images
SetU p Your Imaging System........................................................................................2-1
CalibrateYour Imaging System ....................................................................................2-2
Createan Image.............................................................................................................2-2
Sourceand Destination Images .......................................................................2-4
Acquire orR eadan Image .............................................................................................2-5
Acquiringan Image .........................................................................................2-6
Readinga File ..................................................................................................2-6
Convertingan Array to an Image ....................................................................2-7
Displayan Image ...........................................................................................................2-7
AttachCalibration Information ......................................................................................2-8
Analyze an Image ..........................................................................................................2-8
Improve an Image ..........................................................................................................2-9
Lookup Tables .................................................................................................2-9
Filters...............................................................................................................2-10
ConvolutionFilter .............................................................................2-10
NthO rder Filter.................................................................................2-11
GrayscaleM orphology ....................................................................................2-11
FFT..................................................................................................................2-11
ComplexI mage Operations ..............................................................2-13
Chapter 3
Grayscale and Color Measurements
Define Regions of Interest.............................................................................................3-1
InteractivelyD efining Regions........................................................................3-1
ProgrammaticallyDefining Regions ...............................................................3-6
DefiningRegions w ith Masks.........................................................................3-6
Measure GrayscaleStatistics .........................................................................................3-7