Alignment Parameter Group

You are currently viewing the documentation for the latest version (2.2.1). 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.

This section introduces how to use the “Alignment Parameter Group.”

Usage Scenario

It is hard to ensure the target object is in the same position in every acquired image. You may encounter the following:

  • Object translation: The target object moves along the X-, Y-, or Z-axis.

  • Object rotation: The target object rotates about the Z-axis.

To ensure the consistency of subsequent measurements, you can use the following two methods to cope with the above situations:

  • Align Input Data

    To address misalignment in images or data, you can create a matching template by extracting typical features of the target object, and use the template to correct the object’s position. Regardless of how the object’s position changes, the object remains in the same position after alignment, ensuring the subsequent measurements will not be affected.

  • Transforming feature regions

    In typical scenarios, feature regions do not automatically adjust with the position of the target object. If the object moves, you would need to adjust the feature regions manually, which is both repetitive and cumbersome. To make the feature region change with the target object’s position, information about the object’s translation and rotation can be extracted. Accordingly, the feature region can be rotated or translated to ensure it always covers the target area accurately, unaffected by the object’s position changes.

    The data collection of the object’s position changes is the Alignment Parameter Group. Simply put, the Alignment Parameter Group ensures that when the target object’s position changes, the feature region adjusts accordingly, maintaining consistent measurements.

In general, Alignment Parameter Group is only valid if a feature region or feature regions are used in a Step and serves to adjust their position. There is only one exception where the alignment parameter group can be used to adjust the position of the track line in the Measure Surface Track Step.

How to Obtain the Alignment Parameter Group?

Currently, you can obtain the alignment parameter group by the following methods:

Use the “Extract Alignment Parameter Group” Step

You can use the Extract Alignment Parameter Group Step to directly create an Alignment Parameter Group.

The purpose of extracting the alignment parameter group is to ensure that the set feature region(s) can be automatically adjusted as the object’s position changes. Therefore, when creating an alignment parameter group, you should make sure that the parameters used are capable of accurately transforming the position of feature regions.
Example

After extracting the surface data of pin tips, you can create an Alignment Parameter Group on the basis of the center points of each pin tip to further narrow down the data range. Then, when using the Process Surface by Filter Step to crop the extracted surface data, set a feature region for the surface data of one pin tip to establish the correspondence between the feature region and the center point. The feature regions for other pin tips will then be automatically adjusted accordingly.

When the position of pins changes, the feature regions can be automatically adjusted according to the correspondence established during the initial tuning process if the center points of pin tips are determined.

① Extract surface data of pin tips

example 0

② Obtain center points of pin tip data

example 1

③ Create an alignment parameter group

example 2

④ Adjust a feature region

example 3

⑤ Narrow down the data range

example 4

Use the “Alignment/Matching” Step

The following Steps can all calculate the translation and rotation of a target object based on a created matching template, and output an alignment parameter group:

Step Data Type Output

Surface Alignment

Surface data

Aligned surface data and alignment parameter group.

Surface Matching

Surface data

Matching results and alignment parameter group.

2D Alignment

2D image

Aligned image and alignment parameter group.

2D Matching

2D image

Matching results and alignment parameter group.

The alignment parameter group output by these Steps can be input into subsequent Steps that use feature regions, to rotate or translate the feature regions accordingly.

  • For Surface Alignment and 2D Alignment, the aligned data and the corresponding alignment parameter group cannot be used simultaneously. Subsequent Steps should use one or the other; otherwise, the processing results may be affected.

  • Surface Alignment performs a coordinate transformation on the surface data, which may in rare cases cause a change in the number of data points, thereby affecting measurement accuracy. After using 2D Alignment, image pixel values may change slightly.

Example

When the target object’s position changes in the image, the alignment parameter group enables the feature regions to change accordingly: (The following examples are based on 3D scenarios; the same principles apply to 2D scenarios.)

Change Illustration Alignment parameter group not used Alignment parameter group used

Translation

example 5

example 6

example 7

Rotation

example 8

example 9

example x

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.