Chapter
2
Reference Manual
IVC-2D
18
©
SICK AG • Advanced Industrial Sensors • www.sick.com • All rights reserved
Getting Started
2.4.1
Setting Constant Parameter Values
Both the
ROI rectangle
and the
Find column edge
tools need a number of parameters to be
set:
ROI rectangle
• The rectangle that is our region of interest.
Find column edge
• An image bank containing the image to scan.
•
A Region of Interest (ROI), which is specified by entering the number
of the program step in which we defined the ROI that we want to use.
• The line along which the image should be scanned and the direction
to scan in. Since this tool always scans along vertical lines, the line
can be specified by entering the x coordinate for the line.
• The range of grayscale values in which we expect to find the edge
that we are searching for.
To
set a constant value manually
is really straight-forward – just enter the value in the
Value
column for the parameter:
12.
Select the
Find column edge
step.
13.
Double-click the
Value
column for the parameter
06=ROI definition step
, and enter the
program step in which you specified the ROI.
14.
Set the scan direction by double-clicking the
Value
column for the parameter
03=Analysis direction
, and choose
Up
Æ
Down
from the menu.
Interactive setup windows
are also used for entering constant values, but in this case
captured images are used to provide feedback for the settings. Parameters can be set
interactively in three different ways:
In the Preview window
By clicking the button with three dots (
), that is displayed when a parameter is
double-clicked
By double-clicking the Setup field that is displayed at the bottom left corner of certain
program steps
For example, when defining a ROI it is usually much easier to mark it directly in the image in
a preview window than entering coordinates for the rectangle in the Value column:
15.
Select the
ROI rectangle
step.
A rectangle is shown in the upper preview window. This is the default ROI that is set
for a new ROI rectangle.