©
National Instruments Corporation
2-1
IMAQ Vision for LabWindows/CVI User Manual
2
Getting Measurement-Ready
Images
This chapter describes how to set up your imaging system, acquire and
display an image, analyze the image, and prepare the image for additional
processing.
Set Up Your Imaging System
Before you acquire, analyze, and process images, you must set up your
imaging system. How you set up your system depends on your imaging
environment and the type of analysis and processing you need to do. Your
imaging system should produce images with high enough quality so that
you can extract the information you need from the images.
Complete the following steps to set up your imaging system.
1.
Determine the type of equipment you need given your space
constraints and the size of the object you need to inspect. Refer to
Chapter 3,
System Setup and Calibration
, of the
IMAQ Vision
Concepts Manual
for more information.
a.
Make sure your camera sensor is large enough to satisfy your
minimum resolution requirement.
b.
Make sure your lens has a depth of field high enough to keep all
of your objects in focus regardless of their distance from the lens.
Also, make sure your lens has a focal length that meets your
needs.
c.
Make sure your lighting provides enough contrast between the
object under inspection and the background for you to extract the
information you need from the image.
2.
Position your camera so that it is perpendicular to the object under
inspection. If your camera acquires images of the object from an angle,
perspective errors occur. Even though you can compensate for these
errors with software, NI recommends that you use a perpendicular
inspection angle to obtain the most accurate results.