Chapter 3
Grayscale and Color Measurements
IMAQ Vision for LabWindows/CVI User Manual
3-10
ni.com
Figure 3-5.
Template Color Information
Specifying the Color Information to Learn
You can learn the color information associated with an entire image,
a region in an image, or multiple regions in an image.
Using the Entire Image
You can use an entire image to learn the color spectrum that represents the
entire color distribution of the image. In a fabric identification application,
for example, an entire image can specify the color information associated
with a certain fabric type, as shown in Figure 3-6.
Figure 3-6.
Using the Entire Image to Learn Color Distribution
Using a Region in the Image
You can select a region in the image to provide the color information for
comparison. A region is helpful for pulling out the useful color information
in an image. Figure 3-7 shows an example of using a region that contains
the color information that is important for the application.
a.
b.