Control and Status Registers Unique to Ladybug2 and Ladybug3 cameras
The following control and status registers (CSR) are used by the Ladybug2 and Ladybug3 cameras:
JPEG_CTRL: 1E80h
Allows the user to specify the JPEG compression rate of the camera, when the camera is operating in a JPEG mode. Increasing the JPEG quality value improves JPEG image quality.
Format:
Field |
Bit |
Description |
Presence_Inq |
[0] |
Presence of this feature |
|
[1-5] |
Reserved |
ON_OFF |
[6] |
JPEG compression ON_OFF for format_7 mode 0,1,2,3. If the format-7 mode is 6 or 7, this bit is ignored. |
A_M_Mode |
[7] |
Read: Read a current mode |
|
[8-23] |
Reserved
|
Value |
[24-31] |
JPEG quality value. Valid range: 0x01(1%) to 0x64(100%). |
JPEG_BUFFER_USAGE: 1E84h
Allows the user to specify the percentage of the image buffer on the PC that is used for JPEG compressed image data, when the camera is operating in a JPEG mode. Specifying a value less than the maximum allows for room in the image buffer to accommodate extra image data, depending on scene variations from frame to frame.
Format:
Field |
Bit |
Description |
Presence_Inq |
[0] |
Presence of this feature |
|
[1-24] |
Reserved |
Value |
[25-31] |
Value. Valid range: 0x00 (0%) to 0x7F (100%) |
IMAGE_SELECTION: 1E88h
Allows the user to specify individual images to be transmitted from the camera to the PC.
Format:
Field |
Bit |
Description |
Presence_Inq |
[0] |
Presence of this feature |
|
[1-7] |
Reserved |
Image_En |
[8-31] |
Enables transmission of individual images. Refer to table below for a breakdown of images by bit. |
Format of Transmit_Enabled field:
Field |
Bit |
Description |
Transmit_Enabled |
[8] |
Camera 0, Bayer channel 0 |
|
[9] |
Camera 0, Bayer channel 1 |
|
[10] |
Camera 0, Bayer channel 2 |
|
[11] |
Camera 0, Bayer channel 3 |
|
[12] |
Camera 1, Bayer channel 0 |
|
[13] |
Camera 1, Bayer channel 1 |
|
[14] |
Camera 1, Bayer channel 2 |
|
[15] |
Camera 1, Bayer channel 3 |
|
[16] |
Camera 2, Bayer channel 0 |
|
[17] |
Camera 2, Bayer channel 1 |
|
[18] |
Camera 2, Bayer channel 2 |
|
[19] |
Camera 2, Bayer channel 3 |
|
[20] |
Camera 3, Bayer channel 0 |
|
[21] |
Camera 3, Bayer channel 1 |
|
[22] |
Camera 3, Bayer channel 2 |
|
[23] |
Camera 3, Bayer channel 3 |
|
[24] |
Camera 4, Bayer channel 0 |
|
[25] |
Camera 4, Bayer channel 1 |
|
[26] |
Camera 4, Bayer channel 2 |
|
[27] |
Camera 4, Bayer channel 3 |
|
[28] |
Camera 5, Bayer channel 0 |
|
[29] |
Camera 5, Bayer channel 1 |
|
[30] |
Camera 5, Bayer channel 2 |
|
[31] |
Camera 5, Bayer channel 3 |