Reference Manual
Chapter
3
Ruler E
Configuring the Ruler
3.6.3
Horizontal Max and Threshold (HorMaxThr)
The horizontal max and threshold algorithm combines the two above-mentioned algo-
rithms. Threshold is used for measuring range and max for measuring intensity. This
algorithm gives better 3D and is slightly faster than HorMax. One threshold can be used.
Median and/or Morphology filters can also be use in this algorithm. The Median filter
calculates a median value on the binary image data of 3-columns (actual column and its
left-right neighbors) before the range algorithm is applied. The morphology filter is used for
reducing noise in the sensor image before the laser line is detected. If both filters are
used, the morphology filter is applied before the median filter.
Input parameters
Start row
The first sensor row to acquire data from. 0 – 511. Default value
0.
Number of rows
The number of rows to acquire algorithm data from. 16 – 512.
Default value 128.
Exposure time
The time that the sensor is exposed to light. (microseconds)
Gain
The amplification of the analog sensor data before AD conversion
1 = No amplification
3 = 3 times
4 = 4 times
Threshold
Threshold level. 0 – 255.
Ad bits
Number of bits to perform AD conversion of sensor data on.
5 – 8. Default 7.
Median
States if the Median filter should be applied on the data or not.
0 = filter disabled
1 = filter enabled
Morphology
Morphology filter enabled or not.
0 = filter disabled
1 = expand mode
2 = shrink mode
Morphology size
Filter size 3 – 5 rows.
The acquisition speed of a configuration using the Horizontal Max and Threshold compo-
nent depends mainly on the current setting for the ROI and AD bits. The maximum speed
at 5 - 8 bit AD conversion is shown in the following figure.
0
1000
2000
3000
4000
5000
6000
7000
8000
9000
10000
0
100
200
300
400
500
HorMaxThr Maximum Profile Speed
Profiles per second
5 AD bits
6 AD bits
7 AD bits
8 AD bits
5 AD bits
6 AD bits
7 AD bits
8 AD bits
Number of rows
SICK IVP • Industrial Sensors • www.sickivp.com • All rights reserved
25