Basler Vision Technologies A202k User Manual page 50

Scan camera
Table of Contents

Advertisement

Operation and Features
Sample Calculation Using the Reference Offset Values
Assume that you are working with an A202
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
Byte 10 - High byte left side reference offset after decimal point
Byte 11 - Low byte left side reference offset before decimal point
Byte 12 - High byte left side reference offset before decimal point 0x00
Byte 13 - Low byte right side reference offset after decimal point
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 point 0x00
2. The reference gain values are hexadecimal. Convert them to decimal:
Byte 9 = 0
Byte 13 = 0
3. Use the decimal values of Byte 9 through Byte 12 to determine the reference offset setting for
the left side (RO
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.
3-20
Byte 10 = 0
Byte 14 = 0
):
LS
RO
=
(Byte 12 x 256)
LS
RO
=
(0 x 256)
+
25
LS
RO
=
25
LS
DRAFT
, that you have selected an 8 bit output mode, that you
k
Byte 11 = 25
Byte 15 = 24
Byte 10
+
Byte 11
+
------------------- -
256
0
0
+
--------- -
+
----------------- -
65536
256
0x00
0x00
0x19
0x00
Byte 12 = 0
Byte 16 = 0
Byte 9
+
---------------- -
65536
BASLER A202
k

Advertisement

Table of Contents
loading

This manual is also suitable for:

A202kc

Table of Contents