Chapter 3 Making Grayscale and Color Measurements
IMAQ Vision for Visual Basic User Manual 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 bedecomposed 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 usingCWIMAQVision.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
161616
16
16
1664
Red
Green
Blue
1664
16161616
16
16