Stitching Calibration

You are currently viewing the documentation for the latest version (2.2.0). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

Overview

Stitching Calibration is a high-precision data acquisition and processing technique for measuring large-sized or elongated objects. This method acquires segmented data from the calibration target and solves for the relative poses between the data segments to achieve accurate global stitching of the multi-segment data.

  • Calibration procedure

    When establishing the calibration parameters, a unidirectional (Z-shaped) scanning strategy must be used. Regardless of the path used in subsequent applications, the two data acquisitions during calibration must follow exactly the same scanning direction to ensure the accuracy of the coordinate transformation.

  • Application examples

    In actual measurement, you can flexibly choose either a bidirectional (S-shaped) or unidirectional (Z-shaped) scanning strategy as needed. Based on the calibration results, the system automatically identifies the scanning direction and applies the appropriate coordinate transformation strategy, such as mirror correction, to ensure that multiple data segments are seamlessly stitched into highly complete surface data.

s scan demo

z scan demo

S-shaped scanning

Z-shaped scanning

Start the Feature

You can open the calibration window in the following ways:

  • In the home interface of Mech-MSR, click the Laser Profiler Calibration button in the toolbar to open the calibration window. After selecting Single, the Single Laser Profiler Calibration window opens, where you can select the Stitching calibration scenario.

  • Select Camera  Laser Profiler Calibration in the menu bar to open the Laser Profiler Calibration window. After selecting Single, the Single Laser Profiler Calibration window opens, where you can select the Stitching calibration scenario.

The laser profiler calibration feature is available after a solution is opened, and the calibration results apply to all projects in that solution.
select stitching calib

Calibration Procedure

Preparation

Before starting the calibration, ensure that the following preparations have been completed:

  • Confirm that the laser profiler is securely mounted and its mounting condition remains consistent during calibration and actual use.

  • Confirm that double-frustum calibration target meets the requirements of the current application has been manufactured in accordance with calibration target design and machining instructions, and ensure that the calibration target placement meets the requirements.

  • Confirm that the scanning direction of the laser profiler remains exactly the same throughout calibration (alternating forward and reverse scanning is supported in actual applications).

  • Ensure that the Mech-Eye Viewer and Mech-MSR can connect to the laser profiler normally.

  • Mech-Eye ViewerIn the softwareadjust the parameters, to ensure that the acquired image data has no obvious missing regions and contains minimal noise, and save the parameter group as the configuration parameter group for the laser profiler during calibration.

  • To ensure calibration accuracy, warm up the laser profilers before calibration by continuously acquiring data for more than one hour after power-on under the actual operating parameters.

Instructions

one Connect to Laser Profilers

You can select laser profilers in the Connection column to connect to the devices.

connect to profiler
  • If the laser profiler is not listed, ensure that it is properly connected and then click the refresh icon update devices to refresh the list.

  • Click the Add a virtual device button to load data from a virtual device. If a virtual device is added for calibration, select two virtual device files at the same time when adding them.

After connecting the laser profiler, click the Next button to go to the Axis Direction Mapping settings page.

two Set Axis Direction Mapping

Axis direction mapping is used to establish an accurate correspondence between the machine coordinate system and the coordinate system of the surface data acquired by the laser profiler. Based on the actual installation, configure the direction mapping between the machine axes and the laser profiler axes to ensure accurate correspondence between the machine coordinate system and the surface data coordinate system, and to avoid data errors or stitching failures caused by coordinate system misalignment.

The following configuration procedure is based on a typical application example (see the figure). The actual configuration parameters must be determined strictly according to the installation layout of the on-site equipment.
actual scene demo

The Y-axis direction of the laser profiler is fixed as the direction from the laser emitter to the photosensitive unit in the sensor head. The directions of the other axes can be determined according to the right-hand coordinate system: the right thumb points in the positive X-axis direction, the index finger points in the positive Y-axis direction, and the middle finger points in the positive Z-axis direction.

laser profiler y

Follow the steps below:

  1. Confirm the motion relationship between laser profiler and machine axis.

    1. Determine which machine axis or axes the laser profiler sensor head moves with, and how the motion directions correspond.

    2. In the software configuration interface, locate the corresponding settings for each machine axis (X, Y, Z), and select Yes or No as appropriate.

    3. For each machine axis set to Yes, observe along which axis and in which direction the laser profiler moves when the coordinate value of that machine axis increases.

  2. Confirm the motion direction of the target object relative to the laser profiler.

    After determining the motion relationship of the laser profiler itself, you also need to determine how the target object moves relative to the laser profiler:

    • Each acquisition: During each data acquisition (i.e., each scan of one frustum), either the machine moves the calibration block along one of its axes, or one of the machine axes moves the laser profiler along its own Y-axis, thereby completing the data acquisition of the current frustum.

      each acquisition
    • Inter-acquisition: In order to acquire data from the two frustums separately, either the machine carries the calibration block along another machine axis, or another machine axis moves the laser profiler to a position directly above the other frustum, thereby completing the position switch between the two acquisitions.

      between acquisitions
    Example description

    In the example, the laser profiler sensor head is rigidly mounted on the machine’s Z-axis and can move up and down with the Z-axis. Therefore, under Machine Z-Axis Configuration, set the Laser Profiler Moves with Machine Z-Axis to Yes, set the corresponding item under Machine X-Axis and Y-Axis Configuration to No, and set the Laser Profiler Motion Direction (when the Machine Z-axis coordinate increases) to Laser Profiler + Z.

    The calibration target moves along the machine’s X- and Y-axes, allowing the laser profiler to scan the two frustums on the calibration target separately and complete two data acquisitions. During each round of data acquisition, the robot moves along the Y-axis with the calibration block; for two rounds of data acquisition, the robot also moves along the X-axis with the calibration block to switch positions between rounds of data acquisition.

    axis mapping demo

After the data acquisition is completed, click the Next button to go to calibration target settings page.

three Calibration Target Settings

The stitching calibration uses the target with two frustums. Enter the parameter values according to the actual design and machining of the calibration target.

Be sure to enter accurate parameter values.
calibration target demo

Parameter

Description

Upper base length (L1)

The side length of the frustum’s smaller base, in millimeters (mm).

Lower base length (L2)

The side length of the frustum’s larger base, in millimeters (mm).

Frustum height (h)

The vertical distance from the upper base to the lower base of the frustum, in millimeters (mm).

Translation distance (d)

The distance between the centerlines of neighboring frustums, in millimeters (mm).

After entering the accurate parameter values and confirming that they are correct, click the Next button to go to the calibration page.

four Calibration Calculation

Follow the steps below to complete calibration:

  1. Complete data acquisition configuration.

    Parameter Description

    Machine X/Y/Z-Axis Coordinate Changes (Between Acquisitions)

    The system will automatically determine the corresponding machine axis based on the previous settings.

    In this case, observe whether the coordinates value of the corresponding machine axis increases or decreases between the first and second data acquisitions, so as to determine the motion direction of the calibration block relative to the laser profiler.

    Machine X/Y/Z-Axis Coordinate Changes (During Each Acquisition)

    The system will automatically determine the corresponding machine axis based on the previous settings.

    At this time, observe whether the coordinates of the corresponding value of the corresponding machine axis increases or decreases during each data acquisition, so as to determine the scanning direction of the laser profiler.

    Configuration Parameter Group

    The parameter group used by the laser profiler for data acquisition.

    Machine X/Y/Z-Axis Travel Distance

    The distance traveled by the corresponding machine axis between two data acquisitions (i.e., the displacement required to move from one frustum to the other).

    By default, this value is the same as the Translation Distanceparameter value of the calibration target.

    Example description

    In the example, machine X-axis coordinate change (Between Acquisitions) is set to decrease, and machine Y-axis coordinate change (During Each Acquisition) is set to increase. Since the translation distance of the calibration target is 83 mm, the Machine X-axis travel distance remains 83 mm.

    data acquisition config demo
  2. Data Acquisition.

    Complete two data acquisitions separately. The acquired data should meet the following requirements:

    • The calibration target should be located at the image center.

    • The image should contain only the six feature surfaces of the calibration target, and each surface should be fully captured.

      If other surface data exists, enable Use Feature Region and adjust its size and position to ensure that the region contains only the six feature surfaces of the calibration target.
    • The frustum on the calibration target should face the sensor head as directly as possible and should not be rotated about the X-, Y-, or Z-axis.

    • The image should have minimal noise.

      Normal Severe point loss Incomplete surface Extra surface present Excessive noise

      image normal

      image lost

      image uncomplete

      extra plane

      too much noise

    If the quality of the acquired data does not meet the requirements, readjust the parameters in the Mech-Eye Viewer software until the image quality meets the requirements, and then save the parameter group. Then return to step 1 and re-select the configuration parameter group.

    After data acquisition is complete, click Next to start the calibration calculation.

  3. Calibration calculation.

    Click the Calibration calculation button to start multiple calibration. The system will automatically analyze the geometric relationship between the two scans, calculate the actual mounting tilt angle (direction vector) of the sensor head, and generate the calibration result.

    When the FOVs from laser profilers in the two data acquisitions overlap, enable Fuse images to see whether the fused image meets expectations.
    stitching calib result
  4. Check the calibration result to ensure that the calibration accuracy meets the requirements.

    After confirming that the calibration result is correct, click the Save.In the pop-up window that appears, specify the file name and storage path to save the calibration result and complete the calibration.

Apply Calibration Result

The stitching calibration results are saved in the calibration folder under the solution folder and can be used by the 3D Laser Profiler Step in any project in the current solution.

sz calib result demo

The procedures are as follows:

  1. In the parameter configuration panel of the Step, change the camera mode to one.

  2. Select the S/Z shape scan stitching parameter. The Select calibration result parameter will then appear in the parameter panel. Choose the calibration result to use from the drop-down list.

  3. Under Scan Segment Settings, click the Open the editor button to configure multiple scan segment.

  4. After configuring other parameters for this Step, you can run the Step to apply the selected calibration results.

Appendix: Information about Calibration Results

In the data acquired by each laser profiler, the points and planes are indexed as shown in the figure below (top view). P1 to P8 ~are eight corners of a frustum~, and ① to ⑥ represent the six planes that should be included in the data acquired by each laser profiler.

eight feature points

six feature planes

Points

Planes

When stitching images, data from multiple acquisitions must be transformed into the coordinate system of the data from the first acquisition.

  • Machine axis vectors (relative to the corresponding axes of the laser profiler)

    Configure this parameter according to the actual setup, based on the correspondence between the machine axes and the coordinate axes of the laser profiler. In general, each pair of corresponding axes should be perfectly parallel to ensure accurate calibration and measurement.

  • Reprojection error

    The reprojection error is generated by calculating the coordinate deviations of the frustum’s eight corners from reference coordinates, measured in millimeters. The smaller the reprojection error, the better.

Is this page helpful?

You can give a feedback in any of the following ways:

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.