For example, if you have two inputs that are both
existing
Measure tools, Measure01 and Measure02, the output, called Measure03, is
the angle between the lines of each of the inputs. Measure03 is a curved arrow from the
first
input, Measure01, towards the arrowhead
of the second input, Measure02. The results show this angle in degrees. The
intersection
point of the two best
fit
lines is also provided
in the results and is shown by the blue circle in the image pane.
See
Using the Edge and Measure Tools
on page 94 for a Measure tool example.
Measure from a Line to a Point
In this
operation,
the
software
calculates the distance between a line and a point. This is the shortest distance from the line to the point,
and is generated by
creating
a line perpendicular to the original line that intersects the point. In
addition,
it returns the distance
calculations
for the X and Y component.
Additionally,
the following results are generated in this
operation:
• The perpendicular line, which goes from the line to the point
• The angle of that line
(relative
to the x-axis)
• The
intersection
point between the original line and the perpendicular line
How the Tool Measures a Line and a Point
This mode
finds
the shortest distance between a point and a line.
The two inputs to the Measure tool are:
• Any point a vision tool generates
• Any line another measure tool generates
The shortest distance between a line and a point may lie along another line. This new line may be perpendicular to the original line.
For example, the center point of a blob, Blob01, and the nearest point in the input line Measure01
define
a dashed line. The actual
measured distance between Blob01 and Measure01 is labeled Measure02. A blue circle shows where Measure01 and Measure02
intersect. The results show the distance between the
intersection
point and the blob midpoint in pixels. Two shorter dashed lines
represent the x and y components. The angle between Measure02 and the horizontal plane is a curved arrow. The results show this
angle in degrees.
See
Using the Edge and Measure Tools
on page 94 for a Measure tool example.
9.2.2 Measure Tool: Input Parameters
Use the Input parameters to
configure
how the tool analyzes an image.
Figure 261. Measure Tool—Input Parameters
Measure from...
Select either a constant or another tool where the Measure tool will start measuring from.
Figure 262. Measure
From...—Specific
Tool Selected
If
selecting
a constant, enter the x and y coordinates to begin the measurement from. The coordinates are entered in pixels, however if
Units is enabled, the value entered in pixels is converted to units for the
calculation.
VE Series Smart Camera
www.bannerengineering.com - Tel: 763.544.3164
131