87
A7 IMAGE FILE FORMATS
There are different file formats available for saving camera images
with Camware.
b16
The b16 16 bit format is similar to the bmp format. However, 16 bit
pixel values are used instead of 8 bit pixel values.
The file format consists either of a Basic Header (6 Long-parameter)
or of an Extended Header (32 Long-parameter), the latter of which is
optionally for additional information. There might follow a variable
comment field (ASCII code). Finally, there is the actual data set that is
saved linearly (as in the case of BMP files).
With the exception of the first value, all parameters are Long Integers
(4 Byte). The first 6 parameters must always exist. The rest of the
parameters, as well as the comment field, are optional.
We recommend that all images should be saved first in the b16
or TIFF format. The advantage is to have the b16 or tiff images
available all the time. You will always have the maximum 16 bit
information. Please note that not all image analysis programs can
accommodate 16 bit data. The 8 bit format saves only the information
displayed on the monitor screen. The 16 bit information will be lost
and cannot be displayed later.
the first 4 byte are the characters pco-
header size + comment filed in byte
-1 (true), extended header follows
0 = black/with camera, 1 = color camera
black/white LUT-setting, minimum value
black/white LUT-setting, maximum value
black/white LUT-setting,
0 = linear, 1 = logarithmic
red LUT-setting, minimum value
red LUT-setting, maximum value
green LUT-setting, minimum value
green LUT-setting, maximum value
blue LUT-setting, minimum value
blue LUT-setting, maximum value
color LUT-setting, 0 = linear, 1 = logarithmic
266
internal use
Comment file in ASCII characters with variable length of 0…XX.
The length of the comment filed must be documented in the header length
value of the second pixel