Getting Started with Measurememt 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¶
Go to
, check Measurement project in Measurement Settings, and then restart the software.Select
to create a new project.Click on in the toolbar to switch to measurement mode.
Input¶
The source data can be input via the following Steps:
Laser Profiler
Note
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 applictaion below.
Locate Capture Images from Camera in Step Library and drag it into the graphical programming workspace.
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.
Locate the Step
Go to Measure Circles into the graphical programming workspace.
in the Step Library, and drag the StepConnect 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.
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.
Run the project
Click on Run in the top middle of the graphical programming workspace or click on of the Step Capture Images from Camera to run the project. Then the color image will appear in the sketchpad area.
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.
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.
You can click on the buttons in the upper right corner of the sketchpad to zoom in or out the image. Click on to restore the image scale to 100%. Click on to adjust the Pen Width, Background Brightness, Background Contrast and Font Size.
Output¶
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.
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.
Result View
The Result View in Measurement Mode provides a more user-friendly display of the measurement result. Click on , 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.
Operator Interface
Click on 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¶
Create a New Project and switch to measurement mode.
Connect the Steps to program and configure parameters in Steps.
Select an ROI and add base points or detect points in the sketchpad area.
Open the Result View, select the output Step and set the LSL and USL.
Check the real-time product image, measurement and statistics in the custom operator interface.