Skip to content

3D Coplanarity - Datum Plane Method

Operator Function

Use the datum plane method to calculate coplanarity deviation

Principle Explanation:

  1. Extract the highest points of each terminal point cloud
  2. Determine three terminal vertices exhibiting the maximum vertical distance (the terminal triangle defining the datum plane must contain the projection of the centroid to form a valid datum plane. If the plane is not considered valid, the next terminal with the maximum vertical distance will be considered as a candidate terminal to form a valid datum plane)
  3. Calculate the datum plane from the three vertices
  4. The coplanarity deviation requires calculating the distance from the datum plane to each terminal vertex, where the maximum measured value is the 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
Terminal SettingsSet parameters for terminal segmentation
Minimum Terminal Spacing0.0-1000000.00.1Minimum spacing to distinguish different terminals
Minimum Points Per Terminal1-1000000100Limit the minimum number of points in terminal point cloud
Maximum Points Per Terminal1-100000010000Limit the maximum number of points in terminal point cloud

Result Display

ParameterRangeDefault ValueDescriptionIllustration
Verticestrue/falsefalseHighest points of each input point cloud. If enabled, display in the image
Centertrue/falsefalseCentroid of all terminal point clouds. If enabled, display in the image
Datum Planetrue/falsefalsePlane formed by three qualified terminal vertices. If enabled, display in the image
Coplanarity Deviationtrue/falsefalseCalculated coplanarity value. If enabled, display in the image
Vertex Triangletrue/falsefalseTriangle formed by three qualified terminal vertices

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
3Region is emptyCheck if input ROI selects at least 4 point clouds
4Number of detected terminals is {0}, at least 4 terminals requiredRegion CountCheck input point cloud or terminal setting parameters: terminal point limits or minimum terminal spacing
5Input polygon vertex count is less than 3, cannot form polygonAdd 2D polygon window vertices so that vertex count is at least three
6No set of terminal vertices meets requirements-
7Input terminal point limit is invalidSet upper limit of terminal points to be greater than or equal to lower limit

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 Coplanarity - Datum 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. Bind the point cloud arrays to be measured.

  3. Set the parameters.

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

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

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