Align Point Cloud to Line With Normals
Description
This operator is used to align the input point cloud to a specified mathematical line. It iterates through each input point cloud and each line model, filters out point cloud points that are close enough to the line based on the set "Line Thickness" parameter, and then accurately projects these points onto the mathematical line, finally generating one or more line point clouds composed of these projected points.
Overview
Extracts points near supplied lines and projects them onto the lines while preserving normal channels.
Scenarios
-
Line Feature Refinement: After detecting one or more lines using operators like "RANSAC Fitting", the input point cloud (such as object edge points) may still have some thickness or noise. This operator can accurately align these rough edge points to the fitted ideal line to obtain clean, standard line features.
-
Data Filtering and Extraction: Based on known line positions, extract only the points belonging to this line from a complex point cloud.
-
Measurement Preprocessing: Before performing precision measurements such as length and distance, align the detected linear features to eliminate measurement errors caused by point cloud noise or thickness.
Inputs and Outputs
Inputs |
Edge point cloud: The input point cloud with normals or list of point clouds to be aligned, typically edge points of an object. Line equation parameters: Line equation parameters from fitting, including a point on the line and its direction vector [point.x point.y point.z direction.x direction.y direction.z]. |
Outputs |
Line point cloud: A list of point clouds aligned and projected onto the input line models. Each output point cloud corresponds to a successfully matched combination of an input point cloud and a line model. |
Parameters
Line Thickness
Description |
Maximum input-point distance from a supplied line; points within it are projected onto that line. |
Tuning Instructions |
Increase to include points farther from the line; decrease to retain points closer to it. |
Parameter Range |
[0, 1000], Default: 10.0, Unit: mm |
Parameter Range |
Values/Range: [0, 1000] Default: 10.0 Unit: mm |
Minimum Proportion of Line Points
Description |
Minimum fraction of an input cloud that must fall within Line Thickness before its projected cloud is output; 0 disables the fraction gate. |
Tuning Instructions |
Increase to reject clouds with a low linear-point fraction; decrease to accept fewer in-line points. |
Parameter Range |
[0, 1], Default: 0.2 |
Parameter Range |
Values/Range: [0, 1] Default: 0.2 |