Find the Intersection of Two Lines

NI Vision Assistant

Find the Intersection of Two Lines

  1. Click Machine Vision»Caliper or select Caliper from the Machine Vision tab in the Processing Functions palette. Vision Assistant displays and numerically labels all points that you located with the Edge Detector, Straight Edge (Rake), Circular Edge (Spoke), Centroid, Pattern Matching, Color Pattern Matching, Color Location, Shape Matching, Particle Analysis, or Circle Detection functions.
  2. Select Line Intersections in Geometric Feature.
  3. Select four points (for example, points 1, 2, 3, and 4) on the image by clicking them.
  4. Click Measure. Vision Assistant computes the location of the intersection of the lines represented by the lines (point 1, point 2) and (point 3, point 4).
  5. Click OK to add this step to the script.
Note  You must have already located the position of objects in the image using one of the following functions: Edge Detector, Straight Edge (Rake), Circular Edge (Spoke), Centroid, Pattern Matching, Color Pattern Matching, Color Location, Shape Matching, Particle Analysis, or Circle Detection.
Tips  
  • You also can select points on the image by double-clicking them in the Points list. When a point is selected, Vision Assistant places a check mark to the left of the item.
  • To save the data, click the Send Data to Excel button or the Save Results button.

Related Topics

Find the angle made by three or four points

Find the angle made by two points

Find the area enclosed by three or more points

Find the center of mass using three or more points

Find the center of two points

Find the circular fit using three or more points

Find the distance between two points

Find the perpendicular projection of a point on a line