Method, device and medium for predicting reflection intensity of laser radar data

By constructing a lidar data reflection intensity prediction model that includes three-dimensional and two-dimensional prediction modules, the problem of inaccurate reflection intensity of simulated lidar data in the existing technology is solved, and accurate prediction and accuracy improvement of three-dimensional lidar data are achieved.

CN118520780BActive Publication Date: 2024-10-29GUANGLUN INTELLIGENT (BEIJING) TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410969359.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-10-29
Estimated Expiration
2044-07-19

AI Technical Summary

Technical Problem

The reflection intensity of simulated lidar data obtained by existing methods is too smooth and lacks realistic noise, making it impossible to directly predict the reflection intensity of three-dimensional lidar data. Moreover, the calculated reflection intensity is inaccurate and cannot use more information to improve prediction accuracy.

Method used

A reflection intensity prediction model including a three-dimensional prediction module, a two-dimensional prediction module and a fusion module is used to obtain the three-dimensional lidar data and two-dimensional lidar data to be predicted, combined with the reflection intensity prediction model, to obtain the three-dimensional characteristics and two-dimensional reflection intensity feature processing to obtain more accurate reflection intensity prediction results.

Benefits of technology

The authenticity and accuracy of the simulated lidar data are improved, and the reflection intensity of the three-dimensional lidar data can be directly predicted. The three-dimensional and two-dimensional prediction results are combined through the fusion module to improve the prediction accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118520780B_ABST
    Figure CN118520780B_ABST
Patent Text Reader

Abstract

The present application relates to the field of computer technology, and specifically provides a method, device and medium for predicting the reflection intensity of laser radar data, aiming to solve the technical problem of how to improve the authenticity and accuracy of simulated laser radar data. To this end, the method of the present application includes: obtaining three-dimensional laser radar data to be predicted; the three-dimensional laser radar data to be predicted includes real three-dimensional laser radar data or simulated three-dimensional laser radar data; obtaining two-dimensional laser radar data to be predicted based on at least the three-dimensional laser radar data to be predicted; obtaining a reflection intensity prediction result based on the three-dimensional laser radar data to be predicted, the two-dimensional laser radar data to be predicted and a reflection intensity prediction model; wherein the reflection intensity prediction model includes a three-dimensional prediction module, a two-dimensional prediction module and a fusion module. Through the above implementation, a more accurate prediction result can be obtained, thereby improving the authenticity and accuracy of the simulated laser radar data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device and medium for predicting the reflection intensity of laser radar data. Background Art

[0002] Currently, collecting real lidar data faces the problem of high cost, but using simulation tools to generate simulated lidar data can significantly reduce the cost.

[0003] However, the reflection intensity of the simulated LiDAR data obtained by the current existing methods has a series of problems such as being too smooth and lacking realistic noise, and there is a large difference between the real data. In addition, the existing methods mainly predict the reflection intensity of two-dimensional LiDAR data, and cannot directly predict the reflection intensity of three-dimensional LiDAR data. To obtain the reflection intensity of three-dimensional LiDAR data, the reflection intensity can only be calculated by formula based on the surface reflectivity, incident angle and other data of the object obtained. However, it is difficult to obtain accurate values ​​for data such as the surface reflectivity of the object, so the calculated reflection intensity is not accurate. In addition, the existing methods cannot use more information to further improve the prediction accuracy.

[0004] Accordingly, the art needs a new technical solution to solve the above problems. Summary of the invention

[0005] In order to overcome the above-mentioned defects, the present application is proposed to provide a method, device and medium for predicting the reflection intensity of laser radar data, which solves or at least partially solves the technical problem of how to improve the authenticity and accuracy of simulated laser radar data.

[0006] In a first aspect, a method for predicting reflection intensity of laser radar data is provided, the method comprising:

[0007] Acquire three-dimensional laser radar data to be predicted; the three-dimensional laser radar data to be predicted includes real three-dimensional laser radar data or simulated three-dimensional laser radar data;

[0008] Acquiring two-dimensional laser radar data to be predicted based at least on the three-dimensional laser radar data to be predicted;

[0009] Obtaining a reflection intensity prediction result based on the three-dimensional laser radar data to be predicted, the two-dimensional laser radar data to be predicted and a reflection intensity prediction model;

[0010] Wherein, the reflection intensity prediction model includes a three-dimensional prediction module, a two-dimensional prediction module and a fusion module.

[0011] In a technical solution of the above-mentioned method for predicting the reflection intensity of laser radar data, the reflection intensity prediction model further includes a two-dimensional acquisition module, and the acquisition of the two-dimensional laser radar data to be predicted based on at least the three-dimensional laser radar data to be predicted includes:

[0012] Converting the three-dimensional laser radar data to be predicted into the two-dimensional laser radar data to be predicted based on the two-dimensional acquisition module;

[0013] Or, the obtaining the two-dimensional laser radar data to be predicted based on the three-dimensional laser radar data to be predicted includes:

[0014] The three-dimensional laser radar data to be predicted is mapped onto a two-dimensional plane based on a projection algorithm to obtain the two-dimensional laser radar data to be predicted.

[0015] In a technical solution of the above-mentioned method for predicting the reflection intensity of laser radar data, obtaining the reflection intensity prediction result based on the three-dimensional laser radar data to be predicted, the two-dimensional laser radar data to be predicted and the reflection intensity prediction model includes:

[0016] Inputting the three-dimensional laser radar data into the three-dimensional prediction module to obtain three-dimensional features of reflection intensity;

[0017] Inputting the two-dimensional laser radar data into the two-dimensional prediction module to obtain a two-dimensional feature of reflection intensity;

[0018] Processing the three-dimensional features of the reflection intensity and the two-dimensional features of the reflection intensity based on the fusion module to obtain the reflection intensity prediction result;

[0019] Among them, the three-dimensional laser radar data to be predicted includes three-dimensional position information, three-dimensional label information and color information, and the two-dimensional laser radar data to be predicted includes two-dimensional image information, two-dimensional label information and depth information; the three-dimensional label information and the two-dimensional label information are used to characterize the object category.

[0020] In a technical solution of the above-mentioned method for predicting the reflection intensity of laser radar data, the method further includes training the reflection intensity prediction model based on at least the following steps:

[0021] Obtain real 3D lidar training sample data;

[0022] Training the reflection intensity prediction model based on the real three-dimensional laser radar training sample data;

[0023] When the reflection intensity prediction model converges to a preset error, the reflection intensity prediction model training is completed.

[0024] In a technical solution of the above-mentioned method for predicting the reflection intensity of laser radar data, the training of the reflection intensity prediction model based on the real three-dimensional laser radar training sample data includes:

[0025] Obtaining a loss function of the reflection intensity prediction model;

[0026] The reflection intensity prediction model is back-propagated based on the loss function to update the parameters of the reflection intensity prediction model.

[0027] In a technical solution of the above-mentioned method for predicting the reflection intensity of laser radar data, the training of the reflection intensity prediction model based on the real three-dimensional laser radar training sample data further includes:

[0028] fusing the three-dimensional feature of the reflection intensity output by the three-dimensional prediction module and the two-dimensional feature of the reflection intensity output by the two-dimensional prediction module to obtain an enhanced feature;

[0029] The relative entropy between the two-dimensional feature of the reflection intensity and the enhanced feature is obtained, and the reflection intensity prediction model is optimized.

[0030] In a technical solution of the above-mentioned method for predicting the reflection intensity of laser radar data, the method further includes:

[0031] Obtain real 3D LiDAR test sample data;

[0032] The reflection intensity prediction result is verified based on the real three-dimensional laser radar test sample data.

[0033] In a technical solution of the above-mentioned method for predicting the reflection intensity of laser radar data, the verification of the reflection intensity prediction result based on the real three-dimensional laser radar test sample data includes:

[0034] Acquire a preset evaluation index based on the reflection intensity prediction result and the actual reflection intensity;

[0035] Evaluating the reflection intensity prediction result based on the preset evaluation index;

[0036] Among them, the preset evaluation indicators include root mean square error and mean absolute error.

[0037] In a second aspect, an electronic device is provided, which includes a processor and a memory, wherein the memory is suitable for storing multiple program codes, and the program codes are suitable for being loaded and run by the processor to execute the reflection intensity prediction method for laser radar data described in any one of the technical solutions of the above-mentioned reflection intensity prediction method for laser radar data.

[0038] In a third aspect, a computer-readable storage medium is provided, in which a plurality of program codes are stored, and the program codes are suitable for being loaded and run by a processor to execute the method for predicting the reflection intensity of laser radar data described in any one of the technical solutions of the above-mentioned method for predicting the reflection intensity of laser radar data.

[0039] The above one or more technical solutions of the present application have at least one or more of the following beneficial effects:

[0040] In the technical solution for implementing the present application, a reflection intensity prediction model including a three-dimensional prediction module, a two-dimensional prediction module and a fusion module is constructed. Based on the three-dimensional prediction module in the reflection intensity prediction model, the reflection intensity prediction of the three-dimensional laser radar data to be predicted can be performed. Based on the two-dimensional prediction module, the reflection intensity prediction of the two-dimensional laser radar data to be predicted can be performed. The two-dimensional laser radar data to be predicted is obtained based on the three-dimensional laser radar data to be predicted. Finally, the prediction results of the three-dimensional prediction module and the two-dimensional prediction module are combined through the fusion module to obtain the reflection intensity prediction result of the three-dimensional laser radar data. Through the above implementation, the reflection intensity prediction result of the three-dimensional laser radar data can be directly obtained according to the reflection intensity prediction model, and the fusion module in the reflection intensity prediction model can combine the prediction results of the three-dimensional prediction module and the two-dimensional prediction module to obtain a more accurate prediction result, thereby improving the authenticity and accuracy of the simulated laser radar data. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The disclosure of the present application will become easier to understand with reference to the accompanying drawings. It is easy for those skilled in the art to understand that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present application. Among them:

[0042] Figure 1 This is a schematic flow chart of the main steps of a method for predicting reflection intensity of laser radar data according to an embodiment of the present application;

[0043] Figure 2 It is a flowchart of the main steps of a method for training a reflection intensity prediction model according to an embodiment of the present application;

[0044] Figure 3 It is a schematic diagram of the main steps of training a reflection intensity prediction model based on real three-dimensional laser radar training sample data according to an embodiment of the present application;

[0045] Figure 4 It is a schematic diagram of a main process of obtaining a reflection intensity prediction result based on three-dimensional laser radar data to be predicted, two-dimensional laser radar data to be predicted and a reflection intensity prediction model according to an embodiment of the present application;

[0046] Figure 5 It is a schematic diagram of a main process of obtaining a reflection intensity prediction result based on three-dimensional laser radar data to be predicted, two-dimensional laser radar data to be predicted and a reflection intensity prediction model according to another embodiment of the present application;

[0047] Figure 6 is a schematic flow chart of main steps of a method for predicting reflection intensity of laser radar data according to another embodiment of the present application;

[0048] Figure 7 It is a schematic diagram of the main structure of an electronic device according to an embodiment of the present application.

[0049] List of reference numerals:

[0050] 701: processor; 702: memory. DETAILED DESCRIPTION

[0051] Some embodiments of the present application are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present application and are not intended to limit the protection scope of the present application.

[0052] In the description of the present application, "module" and "processor" may include hardware, software or a combination of the two. A module may include hardware circuits, various suitable sensors, communication ports, memory, and may also include software parts, such as program code, or a combination of software and hardware. The processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor or any other suitable processor. The processor has data and / or signal processing functions. The processor may be implemented in software, hardware or a combination of the two. Non-temporary computer-readable storage media include any suitable medium that can store program code, such as a disk, a hard disk, an optical disk, a flash memory, a read-only memory, a random access memory, etc. The term "A and / or B" means all possible combinations of A and B, such as only A, only B or A and B. The term "at least one A or B" or "at least one of A and B" has a similar meaning to "A and / or B" and may include only A, only B or A and B. The singular terms "one" and "the" may also include plural forms.

[0053] Here we first explain some terms involved in this application.

[0054] Reflection intensity: refers to the intensity of the light signal reflected back after the laser beam emitted by the LiDAR encounters an object. It is related to the physical properties of the object (such as color, material, surface state, etc.). Different objects will reflect light with different intensities. Reflection intensity can be used to determine the material and surface characteristics of an object, and can also be used to estimate the distance between the object and the LiDAR. Reflection intensity is an important parameter in LiDAR data and helps improve the accuracy of environmental perception.

[0055] As described in the background art, collecting real LiDAR data faces the problem of high costs, while using simulation tools to generate simulated LiDAR data can significantly reduce costs.

[0056] However, the reflection intensity of the simulated LiDAR data obtained by the current existing methods has a series of problems such as being too smooth and lacking realistic noise, and there is a large difference between the real data. In addition, the existing methods mainly predict the reflection intensity of two-dimensional LiDAR data, and cannot directly predict the reflection intensity of three-dimensional LiDAR data. To obtain the reflection intensity of three-dimensional LiDAR data, the reflection intensity can only be calculated by formula based on the surface reflectivity, incident angle and other data of the object obtained. However, it is difficult to obtain accurate values ​​for data such as the surface reflectivity of the object, so the calculated reflection intensity is not accurate. In addition, the existing methods cannot use more information to further improve the prediction accuracy.

[0057] In order to solve the above technical problems, the present application provides a method, device and medium for predicting the reflection intensity of lidar data.

[0058] See attached Figure 1 , Figure 1 FIG. 1 is a flow chart showing the main steps of a method for predicting the reflection intensity of laser radar data according to an embodiment of the present application. Figure 1 As shown, the reflection intensity prediction method of the laser radar data in the embodiment of the present application mainly includes the following steps S101 to S103.

[0059] Step S101: Acquire three-dimensional laser radar data to be predicted;

[0060] The three-dimensional laser radar data to be predicted includes real three-dimensional laser radar data or simulated three-dimensional laser radar data.

[0061] Step S102: acquiring two-dimensional laser radar data to be predicted based on at least the three-dimensional laser radar data to be predicted;

[0062] Step S103: obtaining a reflection intensity prediction result based on the three-dimensional laser radar data to be predicted, the two-dimensional laser radar data to be predicted and the reflection intensity prediction model;

[0063] Among them, the reflection intensity prediction model includes a three-dimensional prediction module, a two-dimensional prediction module and a fusion module.

[0064] Based on the method described in steps S101 to S103 above, the reflection intensity prediction result of the three-dimensional lidar data can be directly obtained according to the reflection intensity prediction model, and the fusion module in the reflection intensity prediction model can combine the prediction results of the three-dimensional prediction module and the two-dimensional prediction module to obtain a more accurate prediction result, thereby improving the authenticity and accuracy of the simulated lidar data.

[0065] In some embodiments of the present application, a reflection intensity prediction model including a three-dimensional prediction module, a two-dimensional prediction module and a fusion module can be constructed based on a deep learning model for processing three-dimensional point cloud data, such as PointNet, PointNet++, 2DPASS and other models.

[0066] Among them, the three-dimensional prediction module is used to predict the reflection intensity of the three-dimensional lidar data to be predicted, and obtain the three-dimensional characteristics of the reflection intensity; the two-dimensional prediction module is used to predict the reflection intensity of the two-dimensional lidar data to be predicted, and obtain the two-dimensional characteristics of the reflection intensity; the fusion module is used to fuse the three-dimensional characteristics of the reflection intensity and the two-dimensional characteristics of the reflection intensity to obtain the final reflection intensity prediction result.

[0067] For a detailed description of the reflection intensity prediction model, please refer to the implementation of step S103 below.

[0068] Steps S101 to S103 are further described below.

[0069] In some implementations of step S101 , the 3D laser radar data to be predicted may include real 3D laser radar data or simulated 3D laser radar data.

[0070] Among them, real three-dimensional lidar data can be obtained through lidar sensors. The lidar sensors can emit laser pulses and receive reflected lasers. By measuring the round-trip time of the laser, the distance of the object is calculated to generate three-dimensional lidar data.

[0071] Simulated 3D LiDAR data can be generated by creating a virtual environment through simulation tools such as Gazebo and VTK to simulate real-world scenes, and adding LiDAR sensor models in the virtual environment for scanning to generate simulated 3D LiDAR data.

[0072] Furthermore, the three-dimensional laser radar data to be predicted may include three-dimensional position information, three-dimensional label information and color information.

[0073] Among them, the three-dimensional position information is the position and direction of the laser radar in space. In three-dimensional space, the position of the laser radar can be expressed by the coordinates in the coordinate system, including the coordinates of the laser radar in the horizontal and vertical directions (x, y, z), and its posture, that is, the rotation angle, including the roll angle roll, pitch angle pitch and yaw angle yaw.

[0074] 3D label information is used to characterize object categories, that is, identifiers assigned to detected objects or features in 3D lidar data to facilitate identification and classification of different objects. For example, in an autonomous driving scenario, 3D label information may include pedestrians, vehicles, buildings, etc.

[0075] Color information is the RGB information that maps 3D LiDAR data onto a 2D image. 3D LiDAR data itself does not contain color information because LiDAR works by emitting laser pulses and measuring the return time to determine the distance and shape of an object, rather than capturing the color of the object. However, in order to enhance the expressiveness and practicality of point cloud data, LiDAR data is usually combined with image data taken by a camera to give color information to each point in the point cloud. In this process, the LiDAR point cloud data is mapped onto a 2D image plane and the corresponding RGB color value is assigned to each point.

[0076] The above is a further description of step S101 , and the following is a further description of step S102 .

[0077] In some implementations of the above step S102, the three-dimensional lidar data to be predicted can be mapped onto a two-dimensional plane based on a projection algorithm to obtain the two-dimensional lidar data to be predicted.

[0078] Specifically, projection algorithms such as perspective projection and polar coordinate projection can be used. Among them, perspective projection is the projection method that is closest to the human eye's observation of the world, and it can produce the effect of near being big and far being small. In perspective projection, points in three-dimensional space can be projected through a virtual "camera" center; polar coordinate projection is to convert points in three-dimensional space into a polar coordinate system and then represent them on a two-dimensional plane.

[0079] It should be pointed out that the above examples of projection algorithms are only for illustrative purposes. In practical applications, those skilled in the art may select the above projection algorithms or other existing projection algorithms according to specific scenarios, which is not limited here.

[0080] In some other implementations of the above step S102, the two-dimensional laser radar data to be predicted can be obtained through a reflection intensity prediction model.

[0081] Specifically, the reflection intensity prediction model constructed in the present application may also include a two-dimensional acquisition module, which may convert the three-dimensional lidar data to be predicted into the two-dimensional lidar data to be predicted, and further input the two-dimensional lidar data to be predicted into the two-dimensional prediction module.

[0082] The two-dimensional acquisition module can be a pinhole camera model, which is a commonly used projection model. It assumes that light reaches the imaging plane through a small hole (camera center). In this model, points in three-dimensional space are transformed to the two-dimensional image plane through perspective projection. This process can be achieved through the camera's intrinsic parameter matrix (including focal length, principal point coordinates, etc.) and extrinsic parameter matrix (including rotation matrix and translation vector).

[0083] Furthermore, the two-dimensional lidar data to be predicted may include two-dimensional image information, two-dimensional label information and depth information.

[0084] Among them, the two-dimensional image information is a point distribution map on a two-dimensional plane obtained by mapping the three-dimensional lidar data, which can reflect the outline and shape of the object.

[0085] Depth information is the distance information from each point to the LiDAR transmitter measured by the LiDAR. When mapping 3D LiDAR data to a 2D image, the depth information can be converted into pixel values ​​in the 2D image, indicating the distance of the object corresponding to each pixel.

[0086] The 2D label information is used to characterize the object category, so as to facilitate the identification and classification of different objects. For example, in an autonomous driving scenario, the 2D label information may include pedestrians, vehicles, buildings, etc.

[0087] The above is a further description of step S102 , and the following is a further description of step S103 .

[0088] In some implementations of the above step S103, a reflection intensity prediction result may be obtained based on the three-dimensional laser radar data to be predicted, the two-dimensional laser radar data to be predicted, and the reflection intensity prediction model.

[0089] The reflection intensity prediction model can be trained based on real 3D laser radar. Figure 2 , Figure 2 FIG. 1 is a flow chart of the main steps of a method for training a reflection intensity prediction model according to an embodiment of the present application. Figure 2 As shown, it mainly includes the following steps S201 to S203.

[0090] Step S201: Acquire real 3D laser radar training sample data;

[0091] Specifically, a real 3D lidar dataset collected from an actual environment can be obtained, and the entire dataset can be randomly divided into two parts, one part as training samples (about 70% to 80%), and the other part as test samples (about 20% to 30%).

[0092] Among them, the real three-dimensional lidar data should contain three-dimensional position information, three-dimensional label information, color information, and reflection intensity of each point.

[0093] Real 3D LiDAR data collected from real environments can ensure the authenticity and effectiveness of model training. In addition, multimodal information such as 3D position information, 3D label information, and color information can provide richer training data, improve the robustness and generalization of the model, and thus improve the prediction accuracy of the model.

[0094] Step S202: training a reflection intensity prediction model based on real 3D laser radar training sample data;

[0095] It should be pointed out that if the reflection intensity prediction model only includes a three-dimensional prediction module, a two-dimensional prediction module and a fusion module, the three-dimensional prediction module, the two-dimensional prediction module and the fusion module are trained based on the real three-dimensional lidar training sample data; if the reflection intensity prediction model also includes a two-dimensional acquisition module, the two-dimensional acquisition module, the three-dimensional prediction module, the two-dimensional prediction module and the fusion module are trained based on the real three-dimensional lidar training sample data.

[0096] Specifically, in some implementations, each module of the reflection intensity prediction model can be trained through steps such as initializing model parameters, forward propagation, calculating losses, back propagation, and updating parameters.

[0097] The model parameters can be initialized using a conventional random initialization method. Then, real 3D laser radar training sample data can be used to perform forward propagation through each module of the reflection intensity prediction model to obtain the output of the reflection intensity prediction model.

[0098] Furthermore, the difference between the output reflection intensity prediction value of the reflection intensity prediction model and the true value of the reflection intensity can be calculated to obtain the loss function of the reflection intensity prediction model, and the reflection intensity model is back-propagated based on the loss function to update the parameters of the reflection intensity prediction model.

[0099] In other embodiments, when training the reflection intensity prediction model, the three-dimensional features of the reflection intensity output by the three-dimensional prediction module and the two-dimensional features of the reflection intensity output by the two-dimensional prediction module can be fused to obtain enhanced features, and the reflection intensity prediction model can be optimized through the enhanced features.

[0100] See attached Figure 3 , Figure 3 FIG. 1 is a flow chart of the main steps of training a reflection intensity prediction model based on real 3D laser radar training sample data according to an embodiment of the present application. Figure 3 As shown, it mainly includes the following steps S301 to S302.

[0101] Step S301: fusing the three-dimensional feature of the reflection intensity output by the three-dimensional prediction module and the two-dimensional feature of the reflection intensity output by the two-dimensional prediction module to obtain an enhanced feature;

[0102] Specifically, the three-dimensional features of the reflection intensity can be first transformed into their corresponding two-dimensional features, and the corresponding two-dimensional features can be passed through a two-dimensional learner, such as a multilayer feedforward neural network (MLP) to obtain two-dimensional learning features, and then the two-dimensional learning features are fused with the two-dimensional features of the reflection intensity to obtain enhanced features through the MLP.

[0103] Step S302: Obtain the relative entropy of the two-dimensional features and enhanced features of the reflection intensity, and optimize the reflection intensity prediction model.

[0104] Specifically, the relative entropy of the two-dimensional features of the reflection intensity and the enhanced features can be obtained based on knowledge distillation. Among them, knowledge distillation is usually manifested as a complex large model (teacher) teaching a simple small model (student) how to perform a task.

[0105] In this embodiment, the enhanced features can be used to guide the two-dimensional features of the reflection intensity. By minimizing the difference between the two-dimensional features of the reflection intensity and the enhanced features, the two-dimensional features of the reflection intensity are made closer to the enhanced features, so as to prevent the reflection intensity prediction model from being overly inclined to features of a certain dimension and ensure the integrity of the model's learning of three-dimensional features.

[0106] The above is a further description of step S202.

[0107] Step S203: When the reflection intensity prediction model converges to a preset error, the reflection intensity prediction model training is completed.

[0108] The above training process will continue until the loss function of the model reaches a preset threshold or meets other stopping conditions (such as reaching the maximum number of iterations), then the training can be stopped to obtain a trained reflection intensity prediction model.

[0109] Furthermore, a reflection intensity prediction result may be obtained based on the three-dimensional laser radar data to be predicted, the two-dimensional laser radar data to be predicted and the reflection intensity prediction model.

[0110] In some embodiments, if the reflection intensity prediction model includes a three-dimensional prediction module, a two-dimensional prediction module and a fusion module, the three-dimensional lidar data to be predicted can be first mapped to the two-dimensional lidar data to be predicted, and then the three-dimensional lidar data to be predicted and the two-dimensional lidar data to be predicted can be input into the trained reflection intensity prediction model to obtain the reflection intensity prediction result.

[0111] For details, see the attached Figure 4 , Figure 4 It is a main flow chart of obtaining a reflection intensity prediction result based on three-dimensional laser radar data to be predicted, two-dimensional laser radar data to be predicted and a reflection intensity prediction model according to an embodiment of the present application.

[0112] like Figure 4 As shown, the 3D laser radar data to be predicted can be input into the 3D prediction module to obtain the 3D characteristics of the reflection intensity; and the 2D laser radar data to be predicted can be input into the 2D prediction module to obtain the 2D characteristics of the reflection intensity;

[0113] Finally, the three-dimensional features of the reflection intensity and the two-dimensional features of the reflection intensity are processed based on the fusion module to obtain the reflection intensity prediction result.

[0114] Among them, the fusion module can use spatial pyramid pooling (SPP) or feature pyramid network (FPN) to perform multi-scale fusion of the three-dimensional features and two-dimensional features of the reflection intensity to obtain the final reflection intensity prediction result.

[0115] In some embodiments, if the reflection intensity prediction model includes a two-dimensional acquisition module, a three-dimensional prediction module, a two-dimensional prediction module and a fusion module, the three-dimensional lidar data to be predicted can be first input into the trained reflection intensity prediction model, and then the three-dimensional lidar data to be predicted can be converted into two-dimensional lidar data to be predicted through the two-dimensional acquisition module, and the reflection intensity prediction result can be obtained based on the three-dimensional lidar data to be predicted and the two-dimensional lidar data to be predicted.

[0116] For details, see the attached Figure 5 , Figure 5 It is a main flow chart of obtaining a reflection intensity prediction result based on three-dimensional laser radar data to be predicted, two-dimensional laser radar data to be predicted and a reflection intensity prediction model according to another embodiment of the present application.

[0117] like Figure 5 As shown, the three-dimensional laser radar data to be predicted can be input into the two-dimensional acquisition module to obtain the two-dimensional laser radar data to be predicted;

[0118] Further, the two-dimensional laser radar data to be predicted is input into the two-dimensional prediction module to obtain the two-dimensional characteristics of the reflection intensity; and the three-dimensional laser radar data to be predicted is input into the three-dimensional prediction module to obtain the three-dimensional characteristics of the reflection intensity;

[0119] Finally, the three-dimensional features of the reflection intensity and the two-dimensional features of the reflection intensity are processed based on the fusion module to obtain the final reflection intensity prediction result.

[0120] The reflection intensity prediction result includes the reflection intensity of each point in the three-dimensional lidar data.

[0121] The above is a further description of step S103.

[0122] Through the above implementation, the reflection intensity prediction result of the three-dimensional lidar data can be directly obtained according to the reflection intensity prediction model, and the fusion module in the reflection intensity prediction model can combine the prediction results of the three-dimensional prediction module and the two-dimensional prediction module to obtain a more accurate prediction result, thereby improving the authenticity and accuracy of the simulated lidar data and providing higher quality simulation data for subsequent downstream task training.

[0123] Furthermore, in order to verify the prediction effect of the reflection intensity prediction model, the performance of the reflection intensity prediction model can be evaluated through test samples of real three-dimensional lidar data.

[0124] For details, see the attached Figure 6 , Figure 6 FIG. 1 is a flow chart of the main steps of a method for predicting the reflection intensity of laser radar data according to another embodiment of the present application. Figure 6 As shown, the steps include the following steps S601 to S602:

[0125] Step S601: Acquire real 3D laser radar test sample data;

[0126] Among them, the real three-dimensional laser radar test sample data can be obtained by dividing the real three-dimensional laser radar data set, which will not be repeated here.

[0127] Step S602: verifying the reflection intensity prediction result based on real 3D laser radar test sample data.

[0128] In some implementations, a preset evaluation index may be acquired based on the reflection intensity prediction result and the actual reflection intensity, and the reflection intensity prediction result may be evaluated based on the preset evaluation index.

[0129] Among them, the preset evaluation indicators include root mean square error (RMSE) and mean absolute error (MAE).

[0130] Among them, RMSE is the square root of the average of the squares of the differences between the actual value and the predicted value, reflecting the volatility of the predicted value and the discreteness of the data. The calculation formula of RESM is:

[0131]

[0132] in, represents the true reflection intensity, Represents the reflection intensity prediction result, and n represents the number of samples.

[0133] MAE is the average of the absolute values ​​of the difference between the actual value and the predicted value, providing the average level of prediction error. Compared with RMSE, MAE pays more attention to the stability of the prediction results. The calculation formula of MAE is:

[0134]

[0135] in, represents the true reflection intensity, Represents the reflection intensity prediction result, and n represents the number of samples.

[0136] Furthermore, the error thresholds of RMSE and MAE can be set according to specific application scenarios and accuracy requirements. If the error is less than this threshold, it is acceptable, and the performance of the reflection intensity prediction model can be considered to be relatively stable.

[0137] The above is an explanation of the reflection intensity prediction method of the lidar data provided in this application.

[0138] It should be pointed out that, although the various steps in the above embodiments are described in a specific order, those skilled in the art will understand that in order to achieve the effect of the present application, different steps do not have to be executed in such an order. They can be executed simultaneously (in parallel) or in other orders. For example, the two-dimensional laser radar data to be predicted can be obtained based on the three-dimensional laser radar data to be predicted, and then the three-dimensional laser radar data to be predicted and the two-dimensional laser radar data to be predicted can be input into the reflection intensity prediction model, or the three-dimensional laser radar data to be predicted can be input into the reflection intensity prediction model first, and then the two-dimensional laser radar data to be predicted can be obtained according to the two-dimensional acquisition module. These changes are within the scope of protection of the present application.

[0139] It is understood by those skilled in the art that all or part of the processes in the method for implementing the above-mentioned embodiment of the present application can also be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device, medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electrical carrier signal, telecommunication signal and software distribution medium, etc. that can carry the computer program code.

[0140] Furthermore, the present application also provides an electronic device. Figure 7 , Figure 7 Schematic diagram of the main structure of an electronic device according to an embodiment of the present application. Figure 7 As shown, the electronic device in the embodiment of the present application mainly includes a processor 701 and a memory 702. The memory 702 can be configured to store a program for executing the reflection intensity prediction method of the laser radar data of the above method embodiment, and the processor 701 can be configured to execute the program in the memory 702, which includes but is not limited to the program for executing the reflection intensity prediction method of the laser radar data of the above method embodiment. For ease of explanation, only the parts related to the embodiment of the present application are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present application.

[0141] In some possible implementations of the present application, the electronic device may include multiple processors 701 and multiple memories 702. The program for executing the reflection intensity prediction method of the laser radar data of the above method embodiment may be divided into multiple subprograms, and each subprogram may be loaded and run by the processor 701 to execute different steps of the reflection intensity prediction method of the laser radar data of the above method embodiment. Specifically, each subprogram may be stored in different memories 702, respectively, and each processor 701 may be configured to execute the program in one or more memories 702 to jointly implement the reflection intensity prediction method of the laser radar data of the above method embodiment, that is, each processor 701 executes different steps of the reflection intensity prediction method of the laser radar data of the above method embodiment, to jointly implement the reflection intensity prediction method of the laser radar data of the above method embodiment.

[0142] The above-mentioned multiple processors 701 may be processors deployed on the same device. For example, the above-mentioned electronic device may be a high-performance device composed of multiple processors, and the above-mentioned multiple processors 701 may be processors configured on the high-performance device. In addition, the above-mentioned multiple processors 701 may also be processors deployed on different devices. For example, the above-mentioned electronic device may be a server cluster, and the above-mentioned multiple processors 701 may be processors on different servers in the server cluster.

[0143] Furthermore, the present application also provides a computer-readable storage medium. In a computer-readable storage medium embodiment according to the present application, the computer-readable storage medium can be configured to store a program for executing the reflection intensity prediction method of the lidar data of the above-mentioned method embodiment, and the program can be loaded and run by the processor to implement the reflection intensity prediction method of the above-mentioned lidar data. For ease of explanation, only the parts related to the embodiment of the present application are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present application. The computer-readable storage medium can be a memory device formed by various electronic devices. Optionally, the computer-readable storage medium in the embodiment of the present application is a non-temporary computer-readable storage medium.

[0144] It should be noted that the relevant user personal information that may be involved in the various embodiments of the present application is strictly in accordance with the requirements of laws and regulations, following the principles of legality, legitimacy and necessity, based on the reasonable purposes of business scenarios, to process the personal information that users actively provide during the use of products / services or generated due to the use of products / services, as well as the personal information obtained with the user's authorization.

[0145] The user personal information processed by this application will vary depending on the specific product / service scenario, and shall be based on the specific scenario in which the user uses the product / service, and may involve other relevant information such as the user's account information, device information, etc. This application will treat the user's personal information and its processing with a high degree of diligence.

[0146] This application attaches great importance to the security of user personal information and has taken reasonable and feasible security protection measures that meet industry standards to protect user information and prevent personal information from being accessed, disclosed, used, modified, damaged or lost without authorization.

[0147] So far, the technical solution of the present application has been described in conjunction with an embodiment shown in the accompanying drawings, but it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments. Without departing from the principles of the present application, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present application.

Claims

1. A method for predicting reflection intensity of laser radar data, characterized in that: The method comprises: Acquire three-dimensional laser radar data to be predicted; the three-dimensional laser radar data to be predicted includes simulated three-dimensional laser radar data; Acquire the two-dimensional laser radar data to be predicted based at least on the three-dimensional laser radar data to be predicted; wherein the three-dimensional laser radar data to be predicted includes three-dimensional position information, three-dimensional label information and color information, and the three-dimensional position information includes the position and direction of the simulated laser radar in space; the two-dimensional laser radar data to be predicted includes two-dimensional image information, two-dimensional label information and depth information, and the depth information includes the object distance corresponding to each pixel point in the two-dimensional image; the three-dimensional label information and the two-dimensional label information are used to characterize the object category; Obtaining a reflection intensity prediction result based on the three-dimensional laser radar data to be predicted, the two-dimensional laser radar data to be predicted and a reflection intensity prediction model; The reflection intensity prediction model includes a three-dimensional prediction module, a two-dimensional prediction module and a fusion module; the reflection intensity prediction result obtained based on the three-dimensional laser radar data to be predicted, the two-dimensional laser radar data to be predicted and the reflection intensity prediction model includes: Inputting the three-dimensional laser radar data into the three-dimensional prediction module to obtain three-dimensional features of reflection intensity; Inputting the two-dimensional laser radar data into the two-dimensional prediction module to obtain a two-dimensional feature of reflection intensity; The three-dimensional features of the reflection intensity and the two-dimensional features of the reflection intensity are processed based on the fusion module to obtain the reflection intensity prediction result.

2. The method for predicting reflection intensity of laser radar data according to claim 1, characterized in that: The reflection intensity prediction model further includes a two-dimensional acquisition module; the step of acquiring the two-dimensional laser radar data to be predicted based at least on the three-dimensional laser radar data to be predicted includes: Converting the three-dimensional laser radar data to be predicted into the two-dimensional laser radar data to be predicted based on the two-dimensional acquisition module; Or, the obtaining the two-dimensional laser radar data to be predicted based on the three-dimensional laser radar data to be predicted includes: The three-dimensional laser radar data to be predicted is mapped onto a two-dimensional plane based on a projection algorithm to obtain the two-dimensional laser radar data to be predicted.

3. The method for predicting reflection intensity of laser radar data according to claim 1, characterized in that: The method further comprises training the reflection intensity prediction model based at least on the following steps: Obtain real 3D lidar training sample data; Training the reflection intensity prediction model based on the real three-dimensional laser radar training sample data; When the reflection intensity prediction model converges to a preset error, the reflection intensity prediction model training is completed.

4. The method for predicting reflection intensity of laser radar data according to claim 3, characterized in that: The training of the reflection intensity prediction model based on the real three-dimensional laser radar training sample data includes: Obtaining a loss function of the reflection intensity prediction model; The reflection intensity prediction model is back-propagated based on the loss function to update the parameters of the reflection intensity prediction model.

5. The method for predicting reflection intensity of laser radar data according to claim 3, characterized in that: The training of the reflection intensity prediction model based on the real three-dimensional laser radar training sample data further includes: fusing the three-dimensional feature of the reflection intensity output by the three-dimensional prediction module and the two-dimensional feature of the reflection intensity output by the two-dimensional prediction module to obtain an enhanced feature; The relative entropy between the two-dimensional feature of the reflection intensity and the enhanced feature is obtained, and the reflection intensity prediction model is optimized.

6. The method for predicting reflection intensity of laser radar data according to claim 1, characterized in that: The method further comprises: Obtain real 3D LiDAR test sample data; The reflection intensity prediction result is verified based on the real three-dimensional laser radar test sample data.

7. The method for predicting reflection intensity of laser radar data according to claim 6, characterized in that: The verifying the reflection intensity prediction result based on the real three-dimensional laser radar test sample data includes: Acquire a preset evaluation index based on the reflection intensity prediction result and the actual reflection intensity; Evaluating the reflection intensity prediction result based on the preset evaluation index; Among them, the preset evaluation indicators include root mean square error and mean absolute error.

8. An electronic device, comprising a processor and a memory, wherein the memory is suitable for storing a plurality of program codes, characterized in that: The program code is suitable for being loaded and run by the processor to execute the reflection intensity prediction method of the laser radar data according to any one of claims 1 to 7.

9. A computer-readable storage medium storing a plurality of program codes, characterized in that: The program code is suitable for being loaded and run by a processor to execute the reflection intensity prediction method of the laser radar data according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Real-time three-dimensional target detection method based on point cloud cross-view feature conversion

    CN114511846A

  • KR20240054594A