A laser radar point cloud filtering parameter optimization method and system based on distance segmentation and real-time visual feedback

By using distance segmentation and real-time visualization feedback, the problems of real-time linkage and semantic deviation in the optimization of LiDAR point cloud filtering parameters were solved, achieving efficient point cloud filtering and parameter migration, and improving the efficiency and consistency of optimization results.

CN123156231APending Publication Date: 2026-11-24SHENZHEN FENGMAN INTELLIGENT TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611459108.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-19
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing LiDAR point cloud filtering parameter optimization schemes cannot achieve real-time linkage between parameter modification and visual feedback, resulting in long optimization cycles. Furthermore, the global filtering parameters cannot adapt to the differences between near-range and far-range point clouds, leading to poor filtering performance. The lack of semantic constraints during parameter migration also makes it prone to bias.

Method used

The method adopts distance segmentation and real-time visualization feedback to divide the point cloud into at least two segments according to distance, independently configure the threshold and activation status of filtering factors, and generate consistent parameter snapshots in real time in the visualization interface. The correspondence between frame identifiers and noise masks is established, and multi-view results are displayed synchronously. Finally, the parameters are migrated to the formal driver according to consistent semantics.

Benefits of technology

It enables real-time visualization feedback of point cloud filtering parameters, shortens the tuning cycle, improves the adaptability and semantic consistency of the filtering effect, and avoids deviations during parameter migration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123156231A_ABST
    Figure CN123156231A_ABST
Patent Text Reader

Abstract

This invention discloses a method and system for optimizing LiDAR point cloud filtering parameters based on distance segmentation and real-time visualization feedback. The method divides the point cloud into at least two distance segments and independently configures the threshold and activation status of filtering factors for each segment. It generates a consistent parameter snapshot and triggers filter recalculation immediately when parameters change in the visualization interface. It establishes a definite correspondence between frame identifiers, parameter snapshots, and noise masks, and synchronously generates multiple views of the original point cloud, clean point cloud, filtered points, and comparison display under the same coordinate system and rendering conditions. Finally, it forms a definite set of strategy parameters according to distance segment, factor name, activation status, comparison direction, threshold value, and unit, and migrates these parameters to the formal driver with the same fields, units, and logical relationships, ensuring the consistency of filtering semantics before and after migration and eliminating the risk of deviation during parameter migration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of lidar technology, specifically to a method and system for optimizing lidar point cloud filtering parameters based on distance segmentation and real-time visualization feedback. Background Technology

[0002] LiDAR (Light Detection and Ranging) acquires 3D point cloud data of the surrounding environment by emitting laser pulses and receiving echo signals. It is widely used in autonomous driving, robot navigation, and intelligent sensing. Due to factors such as environmental noise, multipath reflection, dust obstruction, and the inherent characteristics of the sensor, the raw point cloud inevitably contains noise and outliers. Therefore, filtering strategies are needed to clean the point cloud. Currently, point cloud filtering parameter tuning is typically done directly in the production driver. Operators modify threshold parameters in the driver configuration file or code, restart the driver, or recompile the program to observe the point cloud filtering effect, and then repeatedly modify the parameters and repeat the process based on the observation results.

[0003] For example, Chinese patent application CN110988846A discloses a LiDAR point cloud filtering method, which classifies and filters point clouds by setting reflectivity threshold and distance threshold; Chinese patent application CN113281782A discloses a LiDAR point cloud denoising method based on multi-feature fusion, which comprehensively utilizes multi-dimensional information such as reflectivity and neighborhood density to determine noise points.

[0004] However, the existing solutions mentioned above all couple the configuration and verification of filtering parameters into the formal processing flow. Each parameter adjustment requires reloading or restarting the system to observe the changes in the filtering results, which cannot achieve real-time linkage between parameter modification and visual feedback. The optimization cycle is long and the efficiency is low. At the same time, these solutions use uniform global filtering parameters for all point clouds and do not perform segmented adaptation for the significant differences in point density, reflectivity distribution and neighborhood structure between near and far point clouds. This makes it difficult for a single parameter set to meet the filtering needs of different distance segments. Furthermore, when parameters determined in the tuning environment are migrated to the formal driver, the lack of a unified constraint mechanism for fields, units, comparison directions, and logical relationships can easily lead to semantic biases, causing the actual filtering behavior of the formal driver to deviate from the expected effect in the tuning phase. Summary of the Invention

[0005] This invention aims to provide a method and system for optimizing LiDAR point cloud filtering parameters based on distance segmentation and real-time visualization feedback. This visualization optimization method connects real-time or offline point cloud input, basic filtering parameter editing, filtering calculation, synchronous display of original / clean / filtered points, and parameter solidification, enabling parameter changes to be immediately fed back to the point cloud results and allowing the determined parameters to be migrated to the formal drive according to consistent semantics.

[0006] To achieve the above objectives, the technical solution adopted by this invention is: a method for optimizing LiDAR point cloud filtering parameters based on distance segmentation and real-time visualization feedback, comprising: S1: Select real-time UDP or offline data source to obtain point cloud frames, decode the point cloud frames into point cloud frames containing scan rows, scan columns, distance, reflectivity and Signal fields, and retain frame identifiers for recalcible frames. S2: Configure a distance segmentation strategy in the visual parameter tuning interface to divide the points in the point cloud frame into at least two distance segments according to the distance. Each distance segment stores the threshold and activation status of each filtering factor. S3: When any threshold or enabled state in the visualization parameter tuning interface changes, the range, type and unit of the input value are checked, and an indivisible consistent parameter snapshot is generated. The filtering engine re-executes the basic filtering calculation on the current recalcible point cloud frame based on the parameter snapshot. S4: Based on the parameter group of the corresponding distance segment in the parameter snapshot, select the corresponding parameters according to the distance segment, calculate the abnormal conditions of neighborhood factors, reflectivity factors and signal factors for each point in the point cloud frame, perform joint judgment on the enabled decision factors and generate a noise mask, and establish the correspondence between the frame identifier, the parameter snapshot and the noise mask. S5: Based on the noise mask, under the same point cloud coordinate system, the same camera pose, the same point size, and the same color mapping conditions, simultaneously generate the original point cloud, the clean point cloud, the filtered points, and the multi-view results for comparison display. S6: After the parameters achieve the expected effect, record the final parameter set, and form a defined strategy parameter set according to the distance segment, factor name, activation status, comparison direction, threshold value and unit. Then, migrate the strategy parameter set to the formal driver according to the same fields, units and logical relationships.

[0007] Preferably, the distance segment includes a near-distance segment and a far-distance segment; The close-range segment is a range with a distance greater than or equal to 0 meters and less than or equal to 2 meters. The long-distance segment is a range with a distance greater than 2 meters and less than or equal to 25 meters. Each distance segment stores the minimum number of neighbors K, the neighborhood distance difference threshold Δ, the low reflectivity threshold L, the high reflectivity threshold H, the signal threshold T, and the corresponding enabling status; points with a distance greater than 25 meters are not removed by the basic filtering strategy.

[0008] Preferably, the outlier conditions for calculating neighborhood factors in S4 specifically include: For an effective center point p located within a given distance segment, a 3×3 scanning window is obtained centered on the scanning row and scanning column of the effective center point p. The 3×3 scanning window includes the effective center point p itself, and contains at most 9 effective support points within the window; Traverse the window point q. When the distance of the window point q is valid and the neighborhood distance difference condition is disabled, or satisfies |r(q)-r(p)|≤Δ, the window point q is counted as an effective support point, and the number of support points is recorded as N(p); If the minimum effective support point factor is enabled and N(p)<K, it is determined that the neighborhood factor is abnormal.

[0009] Preferably, the abnormal conditions for calculating the reflectance factor in S4 specifically include: The low reflectance branch and the high reflectance branch for each of the distance segments can be enabled separately; When the low reflectance branch is enabled and ρ(p)≤L, the low reflectance abnormal condition is established; When the high reflectance branch is enabled and ρ(p)≥H, the high reflectance abnormal condition is established; The low reflectance abnormal condition and the high reflectance abnormal condition adopt a logical OR operation within the reflectance factor.

[0010] Preferably, the joint determination of the enabled decision factors in S4 specifically includes: Establish an enabled decision factor set E for the current distance segment. The decision factors in the enabled decision factor set E include the minimum effective support point factor, the reflectance factor, and the Signal factor; Disabled factors are removed from the enabled decision factor set E and do not participate in operations with default true or default false values; Only when the enabled decision factor set E is non-empty and the abnormal conditions of all enabled factors in the set are established, the point p is written into the noise mask; Among them, the neighborhood factor, the reflectance factor, and the Signal factor adopt a logical AND operation; When the Signal factor is enabled but the current point cloud does not contain a valid Signal field, the Signal abnormal condition is determined to be not established.

[0011] Preferably, the comparative display in S5 distinguishes retained points from filtered points by different colors in the same space; The original point cloud is used to confirm the input data, the clean point cloud is used to view the filtered structure, and the filtered points are used to check whether real targets are mistakenly deleted; Switching the view does not re-change the parameters, ensuring that the observation results come from the same parameter snapshot.

[0012] Preferably, the offline data source in S1 includes PCAP and BAG; In offline mode, it is possible to repeatedly locate the same frame or the same time period and compare multiple sets of parameters using the exact same raw data; the playback, pause, loop and time positioning of offline playback do not change the meaning of the filtering parameters; In real-time mode, parameter changes take effect on the next complete real-time frame.

[0013] Preferably, in S3, when the parameter is dragged continuously, the filter recalculation is triggered by sequential refresh or short-term merge update, so that the parameter corresponding to the final position will definitely complete a filter recalculation while maintaining smooth interaction.

[0014] Preferably, in S6, migrating the strategy parameter set to the formal driver specifically includes: Export the set of strategy parameters as JSON, YAML, launch parameter fragments or driver configuration files, or send them to the production driver via a local interface or network interface; During migration, maintain the same semantics for low reflectivity (less than or equal to), high reflectivity (greater than or equal to), and logical AND between enabled factors; After migration, verify the consistency between the formal driver output and the tuning results using the same PCAP, BAG, or field data.

[0015] On the other hand, this invention proposes a lidar point cloud filtering parameter optimization system based on distance segmentation and real-time visualization feedback, comprising: The data source access module is used to select a real-time UDP or offline data source to obtain point cloud frames, and provide the point cloud frames to the point cloud decoding and ordering module. The point cloud decoding and ordering module is used to decode the point cloud frame into a point cloud frame containing scan row, scan column, distance, reflectivity and Signal fields, and to retain the frame identifier for recalcible frames. The visualization parameter editing module is used to provide a distance segmentation strategy configuration interface, which divides the points in the point cloud frame into at least two distance segments according to the distance. Each distance segment stores the threshold and activation status of each filtering factor. When any threshold or activation status changes, the input value is validated in terms of range, type and unit. The segmented parameter status module is used to generate an indivisible, consistent parameter snapshot when the parameters in the visualization parameter editing module change, and to maintain the correspondence between the frame identifier and the parameter snapshot; The basic filtering calculation module is used to calculate the abnormal conditions of neighborhood factors, reflectivity factors and signal factors for each point in the point cloud frame according to the parameter snapshot and the parameter group corresponding to the distance segment, and to perform joint judgment on the enabled decision factors. The noise mask generation module is used to generate a noise mask based on the joint determination result of the basic filtering calculation module, and to establish the correspondence between the frame identifier, the parameter snapshot and the noise mask. The multi-view synchronous rendering module is used to synchronously generate the original point cloud, clean point cloud, filtered points, and a multi-view result for comparison display based on the noise mask under the same point cloud coordinate system, the same camera pose, the same point size, and the same color mapping conditions. The parameter recording and migration module is used to record the final parameter set after the parameters achieve the expected effect, form a defined strategy parameter set by distance segment, factor name, activation status, comparison direction, threshold value and unit, and migrate the strategy parameter set to the formal driver according to the same fields, units and logical relationships.

[0016] Compared with the prior art, the beneficial effects of the present invention are as follows: This invention divides the point cloud into at least two distance segments and independently configures the threshold and activation status of filtering factors for each segment, enabling different distance segments to adapt to their respective point cloud features and avoiding near-far distance filtering contradictions caused by globally uniform parameters. By generating a consistent parameter snapshot and triggering filter recalculation immediately when parameters change in the visual parameter tuning interface, real-time visual feedback on the filtering effect can be obtained without restarting the driver or recompiling, significantly shortening the tuning cycle. By establishing a definite correspondence between frame identifiers, parameter snapshots, and noise masks, and simultaneously generating multiple views of the original point cloud, clean point cloud, filtered points, and comparison display under the same coordinate system and rendering conditions, operators can intuitively judge the filtering effect within the same interface. By forming a definite set of strategy parameters according to distance segment, factor name, activation status, comparison direction, threshold value, and unit, and migrating them to the formal driver with the same fields, units, and logical relationships, the consistency of filtering semantics before and after migration is ensured, eliminating the risk of deviation during parameter porting. Attached Figure Description

[0017] Figure 1 This is a flowchart of the lidar point cloud filtering parameter optimization method based on distance segmentation and real-time visualization feedback according to the present invention. Figure 2 This is a block diagram of the lidar point cloud filtering parameter optimization system based on distance segmentation and real-time visualization feedback according to the present invention. Detailed Implementation

[0018] 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 a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.

[0019] It should be noted that if the embodiments of the present invention involve directional indicators (such as up, down, left, right, front, back, etc.), the directional indicators are only used to explain the relative positional relationship and movement of the components in a specific posture. If the specific posture changes, the directional indicators will also change accordingly.

[0020] Furthermore, if the embodiments of this invention involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the use of "and / or" or "and / or" throughout the text includes three parallel solutions. For example, "A and / or B" includes solution A, solution B, or a solution where both A and B are satisfied simultaneously. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed by this invention.

[0021] Please see Figure 1 This invention provides a method for optimizing LiDAR point cloud filtering parameters based on distance segmentation and real-time visualization feedback, comprising: S1: Select real-time UDP or offline data source to obtain point cloud frames, decode the point cloud frames into point cloud frames containing scan rows, scan columns, distance, reflectivity and Signal fields, and retain the frame identifier for recalcible frames; offline data sources include PCAP and BAG. In offline mode, it allows repeated positioning to the same frame or the same time period, comparing multiple sets of parameters using the exact same raw data; playback, pause, looping, and time positioning in offline playback do not change the meaning of the filtering parameters; in real-time mode, parameter changes take effect on the next complete real-time frame.

[0022] By supporting unified access to real-time UDP and offline data sources such as PCAP and BAG, and retaining frame identifiers during decoding, multiple sets of parameters can be repeatedly located and compared based on identical raw data in offline mode. This helps improve the repeatability and reliability of comparison and verification during parameter tuning. At the same time, playback control operations in offline playback do not affect the semantics of filtering parameters, while parameter changes in real-time mode can be reflected in the next complete frame. This balances the flexibility of tuning while also helping to maintain the timing rationality of parameter effectiveness in real-time scenarios.

[0023] S2: Configure the distance segmentation strategy in the visual parameter tuning interface to divide the points in the point cloud frame into at least two distance segments according to the distance. Each distance segment saves the threshold and activation status of each filtering factor. The distance range includes a near distance range and a far distance range; the near distance range is the range with a distance greater than or equal to 0 meters and less than or equal to 2 meters; the far distance range is the range with a distance greater than 2 meters and less than or equal to 25 meters; each distance range stores the minimum number of neighbors K, the neighborhood distance difference threshold Δ, the low reflectivity threshold L, the high reflectivity threshold H, the signal threshold T, and the corresponding activation status; points with a distance greater than 25 meters are not removed by the basic filtering strategy.

[0024] By dividing the point cloud into near-range and far-range segments and configuring filtering parameters for each segment, it is possible to adapt to the differences in density, reflectivity, and neighborhood structure of point clouds at different distance intervals to a certain extent. This makes the filtering strategy for each distance segment more targeted, while retaining the flexibility to process points in more distant areas. This helps to reduce the phenomenon of accidental deletion of nearby points or missed filtering of distant points caused by globally uniform parameters, and improves the rationality of the overall filtering effect.

[0025] S3: When any threshold or enabled status in the visual parameter tuning interface changes, the range, type and unit of the input value are checked, and an indivisible consistent parameter snapshot is generated. The filtering engine then re-executes the basic filtering calculation on the current recalcible point cloud frame based on the parameter snapshot. Specifically, when parameters are dragged continuously, a filter recalculation is triggered by sequential refresh or short-term merged updates. This ensures that the parameters at the final position are always recalculated while maintaining smooth interaction. The rendering module only refreshes the display using the mask corresponding to the current frame identifier and parameter snapshot, avoiding the old parameter results from overwriting the new parameter results. The entire process does not require exiting the tuning software, recompiling the driver, or rebuilding the point cloud display window.

[0026] By automatically verifying and generating a consistent parameter snapshot when parameters change, and triggering filter recalculation in combination with a progressive refresh or merge update mechanism, it is possible to ensure that the final parameters are fully verified while maintaining smooth interaction. The rendering module refreshes the display only based on the current frame identifier and the mask of the corresponding snapshot, which helps to avoid confusion between old and new results. The entire parameter tuning process does not require exiting the software or recompiling the driver, making the feedback between parameter adjustment and effect observation more timely and coherent, which is beneficial for improving tuning efficiency.

[0027] S4: According to the parameter group corresponding to the distance segment in the parameter snapshot, select the corresponding parameters according to the distance segment, calculate the neighborhood factor, reflectance factor and Signal factor abnormality conditions for each point in the point cloud frame, perform joint judgment on the enabled decision factors and generate a noise point mask, and establish the correspondence between the frame identifier, parameter snapshot and noise point mask; Wherein, the calculation of the abnormality condition of the neighborhood factor specifically includes: For a valid center point p in a certain distance segment, a 3×3 scanning window is obtained with the scanning row and scanning column of the valid center point p as the center, the 3×3 scanning window includes the valid center point p itself, and the window has at most 9 valid support points; Traverse the window point q, when the distance of the window point q is valid, and the neighborhood distance difference condition is off, or |r(q)-r(p)|≤Δ is satisfied, the window point q is counted as a valid support point, and the number of support points is recorded as N(p); if the minimum valid support point factor is enabled and N(p)<K, it is determined that the neighborhood factor is abnormal. The neighborhood distance difference threshold Δ is only used to limit the support point count, and is not used as an independent final elimination factor.

[0028] By selecting the corresponding parameter group according to the distance segment and performing joint judgment on factors such as neighborhood, reflectance and Signal, it can fit the local characteristics of the point cloud in each distance interval to a certain extent, making noise point recognition more targeted; binding the frame identifier, parameter snapshot and noise point mask helps to ensure the traceability and reproducibility of the filtering results, facilitating subsequent comparative analysis; At the same time, limiting the neighborhood distance difference threshold to a constraint condition for support point counting rather than an independent final elimination basis helps to reduce the risk of false deletion caused by overly strict single geometric conditions, and makes the judgment of neighborhood factors achieve a more reasonable balance between capturing isolated noise points and retaining valid edge points.

[0029] Wherein, the calculation of the abnormality condition of the reflectance factor specifically includes: The low reflectance branch and the high reflectance branch of each distance segment can be enabled separately; When the low reflectance branch is enabled and ρ(p)≤L, the low reflectance abnormality condition is established; When the high reflectance branch is enabled and ρ(p)≥H, the high reflectance abnormality condition is established; Low reflectivity anomaly conditions and high reflectivity anomaly conditions are logically ORed within the reflectivity factor.

[0030] Furthermore, the joint determination of activated decision factors specifically includes: For the current distance segment, establish a set of enabled decision factors E. The decision factors in set E include the minimum effective support point factor, the reflectivity factor, and the signal factor. Factors that are turned off are removed from the set of enabled decision factors E and do not participate in the calculation as default true or default false; point p is written into the noise mask only if the set of enabled decision factors E is not empty and the abnormal conditions of all enabled factors in the set are met. Among them, the neighborhood factor, reflectivity factor and signal factor are logically ANDed; when the signal factor is enabled but the current point cloud does not contain a valid signal field, the signal abnormality condition is determined to be invalid.

[0031] By performing joint judgment only on the decision factors that are actually enabled, and automatically excluding their influence when factors are missing or turned off, it helps to avoid misjudgments caused by missing fields or configuration changes. This improves the algorithm's adaptability and robustness to different data conditions and application scenarios while ensuring the accuracy of noise identification.

[0032] S5: Based on the noise mask, under the conditions of the same point cloud coordinate system, the same camera pose, the same point size, and the same color mapping, simultaneously generate the original point cloud, the clean point cloud, the filtered points, and the comparison display of multiple view results. The comparison is displayed by using different colors to distinguish between retained points and filtered points in the same space; the original point cloud is used to confirm the input data, the clean point cloud is used to view the structure after filtering, and the filtered points are used to check whether the real targets have been mistakenly deleted; switching views does not change the parameters again, ensuring that the observation results come from the same parameter snapshot.

[0033] By simultaneously presenting multiple point cloud views under a unified parameter snapshot and distinguishing between retained and filtered points by color, it is helpful to intuitively compare the data status before and after filtering, and to quickly identify potential accidental deletions or residual noise, thereby improving debugging efficiency and result reliability while maintaining observation consistency.

[0034] S6: After the parameters achieve the expected results, record the final parameter set. Then, form a defined strategy parameter set based on the distance segment, factor name, activation status, comparison direction, threshold value, and unit. Finally, migrate the strategy parameter set to the formal driver based on the same fields, units, and logical relationships.

[0035] The migration of the strategy parameter set to the production driver specifically includes: exporting the strategy parameter set as JSON, YAML, launch parameter fragments, or driver configuration files, or sending it to the production driver via a local interface or network interface; maintaining the same semantics during migration, using less than or equal to for low reflectivity, greater than or equal to for high reflectivity, and using logical AND between each enabled factor; and verifying the consistency between the production driver output and the tuning results using the same PCAP, BAG, or field data after migration.

[0036] By solidifying the optimized parameters into a set of transferable strategies with unified fields and semantics, it helps to reduce the bias caused by manual translation, and enables the optimization results to be reused in the formal drive more smoothly. At the same time, with the help of consistent verification of the same data source, the stability and controllability of the behavior before and after migration can be guaranteed to a certain extent.

[0037] On the other hand, this invention proposes a lidar point cloud filtering parameter optimization system based on distance segmentation and real-time visualization feedback, such as... Figure 2 As shown, it includes: The data source access module is used to select real-time UDP or offline data sources to acquire point cloud frames and provide these frames to the point cloud decoding and ordering module. The data source access module supports real-time UDP and offline PCAP / BAG. Real-time mode is used to observe the immediate impact of parameter changes in the field environment on subsequent frames. Offline mode allows repeated positioning to the same frame or time period, comparing multiple sets of parameters using identical raw data to eliminate interference from personnel movement, object position changes, lighting, or network status changes. Playback, pause, looping, and time positioning in offline playback do not change the meaning of the filtering parameters.

[0038] The point cloud decoding and ordering module is used to decode point cloud frames into point cloud frames containing scan rows, scan columns, distance, reflectivity and Signal fields, and to retain frame identifiers for recalcible frames. The visualization parameter editing module provides a distance segmentation strategy configuration interface, which divides the points in the point cloud frame into at least two distance segments according to distance. Each distance segment saves the threshold and activation status of each filtering factor. When any threshold or activation status changes, the input value is validated for range, type and unit. The segmented parameter status module is used to generate an indivisible, consistent parameter snapshot when parameters in the visual parameter editing module change, and to maintain the correspondence between frame identifiers and parameter snapshots. The basic filtering calculation module is used to calculate the abnormal conditions of neighborhood factors, reflectivity factors and signal factors for each point in the point cloud frame based on the parameter snapshot and the parameter group of the corresponding distance segment, and to perform joint judgment on the enabled decision factors. The noise mask generation module is used to generate a noise mask based on the joint judgment result of the basic filtering calculation module, and to establish the correspondence between frame identifier, parameter snapshot and noise mask. The multi-view synchronous rendering module is used to synchronously generate multiple view results—original point cloud, clean point cloud, filtered points, and comparison display—under the same point cloud coordinate system, camera pose, point size, and color mapping conditions, based on a noise mask. After the noise mask is generated, the system provides four views—original point cloud, clean point cloud, filtered points, and comparison display—under the same point cloud coordinate system, camera pose, point size, and color mapping conditions. The original point cloud is used to confirm the input data; the clean point cloud is used to view the filtered structure; the filtered points are used to check for any accidental deletion of real targets; and the comparison display distinguishes between retained and filtered points in the same space using different colors. Switching views does not change the parameters again, ensuring that the observation results come from a snapshot with the same parameters. The parameter recording and migration module is used to record the final parameter set after the parameters achieve the expected effect. It then forms a defined strategy parameter set based on distance segment, factor name, activation status, comparison direction, threshold value, and unit, and migrates the strategy parameter set to the formal driver according to the same fields, units, and logical relationships.

[0039] In this implementation, the operator can configure the same set of parameters to the official ROS / ROS2 driver or other deployment programs according to the final values ​​shown in the interface; another implementation can export the parameter set as JSON, YAML, launch parameter fragments, or driver configuration files. During migration, the same semantics are maintained: low reflectivity uses less than or equal to, high reflectivity uses greater than or equal to, and logical AND is used between enabled factors. The official driver only executes the determined parameters and does not undertake repeated visual debugging processes.

[0040] Among them, the data source access module, point cloud decoding and ordering module, visualization parameter editing module, segmented parameter status module, basic filtering calculation module, noise mask generation module, multi-view synchronous rendering module, and parameter recording and migration module share point cloud frames and parameter status in the same software.

[0041] Specifically, the modules in the above system are also used to implement other steps of the above-mentioned method for optimizing LiDAR point cloud filtering parameters based on distance segmentation and real-time visualization feedback, which will not be elaborated here.

[0042] In summary, this invention divides the point cloud into at least two distance segments and independently configures the threshold and activation status of filtering factors for each distance segment, enabling different distance segments to adapt to their respective point cloud features and avoiding near-far distance filtering contradictions caused by globally uniform parameters. By generating a consistent parameter snapshot and triggering filter recalculation immediately when parameters change in the visual parameter tuning interface, the invention provides real-time visual feedback on the filtering effect without restarting the driver or recompiling, significantly shortening the tuning cycle. By establishing a definite correspondence between frame identifiers, parameter snapshots, and noise masks, and synchronously generating original point clouds, clean point clouds, filtered points, and comparative multi-view results under the same coordinate system and rendering conditions, operators can intuitively judge the filtering effect within the same interface. By forming a definite set of strategy parameters according to distance segments, factor names, activation status, comparison direction, threshold values, and units, and migrating them to the formal driver with the same fields, units, and logical relationships, the consistency of filtering semantics before and after migration is ensured, and the risk of deviation during parameter migration is eliminated.

[0043] The above description is merely an exemplary embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural transformations made using the contents of the present invention specification and drawings under the technical concept of the present invention, or direct / indirect applications in other related technical fields, are included within the patent protection scope of the present invention.

Claims

1. A method for optimizing LiDAR point cloud filtering parameters based on distance segmentation and real-time visualization feedback, characterized in that, comprising: S1: selecting a real-time UDP data source or an offline data source to obtain point cloud frames, uniformly decoding the point cloud frames into point cloud frames including scanning row, scanning column, distance, reflectance and Signal fields, and retaining frame identifiers for recalculable frames; S2: configuring a distance segmentation strategy in a visualization parameter adjustment interface, dividing points in the point cloud frame into at least two distance segments according to distance, and storing thresholds and enable states of various filtering factors for each of the distance segments respectively; S3: when any threshold or enable state in the visualization parameter adjustment interface changes, performing range, type and unit verification on input values, generating an indivisible consistent parameter snapshot, and a filtering engine re-executing basic filtering calculation on a current recalculable point cloud frame according to the parameter snapshot; S4: according to a parameter group of a corresponding distance segment in the parameter snapshot, selecting corresponding parameters according to the distance segment, calculating anomaly conditions of a neighborhood factor, a reflectance factor and a Signal factor for each point in the point cloud frame, performing joint judgment on enabled decision factors, generating a noise point mask, and establishing a correspondence relationship among the frame identifier, the parameter snapshot and the noise point mask; S5: according to the noise point mask, synchronously generating multi-view results of an original point cloud, a clean point cloud, filtered points and comparative display under the conditions of the same point cloud coordinate system, the same camera posture, the same point size and the same color mapping.

2. The method for optimizing lidar point cloud filtering parameters based on distance segmentation and real-time visualization feedback according to claim 1, characterized in that, Each of the distance segments stores a minimum neighbor number K, a neighborhood distance difference threshold Δ, a low reflectance threshold L, a high reflectance threshold H, a Signal threshold T and corresponding enable states respectively; points with a distance greater than 25 meters are not removed by the basic filtering strategy.

3. The method for optimizing lidar point cloud filtering parameters based on distance segmentation and real-time visualization feedback according to claim 1, characterized in that, The anomaly condition of calculating the neighborhood factor in S4 specifically includes: for a valid central point p located in a certain distance segment, taking a 3×3 scanning window with the scanning row and scanning column of the valid central point p as the center, the 3×3 scanning window includes the valid central point p itself, and the window has at most 9 valid support points; traversing window points q, when a distance of the window point q is valid and a neighborhood distance difference condition is turned off, or |r(q)-r(p)|≤Δ is satisfied, counting the window point q as a valid support point, and recording the number of support points as N(p); if a minimum valid support point factor is enabled and N(p)<K, determining that the neighborhood factor is abnormal.

4. The method for optimizing lidar point cloud filtering parameters based on distance segmentation and real-time visualization feedback according to claim 1, characterized in that, The anomaly condition of calculating the reflectance factor in S4 specifically includes: a low reflectance branch and a high reflectance branch of each of the distance segments can be enabled respectively; when the low reflectance branch is enabled and ρ(p)≤L, a low reflectance anomaly condition is satisfied; when the high reflectance branch is enabled and ρ(p)≥H, a high reflectance anomaly condition is satisfied; the low reflectance anomaly condition and the high reflectance anomaly condition are logically ORed within the reflectance factor.

5. The method for optimizing lidar point cloud filtering parameters based on distance segmentation and real-time visualization feedback according to claim 1, characterized in that, The performing joint judgment on enabled decision factors in S4 specifically includes: establishing an enabled decision factor set E for the current distance segment, where decision factors in the enabled decision factor set E include a minimum valid support point factor, a reflectance factor and a Signal factor; Factors that are turned off are removed from the set of enabled decision factors E and do not participate in the calculation as default true or default false; point p is written into the noise mask only when the set of enabled decision factors E is not empty and the abnormal conditions of all enabled factors in the set are met. The neighborhood factor, reflectivity factor, and signal factor are logically ANDed; when the signal factor is enabled but the current point cloud does not contain a valid signal field, the signal exception condition is determined to be invalid.

6. The method for optimizing lidar point cloud filtering parameters based on distance segmentation and real-time visualization feedback according to claim 1, characterized in that, The comparison display in S5 is to distinguish between retained points and filtered points with different colors in the same space; the original point cloud is used to confirm the input data, the clean point cloud is used to view the structure after filtering, and the filtered points are used to check whether real targets have been mistakenly deleted. Switching views does not change the parameters again, ensuring that the observations come from the same snapshot of the parameters.

7. The method for optimizing lidar point cloud filtering parameters based on distance segmentation and real-time visualization feedback according to claim 1, characterized in that, The offline data sources mentioned in S1 include PCAP and BAG; In offline mode, it is possible to repeatedly locate the same frame or the same time period and compare multiple sets of parameters using the exact same raw data; the playback, pause, loop and time positioning of offline playback do not change the meaning of the filtering parameters; In real-time mode, parameter changes take effect on the next complete real-time frame.

8. The method for optimizing lidar point cloud filtering parameters based on distance segmentation and real-time visualization feedback according to claim 1, characterized in that, The method further includes S6: after the parameters achieve the expected effect, record the final parameter set, form a determined strategy parameter set according to the distance segment, factor name, activation status, comparison direction, threshold value and unit, and migrate the strategy parameter set to the formal driver according to the same fields, units and logical relationships.

9. The method for optimizing lidar point cloud filtering parameters based on distance segmentation and real-time visualization feedback according to claim 8, characterized in that, In S6, migrating the set of policy parameters to the formal driver specifically includes: Export the set of strategy parameters as JSON, YAML, launch parameter fragments or driver configuration files, or send them to the production driver via a local interface or network interface; During migration, maintain the same semantics for low reflectivity (less than or equal to), high reflectivity (greater than or equal to), and logical AND between enabled factors; After migration, verify the consistency between the formal driver output and the tuning results using the same PCAP, BAG, or field data.

10. A lidar point cloud filtering parameter optimization system based on distance segmentation and real-time visualization feedback, characterized in that, The method for optimizing LiDAR point cloud filtering parameters based on distance segmentation and real-time visualization feedback as described in any one of claims 1-9 includes: The data source access module is used to select a real-time UDP or offline data source to obtain point cloud frames, and provide the point cloud frames to the point cloud decoding and ordering module. The point cloud decoding and ordering module is used to decode the point cloud frame into a point cloud frame containing scan row, scan column, distance, reflectivity and Signal fields, and to retain the frame identifier for recalcible frames. The visualization parameter editing module is used to provide a distance segmentation strategy configuration interface, which divides the points in the point cloud frame into at least two distance segments according to the distance. Each distance segment stores the threshold and activation status of each filtering factor. When any threshold or activation status changes, the input value is validated in terms of range, type and unit. The segmented parameter status module is used to generate an indivisible, consistent parameter snapshot when the parameters in the visualization parameter editing module change, and to maintain the correspondence between the frame identifier and the parameter snapshot; The basic filtering calculation module is used to calculate the abnormal conditions of neighborhood factors, reflectivity factors and signal factors for each point in the point cloud frame according to the parameter snapshot and the parameter group corresponding to the distance segment, and to perform joint judgment on the enabled decision factors. The noise mask generation module is used to generate a noise mask based on the joint determination result of the basic filtering calculation module, and to establish the correspondence between the frame identifier, the parameter snapshot and the noise mask. The multi-view synchronous rendering module is used to synchronously generate the original point cloud, clean point cloud, filtered points, and a multi-view result for comparison display based on the noise mask under the same point cloud coordinate system, the same camera pose, the same point size, and the same color mapping conditions. The parameter recording and migration module is used to record the final parameter set after the parameters achieve the expected effect, form a defined strategy parameter set by distance segment, factor name, activation status, comparison direction, threshold value and unit, and migrate the strategy parameter set to the formal driver according to the same fields, units and logical relationships.

Citation Information

Patent Citations

  • Noisy point identification method for laser radar and laser radar system

    CN110988846A

  • Laser radar snow spot filtering method based on unmanned vehicle

    CN113281782A