National Instruments IMAQ PCI-1411 User Manual page 33

Single-channel color image acquisition board for pci, pxi, and compactpci chassis
Hide thumbs Also See for IMAQ PCI-1411:
Table of Contents

Advertisement

Hue, Saturation, Luminance, and Intensity Planes
32-Bit HSL and HSI
© National Instruments Corporation
The 8-bit hue, saturation, luminance, and intensity planes can also be
returned individually if you want to analyze the image.
Luminance, Intensity, Hue, or Saturation are defined using the Red, Green,
and Blue values in the following formulas:
Luminance = 0.299
Intensity = (Red + Green + Blue) / 3
Hue = ATN2 (Y, X)
where
Y = (Green - Blue) /
X = (2
Red - Green - Blue) /
Saturation =
255
You can also pack the three 8-bit Hue, Saturation, and Luminance planes
(HSL) or the three Hue, Saturation, and Intensity planes (HSI) in one array
of 32-bit integers, which is equivalent to the 32-bit RGB representation.
Red + 0.587 Green + 0.114
2
and
6
3
Min R G B
1
----------------------------------------- -
R
+
G
+
B
B-3
Appendix B
Introduction to Color
Blue
IMAQ PCI/PXI-1411 User Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Imaq pxi-1411

Table of Contents