Class
Accessible
Tools.Video.SetImageSize
Syntax
uEye.Tools.Video.SetImageSize(int s32VideoID, uEye.Defines.ColorMode colorMode, int s32Width, int s32Height)
uEye.Tools.Video.SetImageSize(int s32VideoID, uEye.Defines.ColorMode colorMode, int s32Width, int s32Height, int s32PosX, int s32PosY)
uEye.Tools.Video.SetImageSize(int s32VideoID, uEye.Defines.ColorMode colorMode, int s32Width, int s32Height, int s32PosX, int s32PosY, int s32LineOffset)
Description
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 method specifies the input color format of the frames. You define these settings only once for the entire video.
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. |
When an area of interest is used, the width and height of the AOI must be at least 16 pixel. The AOI width must be a multiple of 8. |
Parameter
s32VideoID |
Video ID set by Init(). |
colorMode |
Color mode for which the converter is to be returned (see GetSupported()). |
s32Width |
Width of the entire frame or of the area of interest. |
s32Height |
Height of the entire frame or of the area of interest. |
s32PosX |
X position (offset) of the area of interest |
s32PosY |
Y position (offset) of the area of interest |
s32LineOffset |
Line increment The line increment is the difference between the width of the entire frame (in pixel) and the area of interest (in pixel). |