Measure Longest Line Segment

You are currently viewing the documentation for version 1.8.1. To access documentation for other versions, click the "Switch Version" button located in the upper-right corner of the page.

■ To use the latest version, visit the Mech-Mind Download Center to download it.

■ If you're unsure about the version of the product you are using, please contact Mech-Mind Technical Support for assistance.

This Step is used to locate and measure the longest line segment in the ROI.

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

Sample Application

measure longest line segment application sample

Connect Read Images V2 with Measure Longest Line Segment to locate the longest line segment in the ROI and measure its length (in pixels in this sample application).

Connect Steps

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).

Configure parameters and read the result

  • Configure in Read Images V2: 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.

  • Configure in Measure Longest Line Segment: Click the Step and select an ROI in the sketchpad area.

measure longest line segment measure segament
  • The measurement result will be displayed in Measurement Output and Result View panel. 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.