Measure Distances Points to Segments

This Step is used to measure the distances from points to line segments.

Before using this Step, please refer to Getting Started with Measurement Mode to learn about basics of Measurement Mode.

This Step does not support custom specified points, the points can only be obtained from Measure Circles or Detect Circle Centers.

Sample Application

measure distances points to segments application sample

Connect Read Images V2, Measure Circles, Measure Longest Line Segment, and Measure Distances Points to Segments to measure the distance from points to line segments.

Connect Steps

  1. Click Measure Circles, go to the Step Input Source Selection panel, and then select Read Images V2_1_Color Image as Input 1 (Color Image).

  2. Click Measure Longest Line Segment, go to the Step Input Source Selection panel, and then select Read Images V2_1_Color Image as Input 1 (Color Image).

  3. Click Measure Distances Points to Segments, go to the Step Input Source Selection panel, and then select Measure Circles_1_Circles as Input 2 (Points) and Measure Longest Line Segment_1_Line Segments as Input 3 (Line Segments).

Configure parameters and read the result

Click the Step and configure the Image Source, Image File/Folder Path, and other parameters in the Step Parameters panel. Click Run to run the project after the settings.

Click the Step and select an ROI in the sketchpad area.

measure distances points to segments circle 1

Click the Step and select an ROI in the sketchpad area.

measure distances points to segments segment 1

Click the Step, and the distance (in pixels) from the center of the circle to the line segment by default will be displayed in the sketchpad area.

measure distances points to segments measure result
  • The measurement result will be displayed in Measurement Output and Result View panels as well. You can also set the LSL (lower specification limit) and USL (upper specification limit) to check whether the measurement conforms to the specification.

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.