Chapter
2
The 1600T in Action - Simple Examples
2-18
Getting Started With Visionscape® Smart Camera
v3.7.3, Mar 2009
Simple Fast Edge Tool
FrontRunner™ Job:
Start > Visionscape > Visionscape Tutorials & Samples > Tutorials > HawkEye
1600T > Simple Fast Edge Tool > tutorial_fastedge.avp
The Fast Edge Tool finds straight edges or line segments in the ROI. The step
calculates a line equation, a midpoint of the line and angle, as well as statistics
for the edges found as they relate to the line that is fit.
The Fast Edge Tool searches the ROI for places where gray level changes occur
and uses these places to compute a line based on one of three types of line fit
algorithms. These transitions are found using a threshold or gradient analysis.
This example finds the four edges and two top corners of one image.
1.
Start FrontRunner™ by selecting
Start > Visionscape > Visionscape
FrontRunner
. FrontRunner™ displays its main window.
2.
Do either of the following:
a.
For a camera already added to FrontRunner™, simply click the camera
button.
b.
For a camera that has not been added to FrontRunner™, click
.
FrontRunner™ displays the Select Device dialog box. Select a camera
and click
OK
.
3.
Take control by clicking
. FrontRunner™ displays the Login to
Device dialog box.
Note: You will not see this screen if no login parameters are set.
4.
Enter your username and password (the defaults are “hawkeye” and
“vision”).
5.
Click
OK
.
6.
Stop the camera by clicking
.
FrontRunner™ displays the Device State Changed dialog box.
7.
Because we’re creating a new Job, click No.