Straighten Ring-Shaped Image Region

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

■ If you're unsure about the version of the product you are using, please contact Mech-Mind Technical Support for assistance.

Function

This Step is used to straighten a ring-shaped region in the input image, thereby transforming it into a rectangular region.

Usage Scenario

This Step is a general image processing Step used for subsequent reading of ring-shaped characters.

Input and Output

Input

Input ports Data type Description

Image

Image/Color

The specified region in the image input to this port will be straightened.

Alignment Parameter Group

Pose2D

Used to adjust the feature region’s pose in sync with the target object’s pose changes.

Output

Output ports Data type Description

Straightened image

Image

The image formed by straightening the ring-shaped region.

Parameter Description

Parameter Description

ROI Settings

You can draw a ring-shaped ROI. The system will extract multiple columns of pixels based on the caliper settings, and the edge point pairs detected in each column will be used to detect the ring-shaped region.

Interpolation Method

Parameter description: Select the interpolation method for straightening the ring-shaped region to generate smoother edges and a more natural straightening effect.

Value list:

  • Nearest neighbor: This is a faster method, but it results in a coarse image.

  • Bilinear: This is a commonly used method that produces a smoother image.

Radial Direction

Parameter description: This parameter is used to set the radial direction for straightening.
Value list:
* Clockwise: The ring-shaped region is swept clockwise from the start angle.
* Counterclockwise: The ring-shaped region is swept counterclockwise from the start angle.

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.