312 DCx camera
© 2010 Thorlabs
7.4.17
isavi_SetImageSize
Syntax
INT isavi_SetImageSize (int nAviID,
int cMode,
long Width, long Height,
long PosX, long PosY,
long 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 colour format of the frames. You define these settings only once for the entire
video.
The supported input colour 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 colour formats, see the Appendix: Colour
and Memory Formats section.
Input Parameters
Instance ID set by the isavi_InitAVI() function.
Colour 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 total widths of the areas clipped to the
right and to the left of the area of interest make up this
value.
350
305