© 2016 Thorlabs Scientific Imaging
4 Programming (SDK)
303
Enables/disables the LUT (Example 1):
IS_LUT_DISABLED: LUT is disabled.
IS_LUT_ENABLED: LUT is enabled. If no other
LUT is defined the linear LUT
IS_CAMERA_LUT_IDENTITY is set.
Sets the calculation mode (Example 2):
IS_LUT_MODE_ID_DEFAULT: Default mode: If
supported the LUT/gamma is done on hardware
otherwise in software
IS_LUT_MODE_ID_FORCE_HARDWARE: LUT/gamma
in hardware (if not possible:
IS_LUT_STATE_ID_NOT_SUPPORTED)
IS_LUT_MODE_ID_FORCE_SOFTWARE: LUT/gamma
in software (if not possible:
IS_LUT_STATE_ID_NOT_SUPPORTED)
Returns the current status information on the LUT
(Example 3):
IS_LUT_STATE_ID_INACTIVE: LUT is inactive
(No gamma and no LUT is set)
IS_LUT_STATE_ID_NOT_SUPPORTED: LUT is not
supported with the current settings
IS_LUT_STATE_ID_HARDWARE_LUT: LUT is
calculated in hardware
IS_LUT_STATE_ID_HARDWARE_GAMMA: Gamma is
calculated in hardware
IS_LUT_STATE_ID_HARDWARE_LUTANDGAMMA: LUT
and gamma are calculated in hardware
IS_LUT_STATE_ID_SOFTWARE_LUT: LUT is
calculated in software
IS_LUT_STATE_ID_SOFTWARE_GAMMA: Gamma is
calculated in software
IS_LUT_STATE_ID_SOFTWARE_LUTANDGAMMA: LUT
and gamma are calculated in software
IS_LUT_CMD_GET_SUPPORT_INFO
Returns the current support information of the LUT
(Example 3)
Sets the user-defined values of the LUT (Example
4)
Returns the user-defined values of the LUT
(unchanged)
(Example 5)
IS_LUT_CMD_GET_COMPLETE_LUT
Returns the user-defined values of the LUT after
the values for gamma, contrast and brightness are
included (Example 5)
IS_LUT_CMD_GET_PRESET_LUT
Returns the predefined LUT (Example 6):
IS_LUT_PRESET_ID_IDENTITY: linear LUT, no
image modifications
IS_LUT_PRESET_ID_NEGATIVE: inverts the image
IS_LUT_PRESET_ID_GLOW1: false-color display of
the image
IS_LUT_PRESET_ID_GLOW2: false-color display of
the image
IS_LUT_PRESET_ID_ASTRO1: false-color display
of the image
IS_LUT_PRESET_ID_RAINBOW1: false-color
display of the image
IS_LUT_PRESET_ID_MAP1: false-color display of
the image
IS_LUT_PRESET_ID_HOT: false-color display of
the image
IS_LUT_PRESET_ID_SEPIC: uses sepia toning
for coloring the image
IS_LUT_PRESET_ID_ONLY_RED: shows only the
red channel of the image
IS_LUT_PRESET_ID_ONLY_GREEN: shows only the
green channel of the image
IS_LUT_PRESET_ID_ONLY_BLUE: shows only the
blue channel of the image
Loads and sets the LUT from a file (Example 7)
Saves a set LUT into a file (Example 7)