Convert Pixel Length to Real-World Distance

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.

Function

This Step is used to convert the measured pixel length in an image into its corresponding real-world distance.

Usage Scenario

This Step is applied to measure the size of relatively flat objects from 2D images.

Input Description

Input item Description

Pixel Length

The pixel length measured from the image.

Parameter Description

Parameter Description

Port Count

Parameter description: This parameter specifies the number of input and output port pairs. Increasing the number of ports allows multiple pixel lengths to be processed, with each converted to a corresponding real-world distance output.
Default value: 1

Conversion Parameter Source

Parameter description: This parameter selects the source of the conversion parameters used to convert pixel length to real-world distance.

Value list

  • From user input: Manually set the Conversion Scale.

  • From Step: Obtain the conversion parameters from a Step. Please ensure that the Enable Calibration parameter is enabled in the 2D Camera Step parameters and a valid calibration parameter group has been selected.

Conversion Scale

Parameter description: The scale for converting pixel length to real-world distance. This parameter needs to be set when Conversion Parameter Source is set to From user input.
Default value: 1.0000

Step Name

Parameter description: This parameter selects the Step used as the source of the conversion parameters. This parameter needs to be set when Conversion Parameter Source is set to From Step.

Corrective Compensation

Parameter description: A compensation value applied to the conversion result to offset measurement errors.
Default value: 0.0000

Output Description

Output item Description

Real-World Distance

The converted real-world distance.

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.