Convert Pixel Length to Real-World Distance
Function
This Step is used to calculate the actual length of a specified line segment in 2D images. A calibration board is needed when using this Step, and it should be placed in the plane where the line segment to be measured is located.
Usage Scenario
This Step applies to scenarios where 2D images are used for measuring the dimensions of objects with relatively planar surfaces.
Since a line segment to be measured should be input, this Step usually follows Steps in the Measuring category with the LineSegmentList output port, such as Measure Distances Segments to Segments, Measure Distances Points to Circles, and Measure Distances Circles to Segments.
Parameter Description
Scale
| Parameter | Description |
|---|---|
Scale |
Description: The conversion ratio of pixel distance to actual distance. Default value: 1.0000 Homography When the conversion method is Homography, the Step will project the line segment in the image plane onto the actual plane to calculate the actual length of the line segment. There are two ways to calculate the projection of the image plane onto the actual plane:
The parameters of the Homography conversion method are as follows: |
Calibration Circle Center Distance |
Default value: 1.0000
|
Number of Circle Rows |
Default value: 7
|
Number of Circle Columns |
Default value: 7
|
Calculate by Calibration |
Default Value: Unselected.
|
Image No. |
Description: When there are multiple input images, you can specify the image in which the line segment will be measured.
|
Calibration Board Plane Height |
Description: This parameter specifies the distance between the plane of the calibration board and the base plane.
|
Measured Plane Height |
Description: This parameter specifies the distance between the base plane and the plane where the line segment to be measured is located.
|