Programming Manual
PHYTEC Messtechnik GmbH 2008 L-720e_0
109
P
ro
g
ra
m
m
in
g
M
a
n
u
a
l
Setting the size and scaling of the image
void Set_Image (WORD nDevNo,
WORD nOhpos, WORD nOvpos,
WORD nOhsize, WORD nOvsize,
WORD nOppl, WORD nOlines,
WORD nOColformat,
WORD nEhpos, WORD nEvpos,
WORD nEhsize, WORD nEvsize,
WORD nEppl, WORD nElines,
WORD nEColformat,
WORD nColSystem,
WORD nInterlaced,
WORD nSingleShot);
nOhpos, nOvpos : position of the left upper corner of the odd-
section of the video picture
(hpos = horizontal, vpos = vertical)
nOhsize :
size of the odd-section in X-direction
nOvsize :
size of the odd-section in Y-direction
nOppl :
required size of the odd-video picture X-direction
(ppl = pixel per line)
nOlines :
required number of lines of the odd-video picture
nOColformat:
required color format: (RGB32, RGB24, RGB16,
RGB15, Y8, YCrCb 4:2:2, YCrCb 4:1:1)
nEhpos, nEvpos : position of the left upper corner of the even
picture section of the video picture
(hpos = horizontal, vpos = vertical)
nEhsize :
size of the even-picture section in X-direction
nEvsize :
size of the even-picture section in Y-direction
nEppl :
required size of the even-video picture in X-direction
(pixel per line)
nElines :
required number of lines of the even-video picture
nEColformat: required color format: (RGB32, RGB24, RGB16,
RGB15, Y8, YCrCb 4:2:2, YCrCb 4:1:1)
nColSystem :
code for color system (see
Set_Color_System
)
nInterlaced :
0 = Non-Interlace
1 = Interlace
2 = Field Aligned
nSingleShot :
0 = continuous digitization
1 =
one
single image is grabbed