eGrabber-4plus
162
PHYTEC Meßtechnik GmbH 2004 L-608e_4
Under the DOS operating system, the user must reserve a space in the
computer’s RAM for storing images . A pointer that indicates the
beginning of the reserved memory space must also be handed over.
The control of parameters for resolution scaling and positioning is
equal to the procedure in the windows.
Now the format of an image to be digitized, is exactly defined. The
Grabber must now be instructed where and how to store the data of
the image in the memory.
Therefore it is required to reserve a region in the main memory of
sufficient size.
This is achieved by utilization of the well known instructions for the
allocation of memory (for example malloc(...)).
How much memory will be used? This will be calculated from the size
of the image (number of pixels) and the required number of Bytes per
pixel (color resolution):
Memory requirements per field = hsize
.
vsize
.
pixel size [Byte]
The value pixel size can be depicted from Table 12.
For the format YUV2 and BtYUV it must be considered, that 2 or
8 pixels are combined and that the resolution of the image is selected
correspondingly. The value calculated for the required region of
memory is valid for one field (even or odd).
Format
pixel size [Byte]
RGB32
4
RGB24
3
RGB16, RGB15
2
YUY2
4 Byte per 2 Pixel
BtYUV
12 Byte for 8 Pixel
Y8
1
Table 13:
Memory Requirements for a Pixel in the Single Mode
Summary of Contents for eGrabber-4plus
Page 8: ...eGrabber 4plus PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Page 10: ...eGrabber 4plus PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Page 56: ...eGrabber 4plus 46 PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Page 80: ...eGrabber 4plus 70 PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Page 81: ...Part 2 Programmer s Manual PHYTEC Meßtechnik GmbH 2004 L 608e_4 71 Part 2 Programmer s Manual ...
Page 82: ...eGrabber 4plus 72 PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Page 188: ...eGrabber 4plus 178 PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Page 192: ...eGrabber 4plus 182 PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Page 204: ...eGrabber 4plus 194 PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Page 206: ...Published by PHYTEC Meßtechnik GmbH 2004 Ordering No L 608e_4 Printed in Germany ...