EasyManuals Logo

THORLABS DCU22 Series Description And Sdk Manual

THORLABS DCU22 Series
513 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #343 background imageLoading...
Page #343 background image
© 2016 Thorlabs Scientific Imaging
4 Programming (SDK)
341
4.3.81 is_SetColorMode
USB 2.0
USB 3.0
USB 2.0
USB 3.0
Syntax
INT is_SetColorMode (HIDS hCam, INT Mode)
Description
is_SetColorMode() sets the color mode to be used when image data are saved or displayed by
the graphics card. For this purpose, the allocated image memory must be large enough to
accommodate the data with the selected color mode. When images are transferred directly to the
graphics card memory, make sure that the display settings match the color mode settings.
Otherwise, the images will be displayed with altered colors or are not clearly visible.
Notes
Display Modes
This function is only supported in the bitmap (DIB) display mode. Use the is_SetDisplayMode()
function to display other color formats in Direct3D or OpenGL mode.
Bit Depth
Color formats with a bit depth of more than 8 bits per channel are not supported by DCx camera
models.
RGB15/16
For the RGB16 and RGB15 data formats, the MSBs of the internal 8-bit R, G and B colors are
used.
Input parameters
hCam
Camera handle
Mode: Color mode to be set. For a list of all available color formats and the associated input
parameters, see the Appendix: Color and memory formats section.
IS_CM_MONO16
Grayscale (16), for monochrome and color cameras, LUT/gamma
active
IS_CM_MONO12
Grayscale (12), for monochrome and color cameras, LUT/gamma
active
IS_CM_MONO8
Grayscale (8), for monochrome and color cameras, LUT/gamma
active
IS_CM_SENSOR_RAW16
Raw sensor data (16), for monochrome and color cameras, LUT/
gamma active
IS_CM_SENSOR_RAW12
Raw sensor data (12), for monochrome and color cameras, LUT/
gamma active
IS_CM_SENSOR_RAW8
Raw sensor data (8), for monochrome and color cameras, LUT/
gamma active
IS_CM_RGB12_PACKED
RGB36 (12 12 12), for monochrome and color cameras, LUT/
gamma active.
IS_CM_RGB10_PACKED
RGB30 (10 10 10), for monochrome and color cameras, LUT/
gamma active

Table of Contents

Other manuals for THORLABS DCU22 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the THORLABS DCU22 Series and is the answer not in the manual?

THORLABS DCU22 Series Specifications

General IconGeneral
BrandTHORLABS
ModelDCU22 Series
CategorySecurity Camera
LanguageEnglish

Related product manuals