10. Test a complete range of good and bad samples to make sure that the sensor accepts good parts and rejects bad parts.Figure 259. Edge02 ROI Figure 260. Edge02 ROI9.2 Measure ToolUse the Measure tool to determine distances, calculate angles, and create points and lines for use as inputs to other Measure tools.The Measure tool operations are:• Measure from a point to a point• Determine the intersection between two lines• Measure from a line to a pointThe points used in these operations are generated by a variety of vision tools and the lines are created by other Measure tools.Example applications:• Determine the distance between blobs• Measure the width of a label• Determine if two edges are parallel to each other9.2.1 Measure Tool: OperationsMeasure from a Point to a PointIn this operation, the distance between two points is calculated. In addition, the x and y components of that distance calculation arereturned.Along with distance, the following results are generated in this operation:• A line from point 1 to point 2• The angle of that line (relative to the x-axis)• The midpoint location halfway between point 1 and point 2How the Tool Measures Two PointsThe inputs to the Measure tool for measuring two points are any two points that vision tools generate.The results include the total distance between the points and the x and y component distances. In addition to finding these distancevalues, the Measure tool also calculates the line between the two endpoints. The angle between this line and the camera’s horizontalplane, as well as the coordinates for the line’s midpoint, are also provided.For example, a Measure01 measurement between the two points Edge01 and Edge02 appears as a dashed line. The actual measureddistance between the points is a solid green line labeled Measure01 and an arrowhead indicates the direction of the measurementoperation (from Edge01 to Edge02, in this case). A blue circle is the midpoint. Two shorter dashed lines represent the x and ycomponents. The angle between Measure01 and the horizontal plane is a curved arrow. The results show the angle in degrees.See Using the Edge and Measure Tools on page 94 for a Measure tool example.Intersect Two LinesIn this operation, the results of the intersection of two lines is generated. These results are:• The angle of intersection between the two lines, measure from line 1 to line 2• The intersection point, even if this point is not in the imageHow the Tool Measures Two LinesThis mode finds the angle between two lines. Both inputs are the line outputs from existing Measure tools. The order in which thesetools are input matters.The intersection point can be off of the screen. This angle provides the ability to measure two lines for parallelism.VE Series Smart Camera130 www.bannerengineering.com - Tel: 763.544.3164