Syntax
INT is_SetVideoSize (HIDS hf, INT xpos, INT ypos, INT xsize, INT ysize)
Description
Using is_SetVideoSize() the area from the video signal to be digitized can be defined. This adjusts the digitization area to non-standard camera signals. The left and upper boarder of the image as well as the width and height can be set. These settings do not effect the image size as determined by is_SetImageSize().
Parameters
hf |
Frame grabber handle |
xpos |
x offset of left boarder (see following table for value range) |
ypos |
y offset of the upper boarder |
xsize |
Image width |
ysize |
Image height |
|
|
Default |
|
|---|---|---|---|
|
|
PAL |
NTSC |
xpos |
x offset of the left boarder |
156 |
120 |
ypos |
y offset of the upper boarder |
33 |
21 |
xsize |
Image width |
768 |
640 |
ysize |
Image height |
576 |
480 |
|
Max. value for xpos+xsize ≤ |
924 |
760 |
|
Max. value for ypos+ysize ≤ |
609 |
501 |
|
•xpos has to be an even value •ypos has to be an odd value •If the limit values are exceeded than the limit values, they are reduced to the values represented in the table. |
Return value
IS_SUCCESS, IS_NO_SUCCESS