Figure 3-6. template color information, Using the entire image, Using a region in the image – National Instruments IMAQ Vision for LabWindows TM /CVI User Manual

Page 39

Advertising
background image

Chapter 3

Making Grayscale and Color Measurements

IMAQ Vision for LabWindows/CVI User Manual

3-10

ni.com

Figure 3-6. Template Color Information

The following sections explain when to 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-7.

Figure 3-7. 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-8 shows an example of using a region that contains
the color information that is important for the application.

a.

b.

Advertising