![Phytec pciGrabber4x4 Hardware Manual Download Page 118](http://html1.mh-extra.com/html/phytec/pcigrabber4x4/pcigrabber4x4_hardware-manual_1554182118.webp)
pciGrabber-4x4
110
PHYTEC Messtechnik GmbH 2008 L-720e_0
The routine
Set_Image ()
defines the size, the position and scaling of
the image sections delivered by the Grabber separately for odd and
even images. In addition, the data format in which the picture will be
stored later in the memory, will be defined, and the address of this
memory region is determined.
Caution:
Calling the function can only occur when the Grabber is in Stop mode.
Set_Image
cannot be called when the Grabber is still in the
digitization process, or when a Single-Shot digitization is not
terminated by the
Stop_Grabber
function.
The settings for both fields can be established separately and the
parameters have a letter prefix
‘E’
= even image or an
‘O’
= odd
image. Parameter without those letters are valid for both fields.
For both fields different sizes can be stated. They might be stored in
different memory regions and can be processed in different ways.
In
Interlaced-Mode,
both fields are interlaced and are stored in a
common memory region and have a maximum resolution of 720 x 576
pixels (PAL) or 640 x 480 pixels (NTSC), respectively. (See also the
section De-/Activating the Interlace Mode
)
In the following we consider the setting of the parameters without the
field specifications (for example
hsize
for
nEhsize
/
nOhsize
). You
have correspondingly to precede the letter ‘E’ for ‘Even’ or ‘O’ for
‘Odd’. If a specific field is required, it will be indicated as such.
By specifying the parameters, a window with the size of the image is
set (in pixels) first. This is achieved by the parameter
hsize
and
vsize
.
Hsize
indicates the number of pixels of the recorded image in
x-direction, and
vsize
the number of pixels in y-direction.