C2-2040(HS)-GigE Camera Hardware Reference Manual Rev. 1.8 • 29
The Threshold Mode (TRSH)
In this mode the position of left (P
L
) and right (P
R
) edge of the laser beam profile are detected for a
given threshold value of intensity AOI_TRSH.
AOI_TRSH
P
TRSH
P
L
P
R
The position value of the laser line is approximated: P
TRSH
= (P
L
+P
R
) / 2. In order to simplify the digital
representation the division over 2 is not performed and thus an integer representation with one
subpixel is realised. The evaluation of 1088 rows delivers a position range from 0 to 2174 pixels
(11 bit).
In threshold mode the camera can output either the left and right threshold position separately or the
subpixel position (P
L
+P
R
) and the line width (P
R
-P
L
). Moreover, the maximum intensity value can be
optionally output.
The precision of the position calculation can be improved by enabling the smoothing mode of the FIR
filter of the camera.