National Instruments IMAQTM 用户手册

下载
页码 121
Chapter 3
Making Grayscale and Color Measurements
3-8
ni.com
Figure 3-3.  Primary Components of an 32-bit Color Image
Figure 3-4.  Primary Components of a 64-bit Color Image
A color pixel encoded as a 
Long
 value can be decomposed into its 
individual components using 
CWIMAQVision.IntegerToColorValue
You can convert a pixel value represented in any color model into 
its components in any other color model using 
CWIMAQVision.ColorValueConversion2
.
32
Color
Image
8-bit Image Processing
Saturation
Value
Hue
Green
Blue
Red
Saturation
Intensity
Hue
Saturation
Luminance
Hue
32
Color
Image
Saturation
Value
Hue
Green
Blue
Red
Saturation
Intensity
Hue
Saturation
Luminance
Hue
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
or
or
or
or
or
or
Color
Image
16-bit 
Image 
Processing
Color
Image
16
Red
Green
Blue
16
16
16
16
16
16
64
Red
Green
Blue
16
64
16
16
16
16
16
16