Reference Manual
Chapter
4
IVC-2D
©
SICK AG • Advanced Industrial Sensors • www.sick.com • All rights reserved
83
Edge
Find Column
This tool scans an image along a vertical line to find a column that contains pixels with gray
level values that are in a specified range. Only the part of the image that is inside a ROI is
scanned.
The returned value is the x-coordinate of the found column. In the preview window, the
found column is marked with a yellow line.
The tool will “find” a column (and stop scanning the image) when the column contains a
certain amount of pixels with gray level values within the range. This amount is specified by
the parameter
Level
, and can be used for making the tool less sensitive for noise in the
image.
Analysis
Direction
ROI
Pixels with gray
level between
Gray low
and
Gray high
Level
0
5
10
15
20
25
30
Amount of matching
pixels along the line
Column returned
by the tool
Line along which
the pixels are counted
The parameter
Type of transition
is used for choosing whether the tool should stop scan-
ning when the amount of matching pixels in the column rises above the amount set in
Level
(pixels > level), or when it sinks below the amount set in
Level
(pixels < level).
The lower and upper limits of the range of gray level values are set by the parameters
Gray low
and
Gray high
. These parameters can be set in an interactive setup window,
which is opened by clicking the button that is displayed when double-clicking the Value field
of the parameters. In the interactive setup window, all pixels inside the ROI with gray values
within the range are colored blue.
The image is scanned either from the left edge of the ROI to the right, or from the right to
the left depending on the setting of the parameter
Analysis direction
.
This tool requires a non-rotated rectangular ROI. The parameter
ROI definition step
points
out the program step in which the ROI is created. Note that only ROIs created with the 'ROI
Rectangle' tool are allowed. Do not use a ROI created by another ROI tool.
For some applications it is useful to combine this tool with the 'Find Row' tool to detect the
row as well. In some cases the column and the row could be used to establish the x- and
y-coordinates of the found pixel.