Find the Perpendicular Projection of a Point on a Line

NI Vision Assistant

Find the Perpendicular Projection of a Point on a Line

  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 Perpendicular Projection in Geometric Feature.
  3. Select three points (for example, points 1, 2, and 3) on the image by clicking them.
  4. Click Measure. Vision Assistant computes the location of the perpendicular projection of point 3 on the line (point 1, point 2).
  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 intersection of two lines