pciGrabber-4x4
116
PHYTEC Messtechnik GmbH 2008 L-720e_0
Because the full image has a total of 576 rows, 720 pixels are
required for the X-direction, so that the height to width ratio is
maintained.
nOppl
=
nEppl
= 720
(b) Cropped Image Size
The image should be 700 x 500 pixels large, resulting in an
hsize
= 700.
Again, to maintain the height to width ratio, the pixels must be
evenly divided between the two half frames in the vertical
direction.
nOvsize
=
nEvsize
= ½ 500 Pixel = 250
(c) Positioning
It is useful to center the image.
In the X-direction, only 700 of the 720 pixels are displayed in the
window. Thus, a border of 720 - 700 = 20 pixels exists. The
20 pixels are evenly distributed on both sides, i.e. 10 pixels on the
right and 10 pixels on the left.
hpos
is the size of the left-hand
border, therefore
hpos
= 10.
nOhpos
=
nEhpos
= 4 (even value)
Correspondingly in the Y-direction: (288 - 250):2 = 19;
nOvpos
=
nEvpos
= 18 (even value)
The parameter nInterlaced should be set to 1 so that the images are
automatically interlaced.