LocatePeakFormat feature
Position
PostionandIntensity
When detecting the peak intensity in every column of the source image, the camera
determines the Y-coordinate and value of the peak intensity and records them in
2 or 3 rows of the destination image buffer, at an offset corresponding to the
column in the source image buffer.
Information
Y-position
Y-position
Peak intensity
❖ Note that n = source column, m = frame, and the count for all columns, rows, and
frames start at 0. Width is the frame width.
For example, for column 6 of the source image, the Y-position result is stored in
pixels 12 and 13 in the destination buffer. The value of the peak intensity is
recorded in the subsequent row, as an 8-bit value, at pixel 6.
Destination column
(
×
)mod Wid th
n
2
(
×
)mod Wid th
n
2
n
Destination image
Position (16-bit)
Position (16-bit)
Average intensity value (8-bit)
Configuring your laser range control
Destination row (frame m)
×
n 2
(
×
)
--------------- -
m 2
+
int
⎛
⎛
Wid th
×
n 2
(
×
)
--------------- -
m 3
+
int
⎛
⎛
Wid th
(
×
)
m 3
+
2
31
⎞
⎞
⎠
⎠
⎞
⎞
⎠
⎠