Isavi_Setimagesize - THORLABS DCU223x Operation Manual And Sdk

Cdd and cmos cameras
Hide thumbs Also See for DCU223x:
Table of Contents

Advertisement

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,
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
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
cMode
Width
Height
PosX
PosY
LineOffset
Return values
IS_AVI_NO_ERR
IS_AVI_ERR_INVALID_ID
IS_AVI_ERR_INVALID_FILE
IS_AVI_ERR_CAPTURE_RUNNING
IS_AVI_ERR_ALLOC_MEMORY
IS_AVI_ERR_INVALID_CM
IS_AVI_ERR_INVALID_SIZE
IS_AVI_ERR_INVALID_POSITION
Related functions
isavi_SetFrameRate()
isavi_SetImageQuality()
376
-
INT PosX, INT PosY, INT LineOffset)
section.
502
Instance ID set by the
Color format of the input frames captured by the DCx Camera.
Width of the entire frame or of the area of interest.
Height of the entire frame or of the area of interest.
X position (offset) of the area of interest.
Y position (offset) of the area of interest.
Line increment.
The line increment is the difference between the width of the entire
frame (in pixel) and the area of interest (in pixel).
374
375
isavi_InitAVI()
Function executed successfully.
The indicated AVI instance could not be found. Either the
AVI ID is invalid or the instance has already been deleted
using
isavi_ExitAVI()
362
The file has no valid AVI format.
Another capturing operation is in progress or an AVI file is
still open.
No memory could be allocated.
The submitted color mode is not supported for AVI
capturing.
The submitted size is invalid.
The submitted position is invalid.
function.
369
.
© 2013 Thorlabs GmbH

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dcu224xDcc1240xDcc1545mDcc1645c

Table of Contents