Choosing a color representation sensitivity, Choosing a color representation sensitivity -12 – National Instruments IMAQ Vision for LabWindows TM /CVI User Manual

Page 41

Advertising
background image

Chapter 3

Making Grayscale and Color Measurements

IMAQ Vision for LabWindows/CVI User Manual

3-12

ni.com

Figure 3-9. Using Multiple Regions to Learn Color Distribution

Choosing a Color Representation Sensitivity

When you learn a color, you need to specify the sensitivity required to
specify the color information. An image containing a few, well-separated
colors in the color space requires a lower sensitivity to describe the color
than an image that contains colors that are close to one another in the color
space. Use the sensitivity parameter of

imaqLearnColor()

to specify the

granularity you want to use to represent the colors. Refer to the

Color

Sensitivity

section of Chapter 5,

Performing Machine Vision Tasks

, for

more information about color sensitivity.

1

Regions Used to Learn Color Information

1

Advertising