Skip to content

3D Coplanarity - Regression Plane Method

Operator Function

Use the regression plane method to calculate coplanarity deviation
Input needs to bind several point cloud arrays to be measured

Principle Explanation:

  1. Extract the highest points of each terminal point cloud
  2. Use the least squares method to determine the best fitting plane for all terminal vertices as the least mean square plane
  3. Calculate the plane parallel to the least mean square plane and passing through the lowest vertex as the lowest sphere reference plane
  4. The least mean square plane is parallelly offset to the terminal vertex showing the maximum vertical distance. The distance from the offset least mean square plane to the terminal farthest from the offset least mean square plane is the component's coplanarity deviation

Parameter Introduction

Input Parameters

ParameterRangeDefault ValueDescriptionIllustration
Input Image0-80IM number for image input

Calculation Parameters

ParameterRangeDefault ValueDescriptionIllustration
Region2D Window/2D Circular Window/2D Polygon Window/Box/Cylindrical Box/Rotated Box/Point Set (binding only)BoxManually select appropriate ROI region
Can bind to select existing ROI region

Result Display

ParameterRangeDefault ValueDescriptionIllustration
Point Settrue/falsefalseInput point set. If enabled, display in the image
Verticestrue/falsefalseHighest points of each input point cloud. If enabled, display in the image
Least Mean Square Planetrue/falsefalseLeast mean square plane fitted from all vertices. If enabled, display in the image
Lowest Sphere Reference Planetrue/falsefalsePlane parallel to the least mean square plane and passing through the lowest vertex. If enabled, display in the image
Coplanarity Deviationtrue/falsefalseCalculated coplanarity value. 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
coplanarity_deviationfloatCoplanarity

Tip

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

Exception Troubleshooting

No.Exception InformationCorresponding ParameterSolution
1Input point cloud is emptyConfirm if IM contains valid points. If no valid points, load point cloud or switch to IM with valid points
2Input region type is {0}, invalid region typeRegion TypeRegion input type must be one of: 2D Window/2D Circular Window/Box/Cylindrical Box/Rotated Box/Point Set
3Input valid regions are {0}, at least 4 valid regions requiredRegion CountCheck if input ROI selects at least 4 point clouds
4Input region number {0} is emptyRegion NumberCheck if these region numbers select point clouds

Example Introduction

Engineering Design

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

  2. Select the Create ROI tool to select the point clouds needed as input.

  3. Select the 3D Coplanarity - Regression Plane Method tool, set different output types.

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. Select the region type as Box, move the box to the position to be measured, enclosing the point cloud to be tested.

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;
  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.

Example Result

Example Output

AI-Vision, Making 3D Measurement Easier