©NationalInstruments Corporation 5-1 IMAQVision for LabWindows/CVI User Manual
5
Machine VisionThis chapter describeshow to perform many common machine vision
inspectiontasks. The most common inspection tasks are detecting the
presenceor absence o f parts in an image and measuring the dimensions
ofparts tosee if they meet specifications.
Measurementsare based on characteristic features of the object represented
in the image. Image processing algorithms traditionally classify the type
ofinformation contained in an image as edges, surfaces and textures, or
patterns.Different types of machine vision algorithms leverage and extract
one or more types of information.
Edgedetectors and derivative techniques—such as rakes, concentric rakes,
and spokes—use edges represented in the image. They locate with high
accuracythe position of the edge of an object in the image. For example,
youcan use the edge location to m easure the width of the part (a technique
called clamping). Youcan combine multiple edge locations to compute
intersection points, projections, circles, or ellipse fits.
Patternmatching al gorithms use edges and patterns. Pattern matching can
locatew ith veryhigh accuracy the position of fiducials or characteristic
featuresof the part under inspection. Those locations can then be combined
to computel engths, angles, and other object measurements.
The robustnessof your m easurement relies on the stability of your image
acquisition conditions. Sensor resolution, lighting, optics, vibration
control, part fixture,and general environment are key components of the
imaging setup.All the elements of the image acquisition chain directly
affectthe accuracy of the measurements.