Choosing a color representation sensitivity, Choosing a color representation sensitivity -12 – National Instruments IMAQ Vision for Measurement Studio User Manual

Page 38

Advertising
background image

Chapter 3

Grayscale and Color Measurements

IMAQ Vision for LabWindows/CVI User Manual

3-12

ni.com

Figure 3-8. 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 color sensitivity parameter of

imaqLearnColor()

to

specify the granularity you want to use to represent the colors. For more
information about color sensitivity, see the

Color Sensitivity

section of

Chapter 5,

Machine Vision

.

1

Regions used to learn color information

1

Advertising