Laser and millimeter wave dual-radar fusion volumetric measurement method under complex occlusion scene
By using a dual-radar fusion method combining laser and millimeter-wave radar, the problems of sensor interference and data blind spots in complex industrial silos were solved, achieving high-precision volume measurement results.
Patent Information
- Application Number
- CN202611340094.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-01
- Publication Date
- 2026-11-27
Smart Images

Figure CN123176751A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of three-dimensional point cloud data processing and industrial silo volume measurement technology, specifically to a method for volume measurement using a combination of laser and millimeter-wave dual radar in complex occlusion scenarios. Background Technology
[0002] In the context of modern industrial automation and digital transformation, point cloud volume measurement technology is a crucial component of 3D data processing, with wide applications in areas such as silo monitoring and material inventory management. By using scanning equipment fixedly installed on the top of the silo, the shape of the material pile can be continuously monitored and its volume accurately calculated, which has become a significant technological requirement for industries such as warehousing and logistics, mining and metallurgy, and ports.
[0003] However, acquiring and processing point cloud data in real-world industrial environments faces numerous challenges. First, the sensors themselves have limitations: while millimeter-wave radar possesses strong penetrating power, capable of piercing dust and light obstructions, it is prone to multipath reflections at complex metal structures (such as crossbars, augers, and support frames), leading to false point clouds. LiDAR offers high accuracy, but it is susceptible to attenuation in high-dust environments and is extremely sensitive to obstructions from the internal structure of silos, resulting in missing boundary data. Second, the complex internal structure of industrial silos means that metal components such as crossbars and augers interfere with both types of sensors, creating large data blind spots and false reflection areas. Furthermore, due to the irregular surface of materials and the continuous changes in their stacking morphology, point cloud data often exhibits quality issues such as uneven density and the loss of local points.
[0004] Existing volume measurement methods have significant limitations in complex industrial silo scenarios. Single-sensor methods struggle to cope with complex environments: millimeter waves fail under the interference of metal structures, and lasers fail under dust obstruction; simple sensor stacking or fusion does not fully consider the differences in heterogeneous data characteristics, making spatiotemporal registration difficult, invalid data is not effectively filtered, and intelligent fusion strategies are lacking. Most methods lack adaptive processing mechanisms for complex structures, making it difficult to identify and eliminate spurious point clouds generated by interfering structures such as crossbars and augers, and unable to effectively fill in data blind spots caused by occlusion. These problems severely limit the accuracy and reliability of point cloud volume measurement technology in real-world industrial scenarios. Summary of the Invention
[0005] The purpose of this invention is to provide a method for volume measurement using laser and millimeter-wave dual radar fusion in complex obstructed scenarios, thereby solving the problems existing in the prior art.
[0006] To achieve the above objectives, the present invention provides the following technical solution:
[0007] A method for volume measurement using a fusion of laser and millimeter-wave dual radar in complex obstructed scenarios includes the following steps:
[0008] S1. Acquire heterogeneous data from dual sensors and preprocess and register it; including: acquiring the original laser point cloud and the original millimeter-wave point cloud, the original laser point cloud being the empty chamber point cloud; performing differential voxel downsampling on the original millimeter-wave point cloud and the original laser point cloud to unify their respective resolutions; using the downsampled laser point cloud as the template point cloud.
[0009] S2. Perform boundary completion and construct a closed triangular mesh shell on the template point cloud; shrink and wrap the template point cloud to generate a triangular mesh shell; perform dense sampling on the surface of the triangular mesh shell to obtain candidate completion points; use the KD tree spatial index of the template point cloud to perform double threshold filtering on the candidate completion points to obtain effective completion points, add them to the template point cloud to obtain a closed triangular mesh shell, forming a closed spatial constraint;
[0010] S3. Perform progressive fusion of template point cloud and millimeter-wave point cloud to obtain closed point cloud of material surface; including: template constraint fusion of closed triangular shell and millimeter-wave material point cloud to obtain coarse millimeter-wave material surface point cloud; data completion fusion of coarse millimeter-wave point cloud and template point cloud to obtain fine millimeter-wave material surface point cloud; volume model construction fusion based on fine millimeter-wave material surface point cloud and template point cloud to obtain final millimeter-wave material surface point cloud;
[0011] S4. Perform accurate volume calculation based on the closed point cloud of the material surface.
[0012] Specifically, in S1, the differential voxel downsampling of the original millimeter-wave point cloud and the original laser point cloud to unify their respective resolutions includes:
[0013] The original millimeter-wave point cloud is downsampled in two stages, while the original laser point cloud is downsampled in one stage. The accuracy of the two-stage downsampling is higher than that of the one-stage downsampling.
[0014] Specifically, in S2, the shrinking and wrapping of the template point cloud to generate a closed triangular mesh shell, using multi-stage remeshing for shrinking and wrapping, includes:
[0015] Convex hull reconstruction is performed on the template point cloud, and a closed convex hull mesh is constructed using the CGAL convex hull algorithm as the initial shape for shrinking the wrapping.
[0016] The first phase of shrinking and wrapping iteration is performed on the closed convex hull mesh using the first mesh target side length;
[0017] The second phase of shrinking the package iteration is performed using the target side length of the second network.
[0018] The side length of the first grid target is greater than the side length of the second grid target.
[0019] Specifically, in S2, the process of obtaining candidate completion points by dense sampling on the surface of the triangular mesh shell is as follows: traverse all triangular faces of the closed triangular mesh shell, set the surface sampling step size, uniformly sample the edges of each triangle, and generate dense candidate completion points.
[0020] Further, in S2, the step of obtaining effective completion points by performing double threshold filtering on candidate completion points through the KD tree spatial index of the template point cloud, and adding them to the template point cloud to obtain a closed mesh shell includes:
[0021] Construct a KD-tree spatial index for the template point cloud, perform a nearest neighbor search for each candidate completion point, and calculate its nearest distance to the template point cloud;
[0022] Only candidate completion points whose nearest distance is between the minimum and maximum merge distance thresholds are retained as valid completion points;
[0023] Adding valid completion points to the template point cloud yields a closed triangular mesh shell, forming a closed spatial constraint.
[0024] Furthermore, in S3, the step of performing template-constrained fusion of the closed triangular mesh shell and the downsampled millimeter-wave material point cloud to obtain a coarse millimeter-wave material surface point cloud specifically involves:
[0025] Based on the closed triangular mesh shell, the millimeter-wave point cloud is spatially constrained and filtered by convex hull clipping, retaining the millimeter-wave point cloud located inside the closed triangular mesh shell and removing the millimeter-wave point cloud located outside the closed triangular mesh shell.
[0026] Further, in step S3, the process of performing data completion and fusion on the coarse millimeter-wave point cloud and the template point cloud to obtain the fine millimeter-wave surface point cloud includes:
[0027] S3.2.1. Perform near-template distance filtering on the coarse millimeter-wave material surface point cloud based on the distance between the point cloud and the template point cloud; specifically, using the template point cloud as a reference, calculate the nearest Euclidean distance from each point in the coarse millimeter-wave material surface point cloud to the template point cloud through the KD tree spatial index of the template point cloud, and set a near-template distance threshold I. near Remove point clouds whose nearest Euclidean distance from the template point cloud is less than or equal to the threshold.
[0028] S3.2.2. Construct a KD tree for the filtered millimeter-wave material surface point cloud, setting cluster tolerance, minimum cluster size, and maximum cluster size. Divide the filtered millimeter-wave material surface point cloud into multiple spatially connected components using Euclidean clustering, and extract the top N... top The largest connected components are used as candidate material clusters to generate an initial set of material clusters;
[0029] S3.2.3. Perform multi-dimensional quality scoring and screening on each candidate cluster in the initial material cluster set, calculate the comprehensive quality score, and set a passing threshold S. pass Only high-quality material clusters with scores exceeding the threshold are retained. Spike detection and smoothing are performed on these high-quality clusters in sequence, and the high-quality material clusters are merged to obtain a fine millimeter-wave material surface point cloud.
[0030] Furthermore, in S3, the multi-dimensional quality scoring and screening of each candidate cluster in the initial material cluster set, and the calculation of the comprehensive quality score, includes:
[0031] The specific formula for calculating the Z-axis distribution penalty term is as follows:
[0032]
[0033] in, The penalty term is distributed along the Z-axis. The weight is the Z-axis weight. The representative height of the cluster along the Z-axis. The lowest representative height among all clusters, Here, Z is the standard deviation parameter of the Z-axis distribution, and max is the function to maximize it.
[0034] The specific formula for calculating the point feature penalty term is as follows:
[0035]
[0036] in, For point-based feature penalty terms, Point weighting, The number of points in the cluster. The maximum number of points in all clusters;
[0037] The specific formula for calculating the penalty term for the banded distribution is as follows:
[0038]
[0039] in, For a banded distribution penalty term, The weights are distributed in a band pattern. The height is calculated as a weighted average of the number of points across all clusters. The standard deviation parameter of the banded distribution. It is the absolute value of the difference between the representative height of a cluster and the weighted average height of all clusters.
[0040] The isolation penalty term is calculated using the following formula:
[0041]
[0042] in, As an isolation penalty term, For isolation degree weight, This represents the height difference between this cluster and its immediate neighboring cluster below it. For gap tolerance;
[0043] The calculation of the space detection penalty term is as follows:
[0044]
[0045] in, Penalty item for detecting space below. For the space weight below, This represents the proportion of points in other clusters within the XY neighborhood directly below the current cluster;
[0046] The above multi-dimensional penalty items are weighted and combined to form a comprehensive penalty score. The specific formula is as follows:
[0047]
[0048] in, The total penalty score;
[0049] The final quality score is calculated using the following formula:
[0050]
[0051] in, For the final quality score, Based on scores, The total penalty score is defined by `max`, which is the function that maximizes the penalty score.
[0052] Set a scoring threshold Only retain those that meet the requirements. The high-quality clusters are then processed further. Further, in step S3, the volumetric model construction and fusion based on the refined millimeter-wave surface point cloud and the template point cloud to obtain the final millimeter-wave surface point cloud includes:
[0053] S3.3.1. Using the fine millimeter-wave surface point cloud as the seed point cloud for growth, the blind area is expanded outward to fill the blind area under the constraint of the template point cloud through the surface growth algorithm; the cell size, maximum number of iterations, minimum number of neighbor points, and neighbor search radius are set, the normal vector of each growth point is calculated, and only surface points that satisfy the normal vector constraint are retained.
[0054] S3.3.2. Combine the fine millimeter-wave material surface point cloud after blind spot completion with the template point cloud, and delete the upper part of the template point cloud to obtain the material surface closed point cloud.
[0055] Furthermore, in S3.3.1, the step of using a fine millimeter-wave surface point cloud as a seed point cloud for growth, and expanding outward to cover the blind area under the constraint of the template point cloud through a surface growth algorithm to achieve blind area completion includes:
[0056] 1) Configure surface growth parameters, including cell size, maximum number of iterations, minimum number of neighbor points, and neighbor search radius;
[0057] 2) Define the fine millimeter-wave surface point cloud as the seed point cloud and extract the representative height of the seed point cloud. and based on The nearby laser point cloud forms a template slice point cloud, in which:
[0058]
[0059]
[0060] in, The representative height of the seed point cloud is the median z-coordinate of all points in the seed point cloud. The lower limit height of the point cloud for template slices. The upper limit height of the point cloud for template slices. The search range is shown below. The search range above;
[0061] 3) Project the template slice point cloud vertically onto the horizontal plane to generate a two-dimensional convex hull polygon on the XY plane;
[0062] 4) Using the two-dimensional convex hull polygon as the boundary, the internal region is divided into multiple network cells according to the cell size. Only the cells located inside the convex hull are retained as target cells to construct the horizontal projection constraint of the template point cloud.
[0063] 5) Assign each point in the seed point cloud to the corresponding grid cell according to the XY coordinates, and mark the target cell that already contains points as covered;
[0064] 6) Perform surface growth iterations. In each iteration, traverse all uncovered target cells and perform the following operations on each target cell:
[0065] With this grid as the center and a radius of The number of points has been collected within the neighborhood of each grid; if the number of neighborhood points is less than the number of minimum neighbor points... If the cell is not found in the grid, skip that cell in this round; otherwise, calculate the neighborhood normal vector n and determine the center of that cell (c). x ,c y) The height z of the growth point at a given location is such that the growth point height is determined by the condition that the growth point height is determined by and Project the lattice center onto the local fitting plane to obtain z, and then calculate the new growth point (c).x ,c y (z) Add the seed point cloud and mark the cell as covered, where, The Z component of the normal vector of the new growth point. Let Z be the absolute value of the Z component of the candidate growth point normal vector. This is the threshold for the absolute value of the Z-component of the normal vector; the default value is 0.1. Let be the angle by which the normal vector of the candidate growth point deviates from the vertical direction. This represents the maximum angle deviating from the vertical direction; the default value is 50°.
[0066] 7) Add the new growth points that meet the constraints to the growth seed point cloud, and stop growth when the maximum number of iterations is reached or no more new points are generated, and output the fine millimeter-wave material surface point cloud.
[0067] As can be seen from the above technical solution, the present invention has the following beneficial effects:
[0068] This invention utilizes a three-layer progressive fusion mechanism of millimeter waves and lasers to fully leverage the strong penetrating power of millimeter waves and the high precision of lasers. Through three stages—template constraint fusion, data completion fusion, and volume model construction fusion—it ensures that millimeter wave data always approaches a high-precision laser reference in complex industrial scenarios. This achieves complementary advantages and improved accuracy from multiple sensors, effectively solving the problem of accurate volume measurement under the interference of complex structures such as crossbars and augers inside silos. Attached Figure Description
[0069] Figure 1 This is a flowchart of the method of the present invention. Detailed Implementation
[0070] The technical solutions of 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.
[0071] like Figure 1 As shown, this invention provides a technical solution: a method for volume measurement using laser and millimeter-wave dual radar fusion in complex obstructed scenarios, comprising:
[0072] S1. Acquire heterogeneous data from dual sensors and preprocess and register it; including: acquiring the original laser point cloud and the original millimeter-wave point cloud, the original laser point cloud being the empty silo point cloud; generally, the millimeter-wave point cloud is the point cloud containing material, specifically including the millimeter-wave point cloud of the material surface and the millimeter-wave point cloud of the silo body. If there is no material in the silo, the millimeter-wave point cloud is also the empty silo point cloud; perform differential voxel downsampling on the original millimeter-wave point cloud and the original laser point cloud to unify their respective resolutions; use the downsampled laser point cloud as the template point cloud.
[0073] Specifically, millimeter-wave radar point clouds and lidar point clouds are first transformed to the same spatial coordinate system. The original millimeter-wave point cloud is used to provide effective spatial echo information for material surfaces, obstructed areas, or dusty environments, while the original lidar point cloud is used to provide boundary contours, local geometry, and high-precision distance information. Since millimeter-wave point clouds typically have low point density, strong discreteness, and good resistance to obstruction, while lidar point clouds typically have high point density and clear boundaries but are easily affected by obstruction or surface reflection, differentiated voxel downsampling is used for both in S1. Therefore, secondary downsampling is performed on the original millimeter-wave point cloud, and primary downsampling is performed on the original lidar point cloud. The accuracy of secondary downsampling is higher than that of primary downsampling. During laser and millimeter-wave imaging, the point cloud density is uneven, with some areas dense and others sparse. Downsampling ensures a consistent density across the entire point cloud. For millimeter-wave point clouds, a different voxel downsampling method is used. Fine downsampling is performed at higher resolutions to preserve detailed material features; this is applied to the laser template point cloud. To improve computational efficiency, coarse downsampling is typically performed at higher resolutions. The value ranges from 0.05m to 0.10m. Value This preprocessing process achieves initial alignment of millimeter-wave and laser data in terms of spatial resolution and data density, laying the foundation for subsequent fusion calculations. It is 10-20 times faster than traditional methods.
[0074] In practice, the original millimeter-wave point cloud and the original laser point cloud corresponding to the same measurement object are first acquired. If the two types of point clouds come from sensors installed at different locations, they are transformed into a unified three-dimensional coordinate system based on the extrinsic parameter calibration results, so that points corresponding to the same physical location on the measurement object can be compared under the same spatial reference. After the coordinate unification is completed, voxel downsampling processing is performed on the millimeter-wave point cloud and the laser point cloud respectively. When performing fine downsampling on the original millimeter-wave point cloud, the measurement space is first divided according to the preset fine voxel side length. The system establishes a continuously arranged voxel grid in three-dimensional space with this side length, and then reads the spatial coordinates of each point in the original millimeter-wave point cloud in sequence, and determines the voxel unit in which the point falls according to the horizontal coordinate, vertical coordinate, and height coordinate. For millimeter-wave points falling into the same voxel unit, the system does not retain them all, but generates representative points to represent the distribution of millimeter-wave points in that voxel unit. The representative point can be the average position of the coordinates of all millimeter-wave points within the voxel element, or the actual millimeter-wave point closest to the center of the voxel element. When the millimeter-wave point carries echo intensity information, a point with high echo intensity and stable position can also be selected as the representative point. After this processing, closely spaced repeating points in the original millimeter-wave point cloud are merged, isolated local jitter is weakened, and effective millimeter-wave echoes in the material surface area, occluded area, and local undulation area are still preserved. For scenarios with small measurement object size, significant material surface undulation, or high volumetric accuracy requirements, a voxel side length close to 0.05 meters can be used; for scenarios with large measurement object size, relatively gentle material surface changes, or a lot of on-site noise, a voxel side length close to 0.1 meters can be used.
[0075] S2. Perform boundary completion and construct closed shells for the template point cloud; S2 includes:
[0076] S2.1. Shrink and wrap the template point cloud to generate a triangular mesh shell;
[0077] S2.1.1. Perform convex hull reconstruction on the template point cloud, and use the CGAL convex hull algorithm to construct a closed convex hull mesh as the initial shape for shrinking the wrap;
[0078] S2.1.2. Perform a first-stage shrinking and wrapping iteration on the closed convex hull mesh using the first mesh target side length; perform a second-stage shrinking and wrapping iteration using the second mesh target side length; the first mesh target side length is greater than the second mesh target side length. This specific implementation adopts a two-stage approach, and in actual operation, more stages can be used for more detailed iterations, with the mesh target size decreasing sequentially in each stage.
[0079] In this specific implementation, the number of iterations for shrinking the package in the first stage is 5, and the target side length of the first grid is 5 times. The second stage shrinking and wrapping iteration rounds are 3, and the side length of the target grid in the second stage is twice that of the first stage.
[0080] S2.2. Dense sampling is performed on the surface of the triangular mesh shell to obtain candidate completion points. Specifically, all triangular faces of the closed triangular mesh shell are traversed, a surface sampling step size is set, and the edges of each triangle are sampled uniformly to generate dense candidate completion points. Specifically, when performing dense surface sampling, the system first traverses each triangular face in the closed triangular mesh shell. For the current triangular face, the system reads the coordinates of its three vertices and determines the three edges of the triangular face. Then, sampling points are placed on each edge at fixed intervals, the fixed interval being the surface sampling step size, which is 1.5-2 times the surface sampling step size. .
[0081] S2.3. Using the KD-tree spatial index of the template point cloud, candidate completion points are filtered using a double threshold to obtain valid completion points, which are then added to the template point cloud to obtain a closed triangular mesh shell, forming a closed spatial constraint. The purpose of this step is to complete the template point cloud, ensuring that the entire shell is completely closed except for the actual feeding and discharging ports, without any abnormal holes caused by scanning defects or internal occlusion. This step includes:
[0082] S2.3.1. Construct a KD-tree spatial index for the template point cloud. Perform a nearest neighbor search for each candidate completion point to calculate its closest distance to the template point cloud. When building the index, use the 3D coordinates of each laser point as an index node, enabling the system to quickly find the nearest laser point near any candidate completion point. After indexing, the system sequentially reads each candidate completion point and searches the spatial index for the laser point closest to that candidate completion point. Then, it calculates the 3D straight-line distance between the candidate completion point and the nearest laser point. This distance is determined by the coordinate differences between the two points in the horizontal, vertical, and height directions, and is used to represent the proximity between the candidate completion point and the existing laser point cloud.
[0083] S2.3.2. Only candidate completion points whose nearest distance is between the minimum and maximum merge distance thresholds are retained as valid completion points; the specific formula is as follows:
[0084]
[0085] in, The shortest distance from the candidate completion point to the template point cloud. The minimum merging distance threshold, The maximum merging distance threshold, This represents the fine voxel downsampling resolution for millimeter-wave point clouds.
[0086] S2.3.3. Add the effective completion points to the template point cloud to obtain a closed triangular mesh shell, forming a closed spatial constraint. The output closed mesh shell structure serves as a rigid spatial constraint, and all subsequent calculations are constrained within this closed space, effectively preventing volume calculations from overflowing the chamber boundary.
[0087] S3. Perform a progressive fusion of the template point cloud and the millimeter-wave point cloud to obtain a closed point cloud of the material surface. The progressive fusion includes multiple fusion processes, rather than simply superimposing the millimeter-wave point cloud and the template point cloud. S3 includes:
[0088] S3.1. Template-constrained fusion of the closed triangular mesh shell and the millimeter-wave material point cloud yields a coarse millimeter-wave material surface point cloud. Specifically, based on the closed triangular mesh shell, spatial constraint filtering of the millimeter-wave point cloud is performed through convex hull clipping, retaining the millimeter-wave point cloud located inside the closed triangular mesh shell. For any millimeter-wave point, it can be determined whether the point is located inside the effective space defined by the closed triangular mesh shell, near the surface, or within the allowed boundary extension range. If the point is located outside the template and exceeds the set tolerance, it is determined that it may be a multipath reflection point, background clutter point, or environmental noise point and is discarded. Here, the tolerance can be set to 0, directly discarding the millimeter-wave point cloud located outside the closed triangular mesh shell.
[0089] S3.2. Perform data completion and fusion on the coarse millimeter-wave point cloud and the template point cloud to obtain the fine millimeter-wave surface point cloud; S3.2 includes:
[0090] S3.2.1. Perform near-template distance filtering on the coarse millimeter-wave material surface point cloud based on the distance between the point cloud and the template point cloud; specifically, using the template point cloud as a reference, calculate the nearest Euclidean distance from each point in the coarse millimeter-wave material surface point cloud to the template point cloud through the KD tree spatial index of the template point cloud, and set a near-template distance threshold I. near Points in the point cloud that are less than or equal to the threshold Euclidean distance from the template point cloud are discarded. These points are generally false reflections generated by crossbars, augers, or other structures close to the silo wall. Only point clouds with a distance greater than the threshold are retained as suspected material points, generating a filtered millimeter-wave material surface point cloud. False reflections that are too close to the template point cloud are effectively discarded, while real material surface points with a certain depth are retained. Through the spatial constraint filtering in S3.1 and the near-template distance filtering here, the retained millimeter-wave point cloud can simultaneously meet the requirements of overall boundary constraints and local geometric consistency.
[0091] S3.2.2. Construct a KD tree for the filtered millimeter-wave material surface point cloud, setting cluster tolerance, minimum cluster size, and maximum cluster size. Divide the filtered millimeter-wave material surface point cloud into multiple spatially connected components using Euclidean clustering, and extract the top N... topThe largest connected components are used as candidate material clusters to generate the initial set of material clusters. In Euclidean clustering, the cluster tolerance, minimum cluster size, and maximum cluster size are defined by the common formula for the cluster radius:
[0092]
[0093] in, This refers to the clustering tolerance in Euclidean clustering segmentation. For fine voxel downsampling resolution of millimeter-wave point clouds, Minimum cluster size, Maximum cluster size;
[0094] After performing Euclidean clustering, the potentially real material points are divided into multiple spatial connectivity domains based on distance connectivity. Each spatial connectivity domain represents a potential material region, and the top N points are extracted according to the number of points in the cluster. top The largest connected components are selected as candidate material clusters, where: N top =10.
[0095] The clustering radius can be determined based on the average point spacing of the millimeter-wave point cloud, radar resolution, and material surface size, for example, set to 0.10m to 0.80m; the number of points in a cluster ranges between the minimum and maximum cluster sizes. The specific Euclidean clustering process is existing technology and will not be described in detail here.
[0096] S3.2.3. Perform multi-dimensional quality scoring and screening on each candidate cluster in the initial material cluster set, calculate the comprehensive quality score, and set a passing threshold S. pass Only high-quality material clusters with scores exceeding a threshold are retained. These high-quality clusters undergo spike detection and smoothing processes sequentially, and are then merged to obtain a fine millimeter-wave material surface point cloud. By iteratively deleting isolated points and upward-protruding points and performing z-coordinate smoothing optimization, the quality of the material surface point cloud is improved. This process effectively identifies and eliminates low-quality false clusters generated by structures such as crossbars and augers, retaining only potentially genuine material clusters for subsequent processing. The multi-dimensional quality scoring dimensions include the number of points within a cluster, spatial continuity, overlap with the laser point cloud projection, reasonableness of height distribution, local smoothness, and relative positional relationship with the closed triangular mesh shell.
[0097] The step of performing multi-dimensional quality scoring and screening on each candidate cluster in the initial material cluster set, and calculating the comprehensive quality score, includes:
[0098] The specific formula for calculating the Z-axis distribution penalty term is as follows:
[0099]
[0100] in, The penalty term is distributed along the Z-axis. This is the Z-axis weight, with a default value of 100. The representative height of the cluster along the Z-axis. The lowest representative height among all clusters, The Z-axis standard deviation parameter is used, and `max` is the maximum value function. For each candidate cluster, the system first calculates the representative height of the cluster. Specifically, this can be done by reading the height coordinates of all points within the cluster and taking the average height as the representative height; if there are a few abnormally high or low points, the highest and lowest outliers can be removed first, and then the median or average height of the remaining points can be taken. After calculating the representative height of all candidate clusters, the system finds the lowest representative height as the benchmark for height distribution comparison. The Z-axis distribution penalty term is used to reduce the score of abnormally high clusters. The further the current cluster deviates from the lowest height benchmark, the more significant the deduction in this term. This processing can suppress floating clusters located far above the material surface, making them less likely to be misjudged as real material areas. In specific implementation, the preset height dispersion scale is determined based on the point cloud acquisition accuracy, the natural undulation of the material surface, and the on-site material accumulation height. The value range of the preset height dispersion scale is 0.20 meters to 1.00 meters, preferably 0.50 meters. For example, for scenarios with relatively flat material surfaces and low point cloud noise, the preset height dispersion scale is set to a smaller value of 0.2; for scenarios with large material surface undulations and high point cloud noise, the preset height dispersion scale is set to a larger value of 1.0.
[0101] The specific formula for calculating the point feature penalty term is as follows:
[0102]
[0103] in, For point-based feature penalty terms, This is the point weight, with a default value of 280. The number of points in the cluster. The maximum number of points is the maximum number of points among all clusters. The point count feature penalty is used to evaluate whether a candidate cluster has sufficient point cloud support. In this way, candidate clusters with a larger number of points and stronger spatial continuity can be preferentially retained.
[0104] The specific formula for calculating the penalty term for the banded distribution is as follows:
[0105]
[0106] in, For a banded distribution penalty term, The weights are distributed in a band pattern; the default value is 1. The height is calculated as a weighted average of the number of points across all clusters. The standard deviation parameter of the banded distribution. This is the absolute value of the difference between the representative height of the cluster and the point-weighted average height of all clusters. The band distribution penalty is used to determine whether the current cluster deviates from the height band formed by the candidate clusters as a whole. This item makes the scoring result pay more attention to clusters that are consistent with the height band of the main material surface, rather than simply relying on the number of points.
[0107] The isolation penalty term is calculated using the following formula:
[0108]
[0109] in, As an isolation penalty term, This is the isolation weight, with a default value of 2. This represents the height difference between this cluster and its immediate neighboring cluster below it. This is the gap tolerance, with a default value of 1.5 times l. fine The isolation penalty is used to identify candidate clusters that are located at a high position and lack continuous support below. This process can effectively exclude high-positioned anomalous clusters that lack continuous support below.
[0110] The calculation of the space detection penalty term is as follows:
[0111]
[0112] in, Penalty item for detecting space below. This is the weight of the space below, with a default value of 500. This represents the proportion of points belonging to other clusters within the XY neighborhood directly below the current cluster. The lower spatial detection penalty is used to further determine whether other clusters support the current cluster below it. This item is not used alone to determine the authenticity of a cluster, but is used in conjunction with the aforementioned height, number of points, banded distribution, and isolation results to prevent clusters with abnormal spatial vertical relationships from directly entering surface growth. Specifically, the proportion is the ratio between the number of points belonging to other candidate clusters within the lower spatial search area and the number of points in the current cluster. The system first obtains the projected boundary of the current cluster on the horizontal plane, and then expands outward by a preset horizontal neighborhood distance based on this projected boundary to obtain the expanded horizontal search range. The preset horizontal neighborhood distance can be between 0.10 meters and 0.50 meters, preferably 0.30 meters. Subsequently, the system uses the lowest height of the current cluster as a benchmark and selects a preset height range downwards as the lower spatial search range. The downward search height range can be between 0.30 meters and 1.00 meters, preferably 0.50 meters. To avoid mistakenly including the current cluster itself or points at or near the same height as the current cluster in the lower space, the system reserves a height interval below the lowest height of the current cluster. This height interval can be between 0.02 meters and 0.10 meters, preferably 0.05 meters. In other words, the lower space search area is the area within the horizontal projection range of the current cluster extended outwards, located below the lowest height of the current cluster, and avoiding height intervals near the lowest height of the current cluster.
[0113] The number of points belonging to other candidate clusters within the search area below is counted, and this number is divided by the number of points in the current cluster to obtain the occupancy ratio of the space below. If the number of points in the current cluster is zero, one is used as the denominator in the calculation to avoid division by zero. The occupancy ratio of the space below indicates the degree to which the area directly below the current cluster is occupied by other candidate cluster points.
[0114] Set a threshold for the percentage of space occupied below the current cluster. The threshold can be between 0.15 and 0.35, preferably 0.25. When the percentage of space occupied below the current cluster is not greater than this threshold, it is considered that there is no obvious abnormality in the space below the current cluster; when the percentage of space occupied below the current cluster is greater than this threshold, it is considered that there are other candidate cluster points supporting the current cluster or that there is an overlapping relationship between the upper and lower parts of the cluster, and the current cluster needs to be penalized for the detection of space below the current cluster.
[0115] The penalty for detecting the lower space is determined based on the relative magnitude between the lower space occupancy ratio and a preset penalty saturation value. The preset penalty saturation value can be between 0.40 and 0.60, preferably 0.50. When the lower space occupancy ratio is less than the preset penalty saturation value, the penalty value increases with the increase in the lower space occupancy ratio; when the lower space occupancy ratio reaches or exceeds the preset penalty saturation value, the penalty for detecting the lower space is the maximum deduction value corresponding to the lower space's weight. Preferably, when the lower space occupancy ratio is not greater than 0.25, it is not considered a significant anomaly; when the lower space occupancy ratio is greater than 0.25 and less than 0.50, the deduction is gradually increased according to this ratio; when the lower space occupancy ratio reaches or exceeds 0.50, all weights corresponding to the lower space detection are deducted.
[0116] The above multi-dimensional penalty items are weighted and combined to form a comprehensive penalty score. The specific formula is as follows:
[0117]
[0118] in, This is the total score for comprehensive penalties. Each penalty has been multiplied by its corresponding weight before being summed, so the focus of the screening can be changed by adjusting the weights for different scenarios. For example, in a dusty environment, the weights of isolation and the detection of space below can be appropriately increased; in scenarios with large fluctuations in the height of the material surface, the weight of the height distribution can be appropriately decreased to avoid falsely deleting areas with real high fluctuations.
[0119] The final quality score is calculated using the following formula:
[0120]
[0121] in, For the final quality score, Based on scores, The total penalty score is calculated using the `max` function, which takes the maximum value. A higher score indicates that the cluster closely matches the spatial characteristics of a real material cluster; a lower score indicates that the cluster exhibits significant anomalies in height, size, distribution, or support relationships.
[0122] Set a scoring threshold ,in, The default value is 450; only those that meet the following criteria are retained: The high-quality clusters will proceed to subsequent processing.
[0123] S3.3. A volumetric model is constructed and fused based on the precise millimeter-wave material surface point cloud and the template point cloud to obtain the final millimeter-wave material surface point cloud. S3.3 includes:
[0124] S3.3.1. Using a fine millimeter-wave material surface point cloud as the seed point cloud for growth, a surface growth algorithm is used to expand outwards to cover blind areas under the constraint of the template point cloud, thus completing the blind area. During surface growth, high-quality millimeter-wave candidate clusters (fine millimeter-wave material surface point clouds) are used as seed points, and intermediate points are gradually inserted or fitted along the spatial neighborhood, so that the millimeter-wave material surface point cloud forms a continuous material surface representation in the occluded area or the area missing by laser scanning. The resulting millimeter-wave material surface point cloud retains the detection advantage of millimeter-wave sensors on the upper part of the material surface, while avoiding unconstrained expansion of the surface outside the laser boundary. S3.3.1 includes:
[0125] 1) Configure surface growth parameters, including cell size, maximum number of iterations, minimum number of neighbor points, and neighbor search radius. The specific formula is as follows:
[0126]
[0127] in, For grid cell size, For fine voxel downsampling resolution of millimeter-wave point clouds, The maximum number of iterations, The number of least neighboring points. Set the neighbor search radius;
[0128] 2) Define the fine millimeter-wave surface point cloud as the seed point cloud and extract the representative height of the seed point cloud. and based on The nearby laser point cloud forms a template slice point cloud, in which:
[0129]
[0130]
[0131] in, The representative height of the seed point cloud is the median z-coordinate of all points in the seed point cloud. The lower limit height of the point cloud for template slices. The upper limit height of the point cloud for template slices. The search range below is 5* , The search range above is 3* ;
[0132] 3) Project the template slice point cloud vertically onto the horizontal plane to generate a two-dimensional convex hull polygon on the XY plane;
[0133] 4) Using the two-dimensional convex hull polygon as the boundary, the internal region is divided into multiple network cells according to the cell size. Only the cells located inside the convex hull are retained as target cells (effective growth targets), and the horizontal projection constraints of the template point cloud are constructed.
[0134] 5) Assign each point in the seed point cloud to the corresponding grid cell according to the XY coordinates, and mark the target cell that already contains points as covered;
[0135] 6) Perform surface growth iterations. In each iteration, traverse all uncovered target cells and perform the following operations on each target cell:
[0136] With this grid as the center and a radius of The number of points has been collected within the neighborhood of each grid; if the number of neighborhood points is less than the number of minimum neighbor points... If the cell is not found in the grid, skip that cell in this round; otherwise, calculate the neighborhood normal vector n and determine the center of that cell (c). x ,c y) The height z of the growth point at a given location is such that the growth point height is determined by the condition that the growth point height is determined by and Project the lattice center onto the local fitting plane to obtain z, and then calculate the new growth point (c). x ,c y (z) Add the seed point cloud and mark the cell as covered, where, The Z component of the normal vector of the new growth point. Let Z be the absolute value of the Z component of the candidate growth point normal vector. This is the threshold for the absolute value of the Z-component of the normal vector; the default value is 0.1. Let be the angle by which the normal vector of the candidate growth point deviates from the vertical direction. This represents the maximum angle deviating from the vertical direction; the default value is 50°.
[0137] 7) Add the new growth points that meet the constraints to the growth seed point cloud, and stop growth when the maximum number of iterations is reached or no more new points are generated, and output the fine millimeter-wave material surface point cloud.
[0138] S3.3.2. The fine millimeter-wave material surface point cloud after blind spot completion and the template point cloud are stitched together. The upper compartment portion of the template point cloud is deleted to obtain the closed material surface point cloud. The upper compartment portion consists of the compartment body and top portion located above the fine millimeter-wave material surface point cloud after stitching. Specifically, a KD-tree spatial index is constructed based on the millimeter-wave material surface point cloud. This KD-tree spatial index can be implemented using a KD-tree, octree, or raster index, and is used to quickly find the neighboring millimeter-wave material surface points corresponding to any point in the template point cloud. When traversing the template point cloud, for each laser point, its horizontal coordinate is matched with the neighboring points in the fine millimeter-wave material surface point cloud, and the height of the laser point is compared with the height of the neighboring millimeter-wave material surface. When a laser point is located below the millimeter-wave material surface and conforms to the lower or sidewall contour of the material pile, it is retained as the lower laser point cloud. When the laser point corresponds to the millimeter-wave material surface in horizontal position but has a height deviation smaller than a preset error, the laser point can be aligned and adjusted to ensure continuous connection with the millimeter-wave material surface at the boundary transition. When the laser point is located in an obviously abnormal position above the millimeter-wave material surface, it is discarded. The processed lower laser point cloud is used to represent the bottom, sides, and boundary morphology of the material, while the millimeter-wave material surface point cloud is used to represent the upper surface of the material. The two are merged to form a closed point cloud of the material surface.
[0139] This process relies on measured data (millimeter-wave point cloud) to ensure accuracy in the seed region, and on the blind region to complete the process using the geometric constraints and surface continuity assumptions of the template point cloud, thus achieving the third deep fusion of millimeter-wave and laser technologies. The fused material surface closed point cloud simultaneously contains the upper morphology of the material surface and the lower boundary morphology, which can meet the three-dimensional closure requirements for subsequent closed volume calculations.
[0140] S4. Accurate volume calculation based on closed point cloud of material surface; including: shrinking and remeshing the final millimeter-wave closed point cloud of material surface to generate a triangular mesh shell of the closed point cloud of material surface, calculating the volume based on the triangular mesh shell of the closed point cloud of material surface, and outputting the final volume value. Specifically, the accurate volume calculation can be performed using the CGAL PMP:volume function.
[0141] It should be understood that all parameters in this article are merely a reference example in the specific implementation process, and those skilled in the art can manually adjust each parameter according to different actual scenarios.
[0142] 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 method for volume measurement using a fusion of laser and millimeter-wave dual radar in complex obstructed scenarios, characterized in that, Includes the following steps, S1. Acquire heterogeneous data from dual sensors and preprocess and register it; including: acquiring the original laser point cloud and the original millimeter-wave point cloud, the original laser point cloud being the empty chamber point cloud; performing differential voxel downsampling on the original millimeter-wave point cloud and the original laser point cloud to unify their respective resolutions; using the downsampled laser point cloud as the template point cloud. S2. Perform boundary completion and construct a closed triangular mesh shell on the template point cloud; shrink and wrap the template point cloud to generate a triangular mesh shell; perform dense sampling on the surface of the triangular mesh shell to obtain candidate completion points; use the KD tree spatial index of the template point cloud to perform double threshold filtering on the candidate completion points to obtain effective completion points, add them to the template point cloud to obtain a closed triangular mesh shell, forming a closed spatial constraint; S3. Perform progressive fusion of template point cloud and millimeter-wave point cloud to obtain closed point cloud of material surface; including: template constraint fusion of closed triangular shell and millimeter-wave material point cloud to obtain coarse millimeter-wave material surface point cloud; data completion fusion of coarse millimeter-wave point cloud and template point cloud to obtain fine millimeter-wave material surface point cloud; volume model construction fusion based on fine millimeter-wave material surface point cloud and template point cloud to obtain final millimeter-wave material surface point cloud; S4. Perform accurate volume calculation based on the closed point cloud of the material surface.
2. The method for volume measurement using laser and millimeter-wave dual radar fusion in complex obstructed scenarios according to claim 1, characterized in that, In step S1, the differential voxel downsampling of the original millimeter-wave point cloud and the original laser point cloud to unify their respective resolutions includes: The original millimeter-wave point cloud is downsampled in two stages, while the original laser point cloud is downsampled in one stage. The accuracy of the two-stage downsampling is higher than that of the one-stage downsampling.
3. The method for volume measurement using laser and millimeter-wave dual radar fusion in complex obstructed scenarios according to claim 1, characterized in that, In step S2, the shrinking and wrapping of the template point cloud to generate a closed triangular mesh shell, using multi-stage remeshing for shrinking and wrapping, includes: Convex hull reconstruction is performed on the template point cloud, and a closed convex hull mesh is constructed using the CGAL convex hull algorithm as the initial shape for shrinking the wrapping. The first phase of shrinking and wrapping iteration is performed on the closed convex hull mesh using the first mesh target side length; The second phase of shrinking the package iteration is performed using the target side length of the second network. The side length of the first grid target is greater than the side length of the second grid target.
4. The method for volume measurement using laser and millimeter-wave dual radar fusion in complex obstructed scenarios according to claim 1, characterized in that, In S2, the process of obtaining candidate completion points by dense sampling on the surface of the triangular mesh shell is as follows: traverse all triangular faces of the closed triangular mesh shell, set the surface sampling step size, uniformly sample the edges of each triangle, and generate dense candidate completion points.
5. The method for volume measurement using laser and millimeter-wave dual radar fusion in complex obstructed scenarios according to claim 1, characterized in that, In step S2, the process of obtaining effective completion points by performing double threshold filtering on candidate completion points using the KD tree spatial index of the template point cloud, and adding them to the template point cloud to obtain a closed mesh shell includes: Construct a KD-tree spatial index for the template point cloud, perform a nearest neighbor search for each candidate completion point, and calculate its nearest distance to the template point cloud; Only candidate completion points whose nearest distance is between the minimum and maximum merge distance thresholds are retained as valid completion points; Adding valid completion points to the template point cloud yields a closed triangular mesh shell, forming a closed spatial constraint.
6. The method for volume measurement using laser and millimeter-wave dual radar fusion in complex obstructed scenarios according to claim 1, characterized in that, In step S3, the step of performing template-constrained fusion of the closed triangular mesh shell and the downsampled millimeter-wave material point cloud to obtain a coarse millimeter-wave material surface point cloud specifically involves: Based on the closed triangular mesh shell, the millimeter-wave point cloud is spatially constrained and filtered by convex hull clipping, retaining the millimeter-wave point cloud located inside the closed triangular mesh shell and removing the millimeter-wave point cloud located outside the closed triangular mesh shell.
7. The method for volume measurement using laser and millimeter-wave dual radar fusion in complex obstructed scenarios according to claim 1, characterized in that, In step S3, the process of performing data completion and fusion on the coarse millimeter-wave point cloud and the template point cloud to obtain the fine millimeter-wave surface point cloud includes: S3.2.
1. Perform near-template distance filtering on the coarse millimeter-wave material surface point cloud based on the distance between the point cloud and the template point cloud; specifically, using the template point cloud as a reference, calculate the nearest Euclidean distance from each point in the coarse millimeter-wave material surface point cloud to the template point cloud through the KD tree spatial index of the template point cloud, and set a near-template distance threshold I. near Remove point clouds whose nearest Euclidean distance from the template point cloud is less than or equal to the threshold. S3.2.
2. Construct a KD tree for the filtered millimeter-wave material surface point cloud, setting cluster tolerance, minimum cluster size, and maximum cluster size. Divide the filtered millimeter-wave material surface point cloud into multiple spatially connected components using Euclidean clustering, and extract the top N... top The largest connected components are used as candidate material clusters to generate an initial set of material clusters; S3.2.
3. Perform multi-dimensional quality scoring and screening on each candidate cluster in the initial material cluster set, calculate the comprehensive quality score, and set a passing threshold S. pass Only high-quality material clusters with scores exceeding the threshold are retained. Spike detection and smoothing are performed on these high-quality clusters in sequence, and the high-quality material clusters are merged to obtain a fine millimeter-wave material surface point cloud.
8. The method for volume measurement using laser and millimeter-wave dual radar fusion in complex obstructed scenarios according to claim 7, characterized in that, In S3, the process of performing multi-dimensional quality scoring and screening on each candidate cluster in the initial material cluster set and calculating the comprehensive quality score includes: The specific formula for calculating the Z-axis distribution penalty term is as follows: in, The penalty term is distributed along the Z-axis. The weight is the Z-axis weight. The representative height of the cluster along the Z-axis. The lowest representative height among all clusters, Here, Z is the standard deviation parameter of the Z-axis distribution, and max is the function to maximize it. The specific formula for calculating the point feature penalty term is as follows: in, For point-based feature penalty terms, Point weighting, The number of points in the cluster. The maximum number of points in all clusters; The specific formula for calculating the penalty term for the banded distribution is as follows: in, For a banded distribution penalty term, The weights are distributed in a band pattern. The height is calculated as a weighted average of the number of points across all clusters. The standard deviation parameter of the banded distribution. It is the absolute value of the difference between the representative height of a cluster and the weighted average height of all clusters. The isolation penalty term is calculated using the following formula: in, As an isolation penalty term, For isolation degree weight, This represents the height difference between this cluster and its immediate neighboring cluster below it. For gap tolerance; The calculation of the space detection penalty term is as follows: in, Penalty item for detecting space below. For the space weight below, This represents the proportion of points in other clusters within the XY neighborhood directly below the current cluster; The above multi-dimensional penalty items are weighted and combined to form a comprehensive penalty score. The specific formula is as follows: in, The total penalty score; The final quality score is calculated using the following formula: in, For the final quality score, Based on scores, The total penalty score is defined by `max`, which is the function that maximizes the penalty score. Set a scoring threshold Only retain those that meet the requirements. The high-quality clusters will proceed to subsequent processing.
9. The method for volume measurement using laser and millimeter-wave dual radar fusion in complex obstructed scenarios according to claim 1, characterized in that, In step S3, the volumetric model construction and fusion based on the fine millimeter-wave material surface point cloud and the template point cloud to obtain the final millimeter-wave material surface point cloud includes: S3.3.
1. Using the fine millimeter-wave surface point cloud as the seed point cloud for growth, the blind area is expanded outward to fill the blind area under the constraint of the template point cloud through the surface growth algorithm; the cell size, maximum number of iterations, minimum number of neighbor points, and neighbor search radius are set, the normal vector of each growth point is calculated, and only surface points that satisfy the normal vector constraint are retained. S3.3.
2. Combine the fine millimeter-wave material surface point cloud after blind spot completion with the template point cloud, and delete the upper part of the template point cloud to obtain the material surface closed point cloud.
10. The method for volume measurement using laser and millimeter-wave dual radar fusion in complex obstructed scenarios according to claim 9, characterized in that, In S3.3.1, the step of using a fine millimeter-wave surface point cloud as a seed point cloud for growth, and expanding outward to cover the blind area under the constraint of the template point cloud through a surface growth algorithm to achieve blind area completion includes: 1) Configure surface growth parameters, including cell size, maximum number of iterations, minimum number of neighbor points, and neighbor search radius; 2) Define the fine millimeter-wave surface point cloud as the seed point cloud and extract the representative height of the seed point cloud. and based on The nearby laser point cloud forms a template slice point cloud, in which: in, The representative height of the seed point cloud is the median z-coordinate of all points in the seed point cloud. The lower limit height of the point cloud for template slices. The upper limit height of the point cloud for template slices. The search range is shown below. The search range above; 3) Project the template slice point cloud vertically onto the horizontal plane to generate a two-dimensional convex hull polygon on the XY plane; 4) Using the two-dimensional convex hull polygon as the boundary, the internal region is divided into multiple network cells according to the cell size. Only the cells located inside the convex hull are retained as target cells to construct the horizontal projection constraint of the template point cloud. 5) Assign each point in the seed point cloud to the corresponding grid cell according to the XY coordinates, and mark the target cell that already contains points as covered; 6) Perform surface growth iterations. In each iteration, traverse all uncovered target cells and perform the following operations on each target cell: With this grid as the center and a radius of The number of points has been collected within the neighborhood of each grid; if the number of neighborhood points is less than the number of minimum neighbor points... If the cell is not found in the grid, skip that cell in this round; otherwise, calculate the neighborhood normal vector n and determine the center of that cell (c). x ,c y) The height z of the growth point at a given location is such that the growth point height is determined by the condition that the growth point height is determined by and Project the lattice center onto the local fitting plane to obtain z, and then calculate the new growth point (c). x ,c y (z) Add the seed point cloud and mark the cell as covered, where, The Z component of the normal vector of the new growth point. Let Z be the absolute value of the Z component of the candidate growth point normal vector. The threshold for the absolute value of the Z component of the normal vector. Let be the angle by which the normal vector of the candidate growth point deviates from the vertical direction. This represents the maximum angle deviating from the vertical direction; the default value is 50°. 7) Add the new growth points that meet the constraints to the growth seed point cloud, and stop growth when the maximum number of iterations is reached or no more new points are generated, and output the fine millimeter-wave material surface point cloud.
