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 on icon_measure on the toolbar to switch to measurement mode.


Input

The source data can be input via the following Steps:

Note

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

    ../../../_images/select_step.gif

    Hint

    You can click on the > 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.

    ../../../_images/select_source.gif

    Hint

    • The selected data type should conform to the data type within brackets, or else an error message will pop up.

    • If you cannot see the Step Input Source Selection panel, please go to View and check the box before Step Input Source Selection.

  3. Run the project

    Click on Run in the top middle of the graphical programming workspace or click on 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 on 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.

    ../../../_images/select_circle.gif

    Hint

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

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

      ../../../_images/switch_display.gif
    • You can click on the icon_zoom buttons in the upper right corner of the sketchpad to zoom in or out the image. Click on icon_recover to restore the image scale to 100%. Click on icon_more to adjust the Pen Width, Background Brightness, Background Contrast and Font Size.

      ../../../_images/toolbar.gif

      Hint

      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.

    Hint

    If you cannot see the Measurement Output panel, please go to View and check the box before Measurement Output.

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

    ../../../_images/measurement_output1.png
    • Result View

    The Result View in Measurement Mode provides a more user-friendly display of the measurement result. Click on icon_measuremode, 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.

    ../../../_images/result_view.png
    • Operator Interface

    Click on Operator Interface (Custom) on 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

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

  2. Connect the Steps to program and configure parameters in Steps.

  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.