EasyManuals Logo

THORLABS DCU223x User Manual

THORLABS DCU223x
530 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 #378 background imageLoading...
Page #378 background image
© 2013 Thorlabs GmbH376
DCx Cameras
4.4.19 isavi_SetImageSize
USB 2.0
USB 3.0
-
Syntax
INT isavi_SetImageSize (INT nAviID, INT cMode, INT Width, INT Height,
INT PosX, INT PosY, INT LineOffset)
Description
isavi_SetImageSize() sets the size and position of the area of interest which will be saved to the AVI file. Only
the defined area of interest of each frame will be saved. In addition, this function specifies the input color format of
the frames. You define these settings only once for the entire video.
Note
The supported input color formats are RGB32, RGB24, Y8 and raw Bayer. The output file will always be in RGB24
format, regardless of the input data format. For further information on the structure of the different color formats,
see the Appendix: Color and memory formats section.
Attention
When an area of interest is used, the width (Width) and height (Height) of the AOI must be at least 16 pixel. The
AOI width must be a multiple of 8.
Input parameters
nAviID
Instance ID set by the isavi_InitAVI() function.
cMode
Color format of the input frames captured by the DCx Camera.
Width
Width of the entire frame or of the area of interest.
Height
Height of the entire frame or of the area of interest.
PosX
X position (offset) of the area of interest.
PosY
Y position (offset) of the area of interest.
LineOffset
Line increment.
The line increment is the difference between the width of the entire
frame (in pixel) and the area of interest (in pixel).
Return values
IS_AVI_NO_ERR
Function executed successfully.
IS_AVI_ERR_INVALID_ID
The indicated AVI instance could not be found. Either the
AVI ID is invalid or the instance has already been deleted
using isavi_ExitAVI() .
IS_AVI_ERR_INVALID_FILE
The file has no valid AVI format.
IS_AVI_ERR_CAPTURE_RUNNING
Another capturing operation is in progress or an AVI file is
still open.
IS_AVI_ERR_ALLOC_MEMORY
No memory could be allocated.
IS_AVI_ERR_INVALID_CM
The submitted color mode is not supported for AVI
capturing.
IS_AVI_ERR_INVALID_SIZE
The submitted size is invalid.
IS_AVI_ERR_INVALID_POSITION
The submitted position is invalid.
Related functions
isavi_SetFrameRate()
isavi_SetImageQuality()
502
369
362
374
375

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

THORLABS DCU223x Specifications

General IconGeneral
BrandTHORLABS
ModelDCU223x
CategorySecurity Camera
LanguageEnglish

Related product manuals