Skip to content

3D Plane Fitting

Operator Function

Fit a plane based on the input region parameters and output the plane parameters. If the transform point cloud option is enabled, adjust the input point cloud region to the xoy plane based on the plane parameters.

Parameter Introduction

Input Parameters

ParameterRangeDefault ValueDescriptionIllustration
Input Image0-80IM number for image input

Calculation Parameters

ParameterRangeDefault ValueDescriptionImage
Estimate Planetrue/falsetrueIf enabled, perform plane fitting based on the input region and output the corresponding plane parameters to registersEstimate Plane
Transform Point Cloudtrue/falsetrueIf enabled, adjust the input point cloud image to the xoy plane, i.e., the zero planeTransform Point Cloud
RegionSet the region range for plane estimation and point cloud transformation
Output Image0-80IM number for image output

Result Display

ParameterRangeDefault ValueDescriptionIllustration
Planetrue/falsefalsePlane fitted using the input region. If enabled, display 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
planeplanePlane parameters

Exception Troubleshooting

No.Exception InformationCorresponding ParameterSolution
1No algorithm function specified! Please select at least one functionSelect at least one function from Estimate Plane and Transform Point Cloud
2Input value is {0}, invalid region typeRegion TypeOnly window2d, box, pointset supported
3Region is empty1. Check if input point cloud is empty
2. Check if ROI region selects point cloud
3. Check if bound pointset is empty

Example Introduction

Engineering Design

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

  2. Select the 3D Region Operation tool to obtain the region needed for plane fitting.

  3. Select the 3D Plane Fitting tool to measure the profile step from point to point and point to line respectively.

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. Set the region:

Bind the region obtained from the previous step's 3D Region Operation tool.

  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