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 #271 background imageLoading...
Page #271 background image
© 2016 Thorlabs Scientific Imaging
4 Programming (SDK)
269
4.3.60 is_ImageFormat
USB 2.0
USB 3.0
USB 2.0
USB 3.0
Syntax
INT is_ImageFormat (HIDS hCam,
UINT nCommand,
void *pParam,
UINT nSizeOfParam)
Description
Using is_ImageFormat(), you can query a list of possible image sizes and set a new image format
if supported by your DCx Camera model. This is useful for sensors that do not support a free
selection of the area of interest or image format. Using the AOI, binning/subsampling or scaling
functions, the driver sets the selected image format to achieve the best possible image quality. For
a complete list of available image formats see table "Image formats" below.
The nCommand input parameter is used to select the function mode. The pParam input parameter
depends on the selected function mode. If you select functions for setting or returning a value,
pParam contains a pointer to a variable of the UINT type. The size of the memory area to which
pParam refers is specified in the nSizeOfParam input parameter.
Input parameters
hCam
Camera handle
nCommand
IMGFRMT_CMD_GET_LIST
Returns a list of all image formats supported by
the sensor.
More details
You can query the number of entries in the list
with IMGFRMT_CMD_GET_NUM_ENTRIES.
pParam: Pointer to list of type
IMAGE_FORMAT_LIST. The list must be
preallocated as specified below.
nSizeOfParam: Size of the list
Size of (IMAGE_FORMAT_LIST + (number of list
entries - 1) *
Size of (IMAGE_FORMAT_INFO))
IMGFRMT_CMD_GET_NUM_ENTRIES
Returns the number of entries in the list.
More details
pParam: Pointer to variable of type UINT
returning the number of list entries.
nSizeOfParam: 4
IMGFRMT_CMD_SET_FORMAT
Sets the desired image format.
More details
pParam: Pointer to variable of type UINT
passing the format ID of the desired image
format.
nSizeOfParam: 4

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