Three-dimensional point cloud fusion method based on double-scale cross-camera consistency
By employing a dual-scale, cross-camera consistent 3D point cloud fusion method, the problems of artifacts in overlapping point cloud regions and boundary deletion errors during collaborative scanning by multiple 3D imaging units were solved, achieving high-quality 3D point cloud fusion results.
Patent Information
- Application Number
- CN202611456995.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-18
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies struggle to distinguish between double-layer conflict artifacts caused by overlapping point cloud regions due to accuracy residuals and the false deletion of real object boundaries caused by traditional single-scale filtering or grid averaging algorithms when multiple 3D imaging units are scanning collaboratively.
A 3D point cloud fusion method based on dual-scale cross-camera consensus is adopted. By acquiring the registered point cloud, anomalies are initially screened based on the height map topology and 3D spatial features. Combined with dual-scale cross-camera consensus judgment based on support radius and potential overlap radius, conflict points are eliminated and non-overlapping points are retained. Robust fusion is performed using the absolute median difference within the 3D voxels.
It effectively eliminates color double-layer artifacts in overlapping areas, maintains the geometric coverage of the original point cloud, avoids accidental deletion of the independently visible area of a single imaging unit, and ensures the accuracy and integrity of 3D measurement points.
Smart Images

Figure CN123160843A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of 3D machine vision technology, specifically a 3D point cloud fusion method based on dual-scale cross-camera consistency. Background Technology
[0002] In applications such as industrial 3D measurement, reverse engineering, and robot vision, 3D point cloud fusion technology is used to stitch together point cloud data acquired from different perspectives or different sensors into a complete global 3D model. Point cloud fusion is a post-processing procedure that involves converting local measurement data to a unified coordinate system, followed by spatial stitching and data removal.
[0003] In collaborative scanning operations using multiple 3D imaging units, a calibration process is typically first used to obtain the extrinsic transformation matrix between each imaging unit, and then the local point cloud data acquired by each imaging unit is uniformly transformed into the global coordinate system. After coordinate registration is completed, to address the issues of excessively high point cloud density and data overlap at the boundaries of the scanning fields of multiple imaging units, existing technologies typically employ methods such as averaging based on a fixed planar grid, nearest neighbor filtering using a single global distance threshold, or directly retaining the first scan point to perform stitching and downsampling processing on the overlapping data, and output a global 3D point cloud.
[0004] However, existing technologies, when dealing with registration residuals from different cameras, rely on a single decision scale or global nearest neighbor averaging. This makes it difficult to distinguish between conflict points caused by spatial misalignment of the same physical surface due to registration errors, and non-overlapping boundary points scanned by a single imaging unit due to viewing angle differences. A single decision logic can lead to double-layer artifacts caused by residual registration deviations in overlapping areas, or, during forced filtering, the independent visible areas of a single imaging unit and the physical boundaries of objects can be mistakenly deleted, reducing the fusion quality of 3D point clouds. Summary of the Invention
[0005] To address the shortcomings of existing technologies, this invention provides a 3D point cloud fusion method based on dual-scale cross-camera consistency. This method solves the problems of double-layer conflict artifacts in overlapping point cloud areas caused by registration residuals when multiple 3D imaging units are collaboratively scanning and stitching together, and the inability of traditional single-scale filtering or grid averaging algorithms to distinguish between conflicting and non-overlapping data when forcibly denoising and fusing data, which can easily lead to the accidental deletion of real object boundaries in the exclusive viewpoint of a single camera.
[0006] To achieve the above objectives, the present invention provides a 3D point cloud fusion method based on dual-scale cross-camera consistency, comprising: Obtain the registered point cloud that has been converted to uniform metric coordinates and carries the source imaging unit identifier; Anomalies are initially screened in the registered point cloud based on height map topology and three-dimensional spatial features, and the three-dimensional points retained after the initial screening are obtained. For the retained 3D points, a dual-scale cross-camera consensus determination based on the support radius and potential overlap radius is performed to obtain a consensus point cloud; The consensus point cloud is divided into three-dimensional voxels, and robust fusion based on absolute median difference is performed within the three-dimensional voxels to output the fused three-dimensional point cloud.
[0007] Preferably, the initial screening of outliers in the registered point cloud based on height map topology and three-dimensional spatial features includes: Perform the first outlier screening based on the height continuity of the neighborhood in the millimeter height map; Perform a second outlier screening based on the number of neighborhood points in the three-dimensional space.
[0008] Preferably, the process of performing the first outlier screening based on the neighborhood height continuity of the millimeter height map includes: Within the two-dimensional regular neighborhood, the numerical continuity between the target height point and the effective height points in the local neighborhood corresponding to the target height point is checked. When performing continuity comparison, invalid hole pixels caused by occlusion or no reflection signal in the local neighborhood are excluded, and only the difference between the target height point and the height point with effective value is calculated. When the difference between the target elevation point and the effective elevation point in the local neighborhood exceeds the continuity threshold, it is determined that an abnormal change has occurred at the location of the target elevation point, and the target elevation point is removed from the point cloud.
[0009] Preferably, the step of performing the second outlier filtering based on the number of neighborhood points in three-dimensional space includes: The remaining 3D points that have passed the continuous filtering are mapped to spatial hash units for 3D spatial clustering determination, and the number of neighboring points within the predetermined radius is counted. When the number of neighboring points within the predetermined radius is less than the minimum number of neighboring points, it indicates that the 3D point to be judged is isolated in space, and the 3D point to be judged is identified as outlier noise and removed.
[0010] Preferably, for the retained 3D points, a dual-scale cross-camera consensus determination based on the support radius and potential overlap radius is performed to obtain a consensus point cloud, including: For each 3D point to be determined, points with the same source imaging unit identifier as the 3D point to be determined are ignored, and heterogeneous points with different source imaging units are queried separately in 3D space. The potential overlap radius is greater than the support radius. When there are heterogeneous points within the support radius of the three-dimensional point to be determined, the three-dimensional point to be determined is marked as a cross-imaging unit support point and retained. When there are no heterogeneous points within the support radius of the 3D point to be judged, but there are heterogeneous points at a distance not greater than the potential overlap radius, the 3D point to be judged is marked as a conflict point and removed. When there are no heterogeneous points within the potential overlap radius of the three-dimensional point to be determined, the three-dimensional point to be determined is marked as a non-overlapping point and retained to maintain the geometric coverage of the original point cloud.
[0011] Preferably, a base confidence level is set for each imaging unit participating in the acquisition, and the base confidence level is adjusted based on the spherical edge position corresponding to the three-dimensional point, the incident beam angle, the local curvature, or the historical plate position residual.
[0012] Preferably, after removing abnormal coordinate points, the method further includes: using consensus confidence as the calculation weight, and combining it with the spatial coordinates of the retained points within the three-dimensional voxel, to obtain the three-dimensional weighted centroid coordinates; the consensus confidence is positively correlated with the number of heterogeneous support imaging units, and negatively correlated with at least one of heterogeneous point distance, local height discontinuity, degree of grazing edge on a spherical or curved surface, and local radial residual; the obtained three-dimensional weighted centroid coordinates are output as a fused three-dimensional point.
[0013] Preferably, dividing the consensus point cloud into three-dimensional voxels includes: Spatial bucketing is performed using X, Y, and Z coordinates to divide the consensus point cloud into a three-dimensional voxel space with fixed side lengths.
[0014] Preferably, performing robust fusion based on absolute median difference within three-dimensional voxels includes: For each three-dimensional point contained within a three-dimensional voxel, independently calculate the median and absolute median difference of the coordinates along the three coordinate axes. Abnormal coordinate points are removed if the absolute value of the difference between the coordinate value on the coordinate axis and the median of the coordinate axis is greater than the product of the absolute median difference and a set robustness factor. When the calculated absolute median difference is less than the predetermined lower limit, the minimum permissible deviation related to the measurement resolution is used instead of the absolute median difference.
[0015] Preferably, after outputting the fused 3D point cloud, the output also includes performance evaluation and access control management: Calculate the nearest neighbor distance between point clouds of different imaging units, and calculate the geometric coverage after point cloud fusion; The calculated nearest neighbor distance and geometric coverage are incorporated into the decision criteria. When the consensus screening operation causes an increase in the error of independent board positions or independent objects that did not participate in the training, or when the calculated geometric coverage is lower than a predetermined threshold, the corresponding fusion parameters are not updated.
[0016] This invention provides a 3D point cloud fusion method based on dual-scale cross-camera consistency. It has the following beneficial effects: 1. This invention sets two spatial search boundaries, a support radius and a potential overlap radius, for registration points located in the spatial overlap area of at least two imaging units. When querying heterogeneous points individually, the consensus judgment logic is divided into three cases based on spatial distance: retaining support points, eliminating conflict points, and retaining non-overlapping points. This is to identify and eliminate double-layer conflict surfaces caused by registration residuals, thereby achieving the fusion effect of maintaining the geometric coverage of the original point cloud while eliminating color double-layer artifacts in the overlap area and avoiding the accidental deletion of the independent visible area of a single imaging unit.
[0017] 2. This invention generates three-dimensional voxels by dividing the consensus point cloud into spatial buckets according to the three coordinate axes. Within each three-dimensional voxel, the median and absolute median difference are calculated independently. This process removes outlier coordinate points that deviate from the tolerance boundary of the absolute median difference. Furthermore, the consensus confidence score is calculated using multi-dimensional attributes as a weight to obtain the weighted centroid coordinates. This achieves the effect of preserving non-single-value surface features such as the spherical side and vertical sidewalls while preventing excessive removal caused by local dense point sets in the output of three-dimensional measurement points.
[0018] 3. This invention performs a first anomaly filtering based on the continuity of the heightmap neighborhood and a second anomaly filtering based on the number of spatial neighborhood points on the registered point cloud under a unified metric coordinate system. It uses the original topological connection relationship of the heightmap to exclude invalid hole pixels to remove abnormally abrupt height points, and maps the remaining points to spatial hash units to remove outliers in an isolated state. This achieves a noise reduction effect that removes laser flying points before the data is transformed into a completely disordered state and ensures the efficiency of subsequent 3D data query processing. Attached Figure Description
[0019] Figure 1 This is a flowchart illustrating the overall process of multi-line laser three-dimensional height mapping and fusion according to the present invention. Figure 2 This is a flowchart of the production registration, anomaly screening, and consensus processing of the present invention; Figure 3 This is a schematic diagram of the dual-scale cross-camera consensus determination of the support radius and potential overlap radius of the present invention. Figure 4 This is a schematic diagram of robust fusion of absolute median difference within three-dimensional voxels according to the present invention; Figure 5 This is a schematic diagram of the system modules and fusion parameter management of the present invention. Detailed Implementation
[0020] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0021] See attached document Figure 1 and attached Figure 5 , Figure 1 This is a flowchart illustrating the overall process of multi-line laser three-dimensional height mapping and fusion according to an embodiment of the present invention. Figure 5 This is a schematic diagram of system modules and fusion parameter management according to an embodiment of the present invention. When multiple 3D imaging units jointly perform 3D measurement or detection tasks, it is necessary to convert and stitch the point clouds acquired in each local field of view into a global point cloud. The 3D point cloud fusion method based on dual-scale cross-camera consensus provided in this embodiment relies on a system that focuses on the post-processing stage after spatial registration, used to solve the problems of artifacts, conflicts, and excessive boundary deletion during multi-source data fusion. The system includes multiple logical processing modules, specifically including a registration module, a cross-camera consensus module, a robust voxel fusion module, and a point cloud and evaluation output module.
[0022] The registration module is responsible for receiving and standardizing the data, processing sets of 3D points that have undergone metric correction and rigid registration. The registration module unifies the 3D point set to the same reference metric coordinate system and binds the source imaging unit identifier to each data point. The cross-camera consensus module receives the standardized point cloud output by the registration module. Within a local spatial range, based on the spatial distribution relationship of different data sources, it establishes two levels of scale search boundaries to determine whether each data point belongs to a valid surface point in a region shared by multiple imaging units, a conflicting surface point due to registration residuals, or a non-overlapping surface point exclusively belonging to a single imaging unit. The robust voxel fusion module receives the retained point cloud determined by the cross-camera consensus module. It uses a 3D spatial meshing mechanism instead of a 2D planar projection mechanism to remove outlier noise points within locally independent 3D spatial units using statistical parameters and outputs the fused 3D point coordinates. The point cloud and evaluation output module summarizes the fused 3D data, calculates the spatial error index before and after fusion, and outputs the fused 3D point cloud and diagnostic data to downstream measurement or inspection processes.
[0023] See attached document Figure 2 , Figure 2 This is a flowchart illustrating production registration, anomaly screening, and consensus processing according to an embodiment of the present invention. For the above system architecture, the overall workflow of the 3D point cloud fusion method based on dual-scale cross-camera consistency consists of the following major steps: Step S1: Obtain the registered point cloud, which has been transformed to a unified metric coordinate system and carries the source imaging unit identifier. Receive raw 3D points acquired by multiple 3D imaging units and transformed by coordinate transformation. After pre-calibration and registration operations, the millimeter height maps acquired by the multiple imaging units apply fixed geometric correction, rigid extrinsic parameters, and common metric transformation. All input 3D points are in the same reference metric coordinate system. During the generation of registered points, a source imaging unit identifier is attached to and retained for each 3D point. The source imaging unit identifier is represented by the camera serial number or slot mapping number. By binding the source imaging unit identifier, it is possible to accurately identify whether any two adjacent 3D points originate from the same imaging unit or different imaging units when searching the spatial neighborhood later.
[0024] Step S2 involves initial screening of outliers in the registered point cloud based on heightmap topology and 3D spatial features. First, anomaly screening is performed based on the height continuity of the millimeter heightmap neighborhood. Within the 2D regular neighborhood, the numerical differences between the current target height point and other valid height points within the local window are checked. Points whose differences deviate from the expected normal surface continuity are identified as outliers and removed. Next, a second anomaly screening is performed based on the number of neighboring points in the 3D spatial neighborhood. The remaining 3D points that passed the continuity screening are mapped to the 3D spatial data structure, and the number of neighboring points within a predetermined radius is queried. If the number of neighboring points does not meet the preset requirement, the corresponding 3D point is marked as an isolated outlier and removed.
[0025] Step S3 involves performing a dual-scale cross-camera consensus determination based on the support radius and potential overlap radius to obtain a consensus point cloud. For the spatially overlapping region of at least two imaging units, two spatial search boundaries are set: the support radius and the potential overlap radius. Based on the source imaging unit identifier of each 3D point, the point distribution of the heterogeneous camera is queried point by point. Support points originating from other imaging units are searched within a range less than or equal to the support radius; cross-imaging unit conflicts are identified within a range greater than the support radius but less than or equal to the potential overlap radius. Points that have gained cross-imaging unit support are retained, along with points in non-overlapping regions where no heterogeneous points exist within the potential overlap radius; conflict points located in the potential overlap region but not supported by cross-imaging units are removed. This eliminates double-layer artifacts in the overlapping region while preserving the independent visible area of a single camera and the true physical boundaries of objects.
[0026] Step S4: Perform robust fusion based on absolute median difference within 3D voxels, and implement evaluation output and access control. The acquired consensus point cloud is divided into 3D voxels. For each point within a 3D voxel, the median and absolute median of the coordinates along the three coordinate axes are calculated, and outlier points deviating from the tolerance boundaries of the median and absolute median difference are removed. Subsequently, consensus confidence is calculated for the selected retained points, and the confidence is correlated with attributes such as the number of heterogeneous supporting imaging units, the distance between heterogeneous points, and local height discontinuity. The calculated confidence is used as a weight parameter to obtain the 3D weighted centroid, and the centroid coordinates are output as the fused 3D point cloud. Finally, the fused 3D point cloud, as well as the cross-imaging unit error before and after fusion, spatial coverage, and rejection point diagnosis results are output.
[0027] The two-level outlier screening specifically includes a first outlier screening based on the continuity of neighborhood height in the millimeter height map and a second outlier screening based on the number of neighborhood points in three-dimensional space.
[0028] Step S201 involves performing a first anomaly point screening on the registered point cloud based on the height continuity of the neighborhood in the millimeter height map. The data directly output by the line laser 3D imaging unit has a two-dimensional grid arrangement feature, and the point cloud data retains a two-dimensional regular neighborhood topology in the initial stage. For the target height point in the registered point cloud, the system checks the numerical continuity between the target height point and the effective height points in the corresponding local neighborhood within the two-dimensional regular neighborhood. The local neighborhood is limited to the left-right or top-bottom adjacent positions of the target height point in the height map matrix, or to a robust neighborhood within a predetermined window. During the continuity comparison, invalid hole pixels caused by occlusion or no reflection signal in the local neighborhood are excluded, and only the difference between the target height point and the height points with effective values is calculated. When the difference between the target height point and the effective height points in the local neighborhood exceeds the continuity threshold, it is determined that an abnormal abrupt change has occurred at the location of the target height point. The target height point is marked as a flying point or depth boundary candidate generated by laser scattering and is removed from the point cloud. The first anomaly screening step utilizes the existing topological connections in the millimeter height map to remove obvious laser flying points before the data is completely transformed into an unordered 3D point cloud.
[0029] Step S202 involves performing a second outlier filtering based on the number of neighboring points in the 3D space. The remaining 3D points, after the first outlier filtering, have been filtered to remove local abrupt noise. These remaining 3D points are then mapped to spatial hash cells for 3D spatial clustering determination. The 3D side length of the spatial hash cell is related to a predetermined radius. During range searching, for each 3D point to be judged, the query operation only traverses the spatial hash cell containing the point and its directly adjacent cells, counting the number of neighboring points within the predetermined radius. When the number of neighboring points within the predetermined radius is less than the minimum number of neighboring points, it indicates that the 3D point to be judged is isolated in space, lacking support from surrounding physical surface points. Therefore, the 3D point to be judged is identified as outlier noise and removed. Besides spatial hash cells, the 3D spatial data structure used for mapping and querying can also employ spatial partitioning forms such as KD-trees, octrees, or GPU meshes. By limiting the spatial query unit, the calculation of global distance N times for a total of N point clouds is avoided, so that the overall neighborhood query computation complexity increases approximately linearly with the number of points, ensuring data processing efficiency when dealing with large-scale unordered point clouds.
[0030] See attached document Figure 3 , Figure 3 This is a schematic diagram illustrating the dual-scale cross-camera consensus determination of the support radius and potential overlap radius according to an embodiment of the present invention. After the initial screening of outliers is completed, a dual-scale cross-camera consensus determination is performed to resolve the problem of color double-layer artifacts in overlapping areas and to avoid erroneously deleting areas independently covered by a single imaging unit.
[0031] Step S301: Set the support radius for registration points located within the spatial overlap region of at least two imaging units. and potential overlap radius Support radius With potential overlap radius satisfy Spatial scale constraints. In one specific embodiment, the supporting radius... Set to 0.25 mm, potential overlap radius The initial value is set to 0.60 mm, with the specific spatial value adaptively set according to the sensor noise level and target measurement accuracy requirements. Before performing heterogeneous point query, the 3D points are grouped according to the source imaging unit identifier in a consensus voxel with a side length of approximately 0.18 mm. Corresponding local representative points are generated for each 3D imaging unit participating in the scan. Heterogeneous data query is performed using local representative points to reduce camera bias caused by uneven spatial density distribution of point cloud.
[0032] Step S302: For each 3D point to be determined, ignore points with the same source imaging unit identifier as the 3D point to be determined, and query different source imaging units in the 3D space separately. Based on the spatial distance between the different source points and the 3D point to be determined, the consensus determination logic is divided into three cases.
[0033] Scenario 1: When the support radius of the 3D point to be determined... When heterogeneous points exist within the range, the 3D point to be determined is marked as a cross-imaging unit support point and retained. Cross-imaging unit support points indicate that imaging units from different sources have measured the same physical surface within the registration tolerance range.
[0034] Scenario 2: When the support radius of the 3D point to be determined... There are no heterogeneous points within the range, but there are points at a distance not greater than the potential overlap radius. When identifying heterogeneous points, the 3D points to be determined are marked as conflict points and discarded. Conflict points indicate that the heterogeneous imaging unit has measured another surface nearby, belonging to the category of two-layer conflict candidates. For the same conflict region, point cloud layers with higher support quantity, better continuity, or higher local quality are retained.
[0035] Scenario 3: When the potential overlap radius of the three-dimensional points to be determined... If no heterogeneous points exist within the range, the 3D point to be determined is marked as a non-overlapping point and retained. Potential overlap radius. The absence of any outlier points within the target area does not preclude the conclusion that the 3D point to be determined is erroneous noise. The 3D point to be determined may be located in an area covered only by the current single imaging unit, in the space behind an object occlusion, or at the edge of the field of view. Retaining non-overlapping points can maintain the geometric coverage of the original point cloud and avoid deleting the visible area of a single imaging unit and the true physical boundaries of the object.
[0036] Step S303 involves calculating the consensus confidence score for the retained cross-imaging unit support points and non-overlapping points. The confidence score is positively correlated with the number of heterogeneous supporting imaging units and negatively correlated with at least one of the following: heterogeneous point distance, local height discontinuity, degree of grazing edge on a spherical or curved surface, and local radial residual. A base confidence score is pre-set for each imaging unit participating in the acquisition. This base confidence score is adjusted based on the spherical edge position corresponding to the 3D point, the incident beam angle, the magnitude of local curvature, or historical plate position residuals. The final consensus confidence score for the retained points is then output. This final consensus confidence score is used in subsequent voxel fusion steps for weighted centroid calculation.
[0037] See attached document Figure 4 , Figure 4This is a schematic diagram of robust fusion based on absolute median difference within a three-dimensional voxel according to an embodiment of the present invention. After completing the dual-scale cross-camera consensus determination and acquiring the consensus point cloud, robust fusion and weighted calculation based on absolute median difference are performed within the three-dimensional voxel.
[0038] In step S401, before entering voxel partitioning, the acquired consensus point cloud can undergo an optional radius neighborhood filtering process. Spatial hashing is reused for radius lookup, eliminating 3D points that are isolated and without neighboring support after consensus processing. Subsequently, the acquired consensus point cloud is partitioned into a fixed-side 3D voxel space. The side length of the 3D voxels is set according to the target precision, for example, 0.18 mm. Spatial binning is performed based on the X, Y, and Z coordinates. This binning mechanism replaces the previous method of simply dividing the XY plane mesh and averaging the Z coordinate. Binning based on the X, Y, and Z coordinates preserves non-single-value surface features such as spherical sides, vertical sidewalls, and step edges.
[0039] Step S402: For each 3D voxel containing 3D points, independently calculate the median and absolute median difference of the coordinates along the three coordinate axes. For the first point within a 3D voxel... The coordinate axes are used to calculate the median first. and absolute median Subsequently, formulas that meet the conditions are eliminated. The abnormal coordinate points. In the conditional formula, Represents the first voxel within a three-dimensional voxel The three-dimensional point at the th t The coordinate values on the coordinate axes; This represents all points inside a three-dimensional voxel at the th... Median of the coordinates on the coordinate axes; This represents all points inside a three-dimensional voxel at the th... Absolute median difference on the coordinate axes; For the set robustness factor, The value is greater than 1. When the calculated absolute median difference When the value is less than the predetermined lower limit, the minimum permissible deviation related to the measurement resolution is used instead of the absolute median difference. Use the minimum permissible deviation instead of the absolute median. To prevent over-removal caused by excessively dense point sets in a local space. When performing anomaly removal, the absolute median difference... Replace with quantile intervals or other robust scaling estimates to perform equivalent calculations.
[0040] Step S403: Calculate the 3D weighted centroid for the 3D voxel in-cell points retained after absolute median filtering. Extract the consensus confidence score calculated in the cross-camera consensus determination step. The evaluation dimensions of the consensus confidence score include the source camera's base quality, local surface continuity, number of heterogeneous supports, and the heterogeneous nearest distance parameter. Using the consensus confidence score as the calculation weight, and combining it with the spatial coordinates of the retained points within the 3D voxels, calculate the 3D weighted centroid coordinates. Output the calculated 3D weighted centroid coordinates as a fused 3D point. When processing point cloud data with color attributes, the color value of the fused 3D point is obtained by weighting the color data from the contributing cameras according to the consensus confidence score, or the final 3D measurement point without color values is directly output.
[0041] In one practical embodiment, the fusion parameters frozen by the system include: a height continuity threshold of approximately 1.50 mm, a predetermined radius for spatial radius screening of approximately 0.36 mm with at least 4 neighboring points, a consensus voxel side length of approximately 0.18 mm for grouping, a support radius of approximately 0.25 mm, a potential overlap radius of approximately 0.60 mm, a final fusion voxel side length of approximately 0.18 mm, and an absolute median robustness factor of approximately 2.5. These parameters are specific values for this embodiment and not necessary limitations on the invention. In practical applications, they can be adaptively set according to height map resolution, sensor noise, and the scale of the object being measured.
[0042] See attached document Figure 5 , Figure 5 This is a schematic diagram of system modules and fusion parameter management according to an embodiment of the present invention. After completing robust voxel fusion calculation, the point cloud and evaluation output module obtains the fusion result and performs access control management operations, outputting the final fused 3D point cloud and diagnostic data.
[0043] Step S404: Calculate the nearest neighbor distances between point clouds of different imaging units before fusion and after consensus screening. Based on the calculated nearest neighbor distances, generate and record the root mean square error, 95th percentile error, and maximum error. Statistically calculate the spatial errors of different regions according to a preset spatial region division method. Calculating the nearest neighbor distances before performing the fusion operation avoids the coordinate mean calculation operation from masking the actual registration deviations between different imaging units.
[0044] Step S405: Calculate the geometric coverage after point cloud fusion and use it as an evaluation metric. Evaluating geometric coverage prevents the reduction of error values due to the removal of a large number of outliers. The point cloud and evaluation output module summarizes and outputs point cloud data in multiple dimensions, including camera-colored registered point clouds, consensus-retained point clouds, consensus-rejected point clouds, and the final robust voxel fusion point cloud. Consensus-rejected point clouds are retained and output separately, allowing operators to locate edge error sources in third-party point cloud processing software, avoiding reverse guessing of the final point cloud data when analyzing error sources.
[0045] Step S406: Execute the gating rules for the fusion parameters. The calculated nearest neighbor distance and geometric coverage are incorporated into the decision criteria. If the consensus filtering operation only reduces the residual of the training dataset but increases the error of independent board positions or objects not involved in training, the corresponding fusion parameters are rejected from being updated. If the calculated geometric coverage is below a predetermined threshold, the corresponding fusion parameters are rejected from being updated. The aforementioned rejected fusion parameters include the set support radius value, potential overlap radius value, and absolute median robustness factor. The gating rules ensure that the fusion parameters have generalization ability across the entire field of view.
[0046] In one practical embodiment, when performing a seven-sphere fixed-radius re-inspection on the final fused point clouds of ten acquired plate positions, the root mean square error (RMS) of the sphere center CMM for each plate position was approximately 0.3507 to 0.3729 mm, and the root mean square error (RMS) of the sphere surface radial direction was approximately 0.0827 to 0.1311 mm. According to the preset engineering threshold, eight of the ten plate positions passed all indicators, while the 95th percentile error (P95) of the sphere spacing for the other two plate positions was approximately 0.8333 mm and 0.8017 mm, respectively, slightly higher than the 0.8 mm threshold. The above evaluation results indicate that the present invention can decompose and evaluate errors according to the sphere center, sphere spacing, and sphere shape, rather than simply reporting the apparent residuals after fusion.
[0047] The multi-line laser 3D heightmap calibration and fusion method can be implemented using electronic devices. These devices include processors and memory. The processor executes computer programs stored in memory to perform outlier filtering, cross-camera consensus, and robust 3D voxel fusion calculations. Specifically, the electronic devices can be host computer programs, embedded controllers, industrial computers, or cloud-edge collaborative systems, with processors employing CPUs, GPUs, DSPs, FPGAs, or combinations of these architectures. The input raw heightmap, calibration parameters, and output point cloud are stored in volatile or non-volatile memory. Processing operations can be executed in a pipelined manner based on memory and real-time requirements. Specifically, height continuity filtering is performed line by line, coordinate transformations are applied in blocks, and spatial hash units are inserted. After completing necessary adjacent block processing, consensus points and voxel center values are directly output. As long as the technical relationship of dual-scale heterogeneous consensus is maintained, the specific execution order and parallel processing method can be adjusted.
[0048] The specific read / write storage format of point cloud data in volatile or non-volatile memory, as well as the conventional rendering steps for performing 3D spatial visualization using third-party point cloud processing software, are well-known technologies in this field and will not be elaborated here.
[0049] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. A 3D point cloud fusion method based on dual-scale cross-camera consistency, characterized in that, include: Obtain the registered point cloud that has been converted to uniform metric coordinates and carries the source imaging unit identifier; Anomalies are initially screened in the registered point cloud based on height map topology and three-dimensional spatial features, and the three-dimensional points retained after the initial screening are obtained. For the retained 3D points, a dual-scale cross-camera consensus determination based on the support radius and potential overlap radius is performed to obtain a consensus point cloud; The consensus point cloud is divided into three-dimensional voxels, and robust fusion based on absolute median difference is performed within the three-dimensional voxels to output the fused three-dimensional point cloud.
2. The 3D point cloud fusion method based on dual-scale cross-camera consistency according to claim 1, characterized in that, The initial screening of outliers in the registered point cloud based on height map topology and 3D spatial features includes: Perform the first outlier screening based on the height continuity of the neighborhood in the millimeter height map; Perform a second outlier screening based on the number of neighborhood points in the three-dimensional space.
3. The 3D point cloud fusion method based on dual-scale cross-camera consistency according to claim 2, characterized in that, The process of performing the first outlier filtering based on the neighborhood height continuity of the millimeter height map includes: Within the two-dimensional regular neighborhood, the numerical continuity between the target height point and the effective height points in the local neighborhood corresponding to the target height point is checked. When performing continuity comparison, invalid hole pixels caused by occlusion or no reflection signal in the local neighborhood are excluded, and only the difference between the target height point and the height point with effective value is calculated. When the difference between the target elevation point and the effective elevation point in the local neighborhood exceeds the continuity threshold, it is determined that an abnormal change has occurred at the location of the target elevation point, and the target elevation point is removed from the point cloud.
4. The 3D point cloud fusion method based on dual-scale cross-camera consistency according to claim 2, characterized in that, The execution of the second outlier filtering based on the number of neighborhood points in three-dimensional space includes: The remaining 3D points that have passed the continuous filtering are mapped to spatial hash units for 3D spatial clustering determination, and the number of neighboring points within the predetermined radius is counted. When the number of neighboring points within the predetermined radius is less than the minimum number of neighboring points, it indicates that the 3D point to be judged is isolated in space, and the 3D point to be judged is identified as outlier noise and removed.
5. The 3D point cloud fusion method based on dual-scale cross-camera consistency according to claim 1, characterized in that, The step of performing a dual-scale cross-camera consensus determination based on the support radius and potential overlap radius for the retained 3D points to obtain a consensus point cloud includes: For each 3D point to be determined, points with the same source imaging unit identifier as the 3D point to be determined are ignored, and heterogeneous points with different source imaging units are queried separately in 3D space. The potential overlap radius is greater than the support radius. When there are heterogeneous points within the support radius of the three-dimensional point to be determined, the three-dimensional point to be determined is marked as a cross-imaging unit support point and retained. When there are no heterogeneous points within the support radius of the 3D point to be judged, but there are heterogeneous points at a distance not greater than the potential overlap radius, the 3D point to be judged is marked as a conflict point and removed. When there are no heterogeneous points within the potential overlap radius of the three-dimensional point to be determined, the three-dimensional point to be determined is marked as a non-overlapping point and retained to maintain the geometric coverage of the original point cloud.
6. The 3D point cloud fusion method based on dual-scale cross-camera consistency according to claim 5, characterized in that, A base confidence level is set for each imaging unit participating in the acquisition, and the base confidence level is adjusted based on the spherical edge position corresponding to the three-dimensional point, the incident beam angle, the local curvature, or the historical plate position residual.
7. The 3D point cloud fusion method based on dual-scale cross-camera consistency according to claim 6, characterized in that, The step of dividing the consensus point cloud into three-dimensional voxels includes: dividing the space into buckets according to the X, Y and Z coordinates, and dividing the consensus point cloud into a three-dimensional voxel space with a fixed side length.
8. The 3D point cloud fusion method based on dual-scale cross-camera consistency according to claim 7, characterized in that, The robust fusion based on absolute median difference within three-dimensional voxels includes: For each three-dimensional point contained within a three-dimensional voxel, independently calculate the median and absolute median difference of the coordinates along the three coordinate axes. Abnormal coordinate points are removed if the absolute value of the difference between the coordinate value on the coordinate axis and the median of the coordinate axis is greater than the product of the absolute median difference and a set robustness factor. When the calculated absolute median difference is less than the predetermined lower limit, the minimum permissible deviation related to the measurement resolution is used instead of the absolute median difference.
9. The 3D point cloud fusion method based on dual-scale cross-camera consistency according to claim 8, characterized in that, After removing outlier coordinates, it also includes: Using consensus confidence as the calculation weight, and combining the spatial coordinates of the retained points within the three-dimensional voxel, the three-dimensional weighted centroid coordinates are obtained. The consensus confidence is positively correlated with the number of heterogeneous support imaging units and negatively correlated with at least one of heterogeneous point distance, local height discontinuity, degree of grazing edge on spherical or curved surfaces, and local radial residual. The obtained three-dimensional weighted centroid coordinates are output as a fused three-dimensional point.
10. The 3D point cloud fusion method based on dual-scale cross-camera consistency according to claim 1, characterized in that, After outputting the fused 3D point cloud, the output also includes performance evaluation and access control management. Calculate the nearest neighbor distance between point clouds of different imaging units, and calculate the geometric coverage after point cloud fusion; The calculated nearest neighbor distance and geometric coverage are incorporated into the decision criteria. When the consensus screening operation causes an increase in the error of independent board positions or independent objects that did not participate in the training, or when the calculated geometric coverage is lower than a predetermined threshold, the corresponding fusion parameters are not updated.
