ColorMode

NI Vision for LabWindows/CVI Function

ColorMode

Designates in which color space the function should operate. For more information about color spaces, refer to the NI Vision Concepts Manual.

Elements

Name

Value

Description

IMAQ_RGB 0 The function operates in the RGB (Red, Blue, Green) color space.
IMAQ_HSL 1 The function operates in the HSL (Hue, Saturation, Luminance) color space.
IMAQ_HSV 2 The function operates in the HSV (Hue, Saturation, Value) color space.
IMAQ_HSI 3 The function operates in the HSI (Hue, Saturation, Intensity) color space.
IMAQ_CIE 4 The function operates in the CIE L*a*b* color space.
IMAQ_CIEXYZ 5 The function operates in the CIE XYZ color space.
IMAQ_COLOR_MODE_SIZE_GUARD 0xFFFFFFFF Reserved