National Instruments Image Acquisition Software User Manual page 46

Image acquisition software
Table of Contents

Advertisement

© National Instruments Corporation
used if you are performing averaging on your image. For example,
averaging an image 16 times requires four extra bits (16 =
the increased dynamic range. In this case, using the 16-bit representation
may increase the dynamic range of your 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) /
2
Saturation =
X
where
Y = (Green - Blue) /
X = (2
Red - Green - Blue) /
32-Bit HSL and HSI
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
and
2
6
2
Y
and
2
6
A-9
Appendix A
StillColor
4
) to represent
2
Blue
NI-IMAQ User Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Image Acquisition Software and is the answer not in the manual?

This manual is also suitable for:

Ni-imaq

Table of Contents