National Instruments IMAQ Vision for LabWindows TM /CVI User Manual

Page 37

Advertising
background image

Chapter 3

Making Grayscale and Color Measurements

IMAQ Vision for LabWindows/CVI User Manual

3-8

ni.com

Figure 3-4. Primary Components of a 32-Bit Color Image

Figure 3-5. Primary Components of a 64-Bit Color Image

Use

imaqExtractColorPlanes()

to extract the red, green, blue, hue

saturation, intensity, luminance, or value plane of a color image into an
8-bit image.

Note

You can also use

imaqExtractColorPlanes()

to process the red, green, and blue

components of a 64-bit image.

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

Advertising