Gocator Line Profile Sensors: User Manual
Gocator Web Interface • 379
Peak Detection
The tool determines the peak point on a ruler profile by moving two windows—one to each side of the
point being examined—and comparing the average height in those windows with the height of the point
being examined. (The size of these windows is specified in Center Window Size.) If the height of the
point being examined is greater than both the left and right average height by the value specified in
Center Threshold, that point is considered a candidate peak point. The tool uses the candidate point
with the highest average height over both windows as the peak point.
Side Detection
After the tool has located the peak point, it locates the sides of the track starting from the peak point.
You can choose between two methods for side detection: Maximum Gradient and Height Threshold.
Maximum Gradient:
Use this side detection method when the slope of the two sides show a clear drop-off. The following
settings define the area in which the tool searches for a maximum gradient, which will determine the
edge of the track.
Side Window Size The size of the two adjacent windows the tool uses to determine the maximum
slope on the left and right side of the track. Set this to roughly 3 to 5 times the
smaller of the X and Yresolution of the sensor.
Max Track Width The maximum width of the track over the ruler profile the tool searches for edge
points. The tool uses this value to limit where the edge of the track might be
detected. Set this to slightly larger than Side Window Size.
Maximum Gradient Side Detection Parameters
Height Threshold:
Use this side detection method when the slope of two sides is very gradual. The tool finds the left and
right edges by averaging the height of small fixed-size windows moving away from the peak point. Edge
points are the left-most and right-most window locations where the average height is below a minimum
height threshold.
Side Height Threshold The minimum height that the average calculated in the fixed-width height
threshold windows must be below.
Height Threshold Side Detection Parameters