
Basic Operation & Standard Features
3-38
BASLER A640
f
DRAFT
3.10.2 Customizable Formats and Modes
Format 7, Mode 0 and Format 7, Mode 1 are available on
A641
fc
color cameras.
Format 7, Mode 0
Format 7, Mode 0 is used to enable and set up the area of interest (AOI) feature described in
Section
. Format 7, Mode 0 is parameterized by using the Format 7, Mode 0 control and status
registers (see page
When the camera is operating in Format 7, Mode 0, the frame rate can be adjusted by setting the
number of bytes transmitted in each packet. The number of bytes per packet is set by the Bytes
Per Packet field of the Bytes Per Packet control register.
The value that appears in the Max Bytes Per Packet field of the Packet Para Inquiry register will
show the maximum allowed bytes per packet setting given the current AOI settings. When the
bytes per packet is set to the maximum, the camera will transmit frames at its maximum specified
rate. By default, the AOI is set to use the full sensor area and the bytes per packet is set to 4096.
If you set the bytes per packet to a value lower than the maximum, the camera will transmit frames
at a lower rate. The rate is calculated by the formula:
Keep in mind that when you lower the bytes per packet setting, the number of bytes needed to
transmit a frame (the packets per frame) will increase. Due to limitations in the DCAM structure,
a maximum of 4095 packets per frame is allowed. If you set the bytes per packet too low, the
number of packets per frame will exceed the 4095 packet limit and the camera will not transmit
frames properly.
Color Codings
In Format 7, Mode 0, the Mono 8, Raw 8, Raw 16, and YUV 4:2:2 color codings are available.
When the
Mono 8
ID is set in the Coding ID field of the Color Coding ID register for Format 7,
Mode 0, the camera outputs 8 bits per pixel and outputs only the Y component (brightness) of the
YUV format.
When the
Raw 8
ID is set in the Coding ID field of the Color Coding ID register for Format 7, Mode
0, the camera outputs 8 bits per pixel and outputs the raw data for each pixel. The pixel data is
not processed to account for the color filter. (This type of output is sometimes called “Bayer 8.”)
When the
Raw 16
ID is set in the Coding ID field of the Color Coding ID register for Format 7,
Mode 0, the camera outputs 16 bits per pixel but only 12 bits are effective. The effective pixel data
fills from the LSB and the unused bits are filled with zeros. Pixel data is stored in the PC memory
in little endian format, i.e., the low byte for each pixel is stored at the lower address and the high
byte is stored at the neighboring higher address. The camera outputs raw data for each pixel. The
pixel data is not processed to account for the color filter.
L
When an
A641
fc
camera is operating in Format 7, the Current Video Frame Rate con-
trol register is not used and has no effect on camera operation.
Frames/s
1
Packets per Frame x 125 µs
---------------------------------------------------------------------------
=
Summary of Contents for A640F
Page 1: ...USER S MANUAL Document Number DA00073201 Release Date 1 June 2005...
Page 4: ......
Page 14: ...Introduction 1 6 BASLER A640f DRAFT...
Page 20: ...Camera Interface 2 6 BASLER A640f DRAFT Figure 2 3 I O Schematic...
Page 163: ...Smart Features BASLER A640f 6 27 DRAFT Figure 6 6 Sample Text File for Use With Upload Button...
Page 180: ...Technical Support 8 2 BASLER A640f DRAFT...
Page 184: ...Revision History ii BASLER A640f DRAFT...
Page 186: ...Feedback iv BASLER A640f DRAFT...