
Basic Operation & Standard Features
3-38 BASLER A600
f
DRAFT
3.13.2 Customizable Formats and Modes
Format 7, Mode 0 and Format 7, Mode 1 are available on A601fc and A602fc 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 3.6. Format 7, Mode 0 is parameterized by using the Format 7, Mode 0 control and status
registers (see page 4-28).
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 10 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 the camera is operating in Format 7, the Current Video Frame Rate control reg-
ister is not used and has no effect on camera operation.
Frames/s
1
Packets per Frame x 125 µs
---------------------------------------------------------------------------=
Comentarios a estos manuales