Measure Distances Segments to Segments

Function

This Step is used to measure the distances between line segments.

Hint

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

Sample Application

../../../../../_images/sample_application11.png

Connect Read Images V2, Measure Longest Line Segment, and Measure Distances Segments to Segments to measure the distance between line segments.

Connect Steps

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

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

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

Configure parameters and read the result

Note

Please prepare color image(s) that contain object(s) to be measured in advance.

  • Configure in Read Images V2

    Click on the Step, and configure the Image Source, Image File/Folder Path, and other parameters in the Step Parameters panel. After completeing the configuration, click on Run to run the project.
  • Configure in Measure Longest Line Segment (1)

    Click on the Step, and select an ROI in the sketchpad area.
    ../../../../../_images/segment_13.png
  • Configure in Measure Longest Line Segment (2)

    Click on the Step, and select an ROI in the sketchpad area.
    ../../../../../_images/segment_21.png
  • Configure in Measure Distances Segments to Segments

    Click on the Step, the distance (in pixels) between line segments will be displayed in the sketchpad area.
    ../../../../../_images/measure_result9.png
  • 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.