Skip to content

3D Multi-Point Positioning

Operator Function

This is an integrated operator that manually selects regions/manually inputs points/obtains coordinates of 2~9 points from registers, calculates the average value of these coordinates, outputs the center point coordinates, and performs position adjustment for the entire point cloud centered around this point.

Parameter Introduction

Input Parameters

ParameterRangeDefault ValueDescriptionIllustration
Input Image0-80IM number for image input

Calculation Parameters

ParameterRangeDefault ValueDescriptionIllustration
Point nPoint/3D Square Probe3D Square ProbeInput point position coordinates or
Filter MethodNo Filter/Statistical Filter/RANSAC FilterNo FilterNo Filter: No filtering of found edge points
Statistical Filter: This filtering method first performs a best fit on the found edge points, then uses the standard deviation multiplication factor to calculate the distance threshold. Calculate the distance from all edge points to the fitted model. If this distance is greater than the distance threshold, it is considered an outlier.
RANSAC: This filtering method is divided into two steps: hypothesis and verification. The hypothesis process involves randomly selecting n points from the point set for geometric model fitting; the verification process uses the remaining point set to calculate the distance to this geometric model. Points with distances less than the distance threshold are called inliers. If the number of inliers meets the threshold, the geometric model obtained from this hypothesis process is the best model, and iteration stops.
Standard Deviation Multiple2.000
Distance Threshold0.100If the distance from a point to the output geometry is greater than this threshold, it will be filtered out.
Iteration Count50If the iteration count exceeds this number, the algorithm will stop iterating.
Position AdjustmentAdjust X Position: If enabled, adjust the X coordinate of the new origin to 0
Adjust Y Position: If enabled, adjust the Y coordinate of the new origin to 0
Adjust Z Position: If enabled, adjust the Z coordinate of the new origin to 0
Output Image0-80IM number for image output

Point n

ParameterRangeDefault ValueDescriptionIllustration
Enabletrue/falsefalseIf enabled, activate this point
PointInput point position coordinates
3D Square Probe2D Window: Input point cloud within the window, extract points from this point cloud
Box: Input point cloud within the box, extract points from this point cloud

As shown in the figure below: Input four points A, B, C, D, then obtain the center point O (x, y, z)

Find Center Point

In the initial state, the X, Y, Z coordinates will be adjusted. The figure below shows the positions of each point after adjustment.

Adjust All Coordinates

For adjusting X, Y, Z coordinates, you can choose arbitrarily:

  • Transform x:

Transform x

  • Transform y:

Transform y

  • Transform z:

Transform z

  • Transform xy:

Transform xy

  • Transform xz:

Transform xz

  • Transform yz:

Transform yz

Result Display

ParameterRangeDefault ValueDescriptionIllustration
Positioning Pointtrue/falsefalseIf enabled, display the positioning point in the image
ROI Point Settrue/falsefalseRegion point set selected by ROI box. If enabled, display in the image

Output Parameters

NameTypeRangeDescription
Resultbooltrue/falsetrue for success
false for failure
Warningbooltrue/falsetrue indicates a warning
false indicates no warning
MessagestringOutput success, error, or warning messages. Empty if no error or warning.
TimefloatOperator execution time, unit: ms
pointpoint3dOutput positioning point

Tip

For more detailed explanations of parameter types, please refer to Type Definitions

Exception Troubleshooting

No.Exception InformationCorresponding ParameterSolution
1Input filter mode is {0}, invalid filter modeFilter ModeChoose filter mode as one of: No Filter/RANSAC/Statistical Filter
2Input point cloud is emptyConfirm if IM contains valid points. If no valid points, load point cloud or switch to IM with valid points
3Input region {0} type is {1}, invalid region typeIndex, Region TypeRegion input type must be one of: 2D Window/2D Circular Window/Box/Cylindrical Box/Point Set
4Input region number {0} is emptyIndexCheck if this region number selects point cloud
5Point {0} input mode is {1}, invalid mode inputIndex, ModeMode must be Point/3D Square Probe
6Number of selected points is less than 2Enable at least 2 points
7Polygon window vertex count for point {0} is less than 3, cannot form polygonIndexCheck the polygon window, increase its vertex count to 3 or more

Example Introduction

Engineering Design

  1. Select the Load Point Cloud tool to load the required 3D point cloud image to IM0.

  2. Select the 3D Multi-Point Positioning tool.

Tool Usage

  1. Select the input image for the operation. The image number must match the IM number where the image is located in the project.

  2. Enable multiple points, select 3D Square Probe type as Box, move the box to the position of the positioning point, enclosing the positioning point area.

Usage Tips

  1. Use the ROI controller on the image window to drag or scale the box;
  2. Directly modify the box's start or end point coordinates in the calculation parameters to adjust the box position and size;

Local Image

  1. Set the parameters.

  2. Check the content you want to display in the result display section.

  3. Click Test to check if the image window and parameters meet expectations.

  4. If there are no issues, click Save. Run the operator in the run list, and then view the running results in the corresponding IM.

Local Image

AI-Vision, Making 3D Measurement Easier