Getting Started with Measurement Mode

Please prepare some objects with circular parts first. In this application, you can utilize the measurement mode to check if the radius of the circle conforms to the specification or not.

Create a New Project and Switch to Measurement Mode

  1. Go to Settings  Options  Advanced, check Measurement project in Measurement Settings, and then restart the software;

  2. Select File  New Project to create a new project;

  3. Click start use measure mode getting started measure in the toolbar to switch to measurement mode.

Input

The source data can be input via the following Steps:

The Steps Laser Profiler and Read Point Cloud V2 should be connected with Orthographic Projection when utilizing Steps that belong to 2.5D Measuring algorithm.

Capture Images from Camera is used to input source data in the application below.

  1. Locate Capture Images from Camera in Step Library and drag it into the graphical programming workspace.

    start use measure mode getting started captureimages

    You can click > in the lower right corner of Step Library to switch the display format of the Steps.

  2. Please refer to Capture Images from Camera to configure the parameters in this Step.


Processing

This example aims to check if the circular part of the object conforms to the specification or not, so the Step Measure Circles is used.

  1. Locate the Step:

    Go to Measuring ‣ 2D Measuring in the Step Library, and drag the Step Measure Circles into the graphical programming workspace.

  2. Connect Steps:

    Select Measure Circles, and then select Capture Images from Camera_1_Camera Color Image as Input 1 (Color Image) in the Step Input Source Selection panel.

    start use measure mode getting started inputandconnect

    The type of input data should be consistent with that of the input port. If the types of data and port do not match, an alert will pop up.

  3. Run the project:

    Click Run in the top middle of the graphical programming workspace or click icon_steprun of the Step Capture Images from Camera to run the project. Then the color image will appear in the sketchpad area.

  4. Select the circular part for detection:

    Click Measure Circles first. The select frame is in the upper left corner of the image. It is recommended to zoom out the image first and then adjust the frame to a proper size. Then you can drag it to the circular part in the image and therefore select an ROI.

    start use measure mode getting started roi

    The sketchpad is used for visualization, selecting an ROI, and adding points:

    1. You can switch the image display type between color image, gray image, and binary image by clicking the buttons in the upper left corner.

      start use measure mode artboard introduction 1
    2. You can click the buttons in the upper right corner of the sketchpad to zoom in or out the image, restore the image scale to 100%, and adjust the Pen Width, Background Brightness, Background Contrast and Font Size.

      start use measure mode artboard introduction 2

You can also scroll upwards or downwards to zoom in or out the image.


Output

  1. Read the measurement:

    • The radius of the circle in the ROI will be displayed in the sketchpad area in real-time;

    • The value will be displayed in the Measurement Output panel as well.

  2. Determine whether the measurement conforms to the specification or not:

    The measurement result is displayed in red, which represents that the result failed to meet the requirement. In this example project, it is because that the LSL (lower specification limit) and USL (upper specification limit) have not been set:

    start use measure mode getting started output

    After setting the LSL and USL according to actual situation, if the measurement falls within the lower and upper limits, the value will be displayed in green, as shown below.

  3. Result View:

    The Result View in Measurement Mode provides a more user-friendly display of the measurement result. Click start use measure mode getting started measuremodeicon, and select Result View. The result will be displayed in the upper left corner: OK represents that the result conforms to the specification, while NG represents the opposite.

    start use measure mode getting started result
  4. Operator Interface:

    Click Operator Interface (Custom) in the toolbar to open the Operator Interface. If you need a custom development of this interface, please contact Mech-Mind Technical Support.

Now you have completed your first application using Measurement Mode!


General Workflow in Measurement Mode

By completing the first application, the general workflow in measurement mode can be summarized as follows.

  1. Create a New Project and switch to measurement mode.

  2. Connect the Steps to program and configure parameters in Steps. The main algorithms in measurement mode will be introduced in the next section.

  3. Select an ROI and add base points or detect points in the sketchpad area.

  4. Open the Result View, select the output Step and set the LSL and USL.

  5. Check the real-time product image, measurement and statistics in the custom operator interface.

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.