User`s manual
Operation and Features
3-20 BASLER A202
k
DRAFT
Sample Calculation Using the Reference Offset Values
Assume that you are working with an A202
k, that you have selected an 8 bit output mode, that you
want an offset of 5, and that you want to keep the left side and the right side of the image in
balance.
1. Read the reference values that were stored during the camera’s calibration procedure using
the “Read Reference Values” binary command (see Section 4.2.5.10). For our example, we
will assume that the camera returned the following reference offset values:
Byte 9 - Low byte left side reference offset after decimal point 0x00
Byte 10 - High byte left side reference offset after decimal point 0x00
Byte 11 - Low byte left side reference offset before decimal point 0x19
Byte 12 - High byte left side reference offset before decimal point 0x00
Byte 13 - Low byte right side reference offset after decimal point 0x00
Byte 14 - High byte right side reference offset after decimal point 0x00
Byte 15 - Low byte right side reference offset before decimal point 0x18
Byte 16 - High byte right side reference offset before decimal point0x00
2. The reference gain values are hexadecimal. Convert them to decimal:
Byte 9 = 0 Byte 10 = 0 Byte 11 = 25 Byte 12 = 0
Byte 13 = 0 Byte 14 = 0 Byte 15 = 24 Byte 16 = 0
3. Use the decimal values of Byte 9 through Byte 12 to determine the reference offset setting for
the left side (RO
LS
):
4. Calculate the offset setting for the left side, where O = desired offset. Take into account here,
that in 8 bit output mode an increase of 16 (decimal) in the offset setting will result in a
positive offset of 1.
RO
LS
(Byte 12 x 256) Byte 11
Byte 10
256
--------------------
Byte 9
65536
-----------------
++ +=
RO
LS
(0 x 256) 25
0
256
----------
0
65536
------------------
++ +=
RO
LS
25=