Enabling And Setting The Stamp - Basler L800k User Manual

Table of Contents

Advertisement

Draft
Operation and Features
The total high pixel and total low pixel values are useful if you want to perform automatic gain
control from within your camera control software application. If you find that the total low pixel
values are increasing over a period of time, an increase in the gain setting would be appropriate.
If you find that the total high pixel values are increasing over a period of time, a decrease in the
gain setting would be appropriate.
Stamp Pixels S13, S14 and S15
Stamp pixels S13, S14 and S15 represent the least significant, middle and most significant bytes
(respectively) of the line contrast. The line contrast is the sum of the difference in pixel values for
each pair of neighboring pixels in the captured line. In mathematical terms, the line contrast is:
n = 8159
(
)
Line Contrast
=
Pixel Value
Pixel Value
n + 1
n
n = 1
The line contrast can range from 0 to 8347680 (decimal).
The line contrast does not include any of the 16 added "stamp pixels." If the AOI feature is being
used, the line contrast is based only on the pixels within the AOI.
Line contrast values are useful when you are adjusting the camera's focus. Generally, the higher
the line contrast value the better the focus.
Stamp Pixel S16
Stamp pixel S16 is reserved for future use. Currently, its value will always be 0.

3.8.1 Enabling and Setting the Stamp

You can enable and set the stamp feature with the Camera Configuration Tool Plus (CCT+) or by
using binary write commands from within your own application to set the camera's control and
status registers (CSRs).
With the CCT+
With the CCT+ (see Section 4.1), you use the Stamp Mode parameter in the Stamp parameters
group to enable the stamp. You use the Stamp Low Pixel Limit parameter and the Stamp High
Pixel Threshold parameter to set the high pixel threshold and low pixel limit.
By Setting CSRs
You enable the stamp feature by writing a value to the Mode field of the Stamp Mode CSR (see
page 4-36).
You set the high pixel threshold by writing a value to the High Pixel Threshold field in the Stamp
High Pixel Threshold CSR (see page 4-38).
You set the low pixel limit by writing a value to the Low Pixel Limit field in the Stamp Low Pixel
Limit CSR (see page 4-37).
See Section
4.2.2
explains CSRs and Section
4.3.1
explains using read/write commands.
BASLER L800
3-23
k

Advertisement

Table of Contents
loading

Table of Contents