ColorSensitivity

NI Vision for LabWindows/CVI Function

ColorSensitivity

Specifies the complexity of the color information in the image. In most cases, set this parameter to IMAQ_SENSITIVITY_LOW. However, set this parameter to IMAQ_SENSITIVITY_HIGH to use more information and better distinguish colors in highly complex images. As complexity increases, so does sensitivity. Two similar colors that may be identified as being the same with IMAQ_SENSITIVITY_LOW may be identified as different colors with IMAQ_SENSITIVITY_HIGH. Refer to the NI Vision Concepts Manual for more information about color sensitivity.

Elements

Name

Value

Description

IMAQ_SENSITIVITY_LOW 0 Instructs the algorithm to divide the hue plane into a low number of sectors, allowing for simple color analysis.
IMAQ_SENSITIVITY_MED 1 Instructs the algorithm to divide the hue plane into a medium number of sectors, allowing for color analysis that balances sensitivity and complexity.
IMAQ_SENSITIVITY_HIGH 2 Instructs the algorithm to divide the hue plane into a high number of sectors, allowing for complex, sensitive color analysis.
IMAQ_COLOR_SENSITIVITY_SIZE_GUARD 0xFFFFFFFF Reserved