Point cloud mixing method and device based on distance image, medium and equipment

By generating range images and performing back-projection, the problem of low mixing efficiency and insufficient effectiveness of particle point clouds and scene point clouds is solved, accurate laser beam hit point identification is achieved in harsh environments, and the effectiveness of autonomous driving simulations is improved. sex.

CN118570431APending Publication Date: 2024-08-30XIAMEN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410633249.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-21
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

In autonomous driving scenarios, the mixing efficiency of particle point clouds and scene point clouds is low, and the effectiveness of the mixing results is affected. Especially in harsh environments, it is difficult to accurately identify points hit by laser beams, resulting in inaccurate simulations.

Method used

By obtaining the radar real point cloud and the initial particle point cloud, convert them to the same coordinate system, generate a range image, and determine the effective point hit by the laser beam based on the projected pixel coordinate error, and perform back-projection to generate a hybrid point cloud , to ensure the accuracy of the mixing results.

Benefits of technology

It improves the mixing efficiency of particle point clouds and scene point clouds, avoids the occurrence of points at locations where no laser line passes, and ensures the effectiveness and accuracy of the mixing results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570431A
    Figure CN118570431A
Patent Text Reader

Abstract

The embodiment of the invention provides a point cloud mixing method and device based on a distance image, a medium and equipment. The method comprises the following steps: acquiring a radar real point cloud and an initial particle point cloud about a target scene; converting the initial particle point cloud to be in the same coordinate system with the radar real point cloud to obtain a target particle point cloud; a corresponding distance image is generated based on the coordinate information of each point in the radar real point cloud, and the pixel value of each pixel in the distance image is the distance value of the point projected to the pixel; projecting the target particle point cloud into the distance image, and determining an effective point hit by the corresponding laser beam in the target particle point cloud; and performing back projection according to the pixel coordinates and the distance values of the effective points contained in the distance image and the pixel coordinates and the distance values of the points in the radar real point cloud to obtain a target mixed point cloud. According to the technical scheme of the embodiment of the invention, the mixing efficiency of the particle point cloud and the scene point cloud can be improved, and the effectiveness of the mixing result is ensured.
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 point cloud mixing method, device, medium and equipment based on range images. Background Art

[0002] In the scenario of autonomous driving, the working condition of the system in special scenarios such as rain, snow, dust and fog is particularly important for the evaluation of driving safety. However, these data are difficult to collect in large quantities within a certain time due to weather or geographical restrictions. Therefore, simulating harsh scenes based on digital modeling methods has become an effective solution. In the current technical scheme, the state of the particle system under different conditions is simulated by modeling, and then the particle point cloud generated by the model is mixed into the scene point cloud. Since the data of the above-mentioned particle system is relatively easy to obtain, the model for generating the particle point cloud can be realized with the help of deep learning technology, which makes this technical route feasible. However, simply mixing the particle point cloud directly into the scene point cloud is prone to multiple points appearing on a laser line and / or points may appear at positions where no laser line passes, affecting the effectiveness of the simulation. Therefore, how to improve the mixing efficiency of particle point clouds and scene point clouds and ensure the effectiveness of the mixing results has become a technical problem that needs to be solved urgently. Summary of the invention

[0003] The embodiments of the present application provide a point cloud mixing method, apparatus, medium and equipment based on distance images, which can improve the mixing efficiency of particle point clouds and scene point clouds at least to a certain extent and ensure the effectiveness of the mixing results.

[0004] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.

[0005] According to one aspect of an embodiment of the present application, a point cloud mixing method based on a range image is provided, comprising:

[0006] Acquire a radar real point cloud and an initial particle point cloud about a target scene, where the initial particle point cloud is generated for at least one harsh environment;

[0007] The initial particle point cloud is converted to the same coordinate system as the radar real point cloud to obtain a target particle point cloud;

[0008] Based on the coordinate information of each point in the real radar point cloud, a corresponding distance image is generated, wherein the pixel value of each pixel in the distance image is the distance value of the point projected to the pixel;

[0009] Projecting the target particle point cloud into the range image, and determining the valid points in the target particle point cloud hit by the corresponding laser beam according to the errors between the pixel coordinates of each point in the projected target particle point cloud before rounding and the pixel coordinates after rounding;

[0010] Back-projection is performed based on the pixel coordinates and distance values ​​of the effective points contained in the range image and the pixel coordinates and distance values ​​of each point in the radar real point cloud to obtain a target mixed point cloud.

[0011] According to one aspect of an embodiment of the present application, a point cloud mixing device based on a range image is provided, comprising:

[0012] An acquisition module, used to acquire a radar real point cloud and an initial particle point cloud about a target scene, wherein the initial particle point cloud is generated for at least one harsh environment;

[0013] A conversion module, used for converting the initial particle point cloud to the same coordinate system as the radar real point cloud to obtain a target particle point cloud;

[0014] A generating module, configured to generate a corresponding distance image based on the coordinate information of each point in the real point cloud of the radar, wherein the pixel value of each pixel in the distance image is the distance value of the point projected to the pixel;

[0015] A projection module, used for projecting the target particle point cloud into the distance image, and determining the effective point hit by the corresponding laser beam in the target particle point cloud according to the error between the pixel coordinates before and after rounding of each point in the projected target particle point cloud;

[0016] The processing module is used to perform back-projection according to the pixel coordinates and distance values ​​of the effective points contained in the range image and the pixel coordinates and distance values ​​of each point in the radar real point cloud to obtain a target mixed point cloud.

[0017] According to one aspect of an embodiment of the present application, a computer-readable medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the point cloud mixing method based on the range image as described in the above embodiment is implemented.

[0018] According to one aspect of an embodiment of the present application, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the distance image-based point cloud mixing method as described in the above embodiments.

[0019] According to one aspect of the embodiments of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the point cloud hybrid method based on the range image provided in the above embodiment.

[0020] In the technical solutions provided in some embodiments of the present application, by acquiring the radar real point cloud and the initial particle point cloud about the target scene, the initial particle point cloud is converted to the same coordinate system as the radar real point cloud to obtain the target particle point cloud, and based on the coordinate information of each point in the radar real point cloud, the corresponding distance image is generated, and then the target particle point cloud is projected into the distance image, and according to the error between the pixel coordinates before and after the pixel coordinates of each point in the projected target particle point cloud, the effective point hit by the corresponding laser beam in the target particle point cloud is determined, and then the pixel coordinates and distance values ​​of the effective points contained in the distance image and the pixel coordinates and distance values ​​of each point in the radar real point cloud are back-projected to obtain the target mixed point cloud. Thus, by projecting the target particle point cloud into the distance image generated by the radar real point cloud, the effective points hit by the laser beam can be accurately identified, and the situation where points appear at positions where no laser line passes can be avoided. Then, the effective points contained in the distance image and the points of the radar real point cloud are back-projected, which can improve the mixing efficiency of the particle point cloud and the scene point cloud while ensuring the effectiveness of the mixing result.

[0021] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0023] Figure 1 A schematic diagram of a flow chart of a point cloud hybrid method based on a range image according to an embodiment of the present application is shown;

[0024] Figure 2 A block diagram of a point cloud mixing device based on a range image according to an embodiment of the present application is shown;

[0025] Figure 3A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION

[0026] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.

[0027] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.

[0028] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0029] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0030] Figure 1 A flow chart of a point cloud hybrid method based on a distance image according to an embodiment of the present application is shown. The method can be applied to a terminal device or a server, wherein the terminal device can include but is not limited to one or more of a smart phone, a tablet computer, a portable computer, and a desktop computer; the server can be a physical server or a cloud server.

[0031] Please refer to Figure 1 The point cloud hybrid method based on the distance image includes at least steps S110 to S150, which are described in detail as follows (the method is described below by taking the application of the method to a terminal device as an example, hereinafter referred to as "terminal"):

[0032] In step S110 , a radar real point cloud and an initial particle point cloud about a target scene are obtained, where the initial particle point cloud is generated for at least one harsh environment.

[0033] In this embodiment, the terminal can obtain the real point cloud of the laser radar obtained by scanning the target scene. In addition, the terminal can also obtain the basic parameters of the laser radar used, such as the number of lines, angular resolution, etc. Then, the terminal can generate the corresponding initial particle point cloud based on the specified harsh environment according to the actual simulation needs, wherein the harsh environment may include but is not limited to rainy days, foggy days, snowy days or dusty days, etc. It is worth noting that the terminal can generate the corresponding initial particle point cloud according to one harsh environment, or it can generate the corresponding initial particle point cloud according to multiple harsh environments, such as generating the initial particle point cloud for the harsh environment where foggy days and rainy days exist at the same time.

[0034] In step S120, the initial particle point cloud is converted to the same coordinate system as the radar real point cloud to obtain a target particle point cloud.

[0035] In this embodiment, when generating the initial particle point cloud, in order to eliminate the influence of the measurement, the point cloud is often transformed into the central coordinate system, so the coordinates of the points of the generated initial particle point cloud are in the standard coordinate system. The terminal can perform a certain rotation on the initial particle point cloud so that the center of the initial particle point cloud is aligned with a certain position in the target scene through a rigid body transformation before the point cloud is mixed.

[0036] In one example, let P be a real radar point cloud containing n points. sc =[p1,…,p i ,…,p n ], Represents the three-dimensional coordinate system of the i-th point, and the initial particle point cloud containing m points is denoted as P pa , whose center is A=[a x ,a y ,a z ] T . Suppose we want to rotate the initial particle point cloud around the center through the x, y, and z axes by θ x ,θ y ,θ z The angle of the target scene is obtained by trigonometric transformation and then the point B = [b x ,b y ,b z ] T Aligned, the corresponding transformation can be written as:

[0037]

[0038] Where t is the translation vector, t=BA=[b x -a x ,b y -a y ,b z -a z ] T ;

[0039] R z ,R y ,R x are three rotation matrices, obtained according to the following formula:

[0040]

[0041]

[0042]

[0043] Apply this transformation to the initial particle point cloud to align the coordinates of the point cloud in the target scene and obtain the target particle point cloud P′ pa =T*P pa .

[0044] In step S130, based on the coordinate information of each point in the radar real point cloud, a corresponding distance image is generated, and the pixel value of each pixel in the distance image is the distance value of the point projected to the pixel.

[0045] In this embodiment, since directly mixing the target particle point cloud with the radar real point cloud usually destroys the inherent structural information due to the scanning method, and the fused point cloud often has point occlusion problems. Therefore, the terminal can project the points in the radar real point cloud based on the coordinate information of each point in the radar real point cloud and generate a corresponding distance image.

[0046] In one example, a laser radar can be modeled as a set of laser rangefinders that share a common origin. This set of focusing radar rangefinders are coplanar in the vertical direction and evenly distributed within the field of view angle. In addition, the rotation speed and measurement cycle of the laser radar are fixed, so the angular interval between two adjacent measurements of the same laser rangefinder is also fixed. Therefore, the real radar point cloud obtained by the laser radar scan has inherent structural information, and the point cloud can be projected onto a 2D image based on the rotation angles in the horizontal and vertical directions. Assuming that the laser radar has H laser rangefinders and performs W measurements in each scanning cycle, a 2D image of size H×W can be obtained. When the distance of the point is used as the pixel value of its corresponding pixel, a distance image of size H×W is obtained.

[0047] Specifically, for any point in the real radar point cloud, it can be first converted from the radar coordinate system to the spherical coordinate system to obtain the corresponding distance value, the horizontal angle and the vertical angle, and then the corresponding pixel coordinates are calculated based on the three.

[0048] Please continue to refer to Figure 1 In step S140, the target particle point cloud is projected into the distance image, and the effective point hit by the corresponding laser beam in the target particle point cloud is determined based on the error between the pixel coordinates before and after rounding of each point in the projected target particle point cloud.

[0049] In this embodiment, the steps of projecting the points in the target particle point cloud into the distance image are similar to the aforementioned steps of generating the distance image based on the real radar point cloud. The difference is that the pixel values ​​of the corresponding pixels are not modified, because according to the working principle of the laser radar, the difference between the pixel coordinates corresponding to the real radar point cloud before and after rounding is very small. However, the particle point cloud generated as a simulation does not have this property. Therefore, after estimating the pixel coordinates corresponding to the points in the target particle point cloud, it is necessary to calculate the error between the pixel coordinates before and after rounding to determine the error of the distance from the laser beam, and then determine whether the point in the target particle point cloud is hit by the laser beam based on the error. If it is confirmed that the point in the target particle point cloud is hit by the laser beam, it can be determined as a valid point, and the point in the target particle point cloud that is not hit by the laser beam is an invalid point.

[0050] In one embodiment of the present application, the coordinates of any point in the target particle point cloud are assumed to be (x, y, z), and the rounded pixel coordinates (u, v) of the point projected onto the range image are calculated according to the following formula:

[0051]

[0052]

[0053] θ=arctan(z / d)

[0054]

[0055]

[0056] Among them, fov v ∈[fov d ,fov u ] is the field of view in the vertical direction, fov d 、fov u are the maximum and minimum angles of laser emission, respectively, [] indicates rounding, H is the number of laser rangefinders included in the laser radar, and W is the number of measurements of the laser radar in one scanning cycle;

[0057] Next, the error between the pixel coordinates before and after rounding of each point in the projected target particle point cloud is determined according to the following formula:

[0058]

[0059]

[0060] In one embodiment of the present application, determining the valid points in the target particle point cloud hit by the corresponding laser beam according to the error between the pixel coordinates before and after rounding of each point in the target particle point cloud after projection includes:

[0061] For each point in the target particle point cloud, if Δu corresponding to the point is less than a first predetermined threshold and Δv is less than a second predetermined threshold, it is determined that the point is hit by the corresponding laser beam and is marked as a valid point.

[0062] In this embodiment, those skilled in the art can set the first predetermined threshold and the second predetermined threshold based on prior experience to limit the maximum value of the error of the pixel coordinates. After determining the error corresponding to a point in the target particle point cloud, the terminal can compare the error with the corresponding threshold to determine whether the point is hit by the laser beam.

[0063] In one example, the first predetermined threshold and the second predetermined threshold are ε respectively. u , ε v , determine whether the point of the target particle point cloud is hit by the laser beam corresponding to the corresponding pixel coordinate according to the following formula:

[0064]

[0065] Among them, δ i is an indicator variable indicating whether the i-th point in the particle point cloud is hit by the laser beam.

[0066] At this time, the terminal can i = 0 are excluded, and the remaining points (i.e., δ i =1) is a valid point, and the terminal can add the valid point to the distance image generated by the real point cloud of the radar.

[0067] Please continue to refer to Figure 1 In step S150, back-projection is performed based on the pixel coordinates and distance values ​​of the effective points contained in the range image and the pixel coordinates and distance values ​​of each point in the radar real point cloud to obtain a target mixed point cloud.

[0068] In one embodiment of the present application, step S150 includes:

[0069] For each of the effective points, if the pixel projected by the effective point in the distance image already has a corresponding pixel value, the pixel value of the pixel is updated according to the smaller value between the distance value of the effective point and the pixel value;

[0070] Back-projection is performed based on the pixel coordinates and pixel values ​​of each pixel contained in the distance image after the pixel value is updated to obtain a target mixed point cloud.

[0071] In this embodiment, when the terminal adds each valid point to the distance image, if a pixel value already exists on the pixel projected by the valid point, the terminal can retain the smaller value between the distance value corresponding to the valid point and the pixel value, thereby updating the pixel value of the pixel.

[0072] When all valid points are added, the terminal can perform back-projection based on the pixel coordinates and pixel values ​​of all points contained in the range image (including valid points of the target particle point cloud and points of the radar real point cloud) to obtain the target point cloud.

[0073] It should be understood that the back projection is the inverse process of the aforementioned projection step. The terminal can calculate the angle of each point in the horizontal and vertical directions according to the pixel coordinates of each point:

[0074]

[0075]

[0076] Then use the distance value of the corresponding pixel in the range image to transform the point from the spherical coordinate system to the radar coordinate system:

[0077]

[0078]

[0079] z=dsinθ+h i

[0080] According to the above formula, the target mixed point cloud corresponding to the range image can be obtained.

[0081] Therefore, based on Figure 1In the embodiment shown, by acquiring the radar real point cloud and the initial particle point cloud about the target scene, the initial particle point cloud is converted to the same coordinate system as the radar real point cloud to obtain the target particle point cloud, and based on the coordinate information of each point in the radar real point cloud, a corresponding distance image is generated, then the target particle point cloud is projected into the distance image, and according to the error between the pixel coordinates before and after the pixel coordinates of each point in the projected target particle point cloud are rounded, the effective point hit by the corresponding laser beam in the target particle point cloud is determined, and then the pixel coordinates and distance values ​​of the effective points contained in the distance image and the pixel coordinates and distance values ​​of each point in the radar real point cloud are back-projected to obtain the target mixed point cloud. Thus, by projecting the target particle point cloud into the distance image generated by the radar real point cloud, the effective points hit by the laser beam can be accurately identified, and the situation where points appear at positions where no laser line passes can be avoided. Then, the effective points contained in the distance image and the points of the radar real point cloud are back-projected, and the mixing efficiency of the particle point cloud and the scene point cloud can be improved while ensuring the effectiveness of the mixing result.

[0082] The following describes an embodiment of the device of the present application, which can be used to execute the point cloud mixing method based on the distance image in the above embodiment of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the point cloud mixing method based on the distance image in the above embodiment of the present application.

[0083] Figure 2 A block diagram of a point cloud mixing device based on a range image according to an embodiment of the present application is shown.

[0084] Reference Figure 2 As shown, a point cloud mixing device based on a range image according to an embodiment of the present application includes:

[0085] An acquisition module, used to acquire a radar real point cloud and an initial particle point cloud about a target scene, wherein the initial particle point cloud is generated for at least one harsh environment;

[0086] A conversion module, used for converting the initial particle point cloud to the same coordinate system as the radar real point cloud to obtain a target particle point cloud;

[0087] A generating module, configured to generate a corresponding distance image based on the coordinate information of each point in the real point cloud of the radar, wherein the pixel value of each pixel in the distance image is the distance value of the point projected to the pixel;

[0088] A projection module, used for projecting the target particle point cloud into the distance image, and determining the effective point hit by the corresponding laser beam in the target particle point cloud according to the error between the pixel coordinates before and after rounding of each point in the projected target particle point cloud;

[0089] The processing module is used to perform back-projection according to the pixel coordinates and distance values ​​of the effective points contained in the range image and the pixel coordinates and distance values ​​of each point in the radar real point cloud to obtain a target mixed point cloud.

[0090] In one embodiment of the present application, back-projection is performed according to the pixel coordinates and distance values ​​of the effective points contained in the range image and the pixel coordinates and distance values ​​of each point in the radar real point cloud to obtain a target mixed point cloud, including:

[0091] For each of the effective points, if the pixel projected by the effective point in the distance image already has a corresponding pixel value, the pixel value of the pixel is updated according to the smaller value between the distance value of the effective point and the pixel value;

[0092] Back-projection is performed based on the pixel coordinates and pixel values ​​of each pixel contained in the distance image after the pixel value is updated to obtain a target mixed point cloud.

[0093] Figure 3 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown.

[0094] It should be noted that Figure 3 The computer system of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0095] like Figure 3 As shown, the computer system includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 302 or the program loaded from the storage part 308 to the random access memory (RAM) 303, such as executing the method described in the above embodiment. In RAM 303, various programs and data required for system operation are also stored. CPU 301, ROM 302 and RAM 303 are connected to each other through bus 304. Input / output (I / O) interface 305 is also connected to bus 304.

[0096] The following components are connected to the I / O interface 305: an input section 306 including a keyboard, a mouse, etc.; an output section 307 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed so that a computer program read therefrom is installed into the storage section 308 as needed.

[0097] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 309, and / or installed from a removable medium 311. When the computer program is executed by a central processing unit (CPU) 301, various functions defined in the system of the present application are executed.

[0098] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, - but not limited to - an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0099] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0100] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0101] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the above embodiment.

[0102] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.

[0103] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation methods of the present application.

[0104] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.

[0105] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A point cloud hybrid method based on range image, characterized in that: include: Acquire a radar real point cloud and an initial particle point cloud about a target scene, where the initial particle point cloud is generated for at least one harsh environment; The initial particle point cloud is converted to the same coordinate system as the radar real point cloud to obtain a target particle point cloud; Based on the coordinate information of each point in the real radar point cloud, a corresponding distance image is generated, wherein the pixel value of each pixel in the distance image is the distance value of the point projected to the pixel; Projecting the target particle point cloud into the distance image, and determining the valid points in the target particle point cloud hit by the corresponding laser beam according to the errors between the pixel coordinates of each point in the projected target particle point cloud before rounding and the pixel coordinates after rounding; Back-projection is performed based on the pixel coordinates and distance values ​​of the effective points contained in the range image and the pixel coordinates and distance values ​​of each point in the radar real point cloud to obtain a target mixed point cloud.

2. The method according to claim 1, characterized in that Back-projecting is performed according to the pixel coordinates and distance values ​​of the effective points contained in the range image and the pixel coordinates and distance values ​​of each point in the radar real point cloud to obtain a target mixed point cloud, including: For each of the effective points, if the pixel projected by the effective point in the distance image already has a corresponding pixel value, the pixel value of the pixel is updated according to the smaller value between the distance value of the effective point and the pixel value; Back-projection is performed based on the pixel coordinates and pixel values ​​of each pixel contained in the distance image after the pixel value is updated to obtain a target mixed point cloud.

3. The method according to claim 1, characterized in that The coordinates of any point in the target particle point cloud are (x, y, z), and the rounded pixel coordinates (u, v) of the point projected onto the range image are calculated according to the following formula: θ=arctan(z / d) Among them, fov v ∈[fov d ,fov u ] is the field of view in the vertical direction, fov d 、fov u are the maximum and minimum angles of laser emission, respectively, [] indicates rounding, H is the number of laser rangefinders included in the laser radar, and W is the number of measurements of the laser radar in one scanning cycle; The error between the pixel coordinates before and after rounding of each point in the target particle point cloud after projection is determined according to the following formula:

4. The method according to claim 3, characterized in that Determining the valid points in the target particle point cloud hit by the corresponding laser beam according to the errors between the pixel coordinates before and after rounding of each point in the projected target particle point cloud, including: For each point in the target particle point cloud, if Δu corresponding to the point is less than a first predetermined threshold and Δv is less than a second predetermined threshold, it is determined that the point is hit by the corresponding laser beam and is marked as a valid point.

5. A point cloud mixing device based on range image, characterized in that: include: An acquisition module, used to acquire a radar real point cloud and an initial particle point cloud about a target scene, wherein the initial particle point cloud is generated for at least one harsh environment; A conversion module, used for converting the initial particle point cloud to the same coordinate system as the radar real point cloud to obtain a target particle point cloud; A generating module, configured to generate a corresponding distance image based on the coordinate information of each point in the real point cloud of the radar, wherein the pixel value of each pixel in the distance image is the distance value of the point projected to the pixel; A projection module, used for projecting the target particle point cloud into the distance image, and determining the effective point hit by the corresponding laser beam in the target particle point cloud according to the error between the pixel coordinates before and after rounding of each point in the projected target particle point cloud; The processing module is used to perform back-projection according to the pixel coordinates and distance values ​​of the effective points contained in the range image and the pixel coordinates and distance values ​​of each point in the radar real point cloud to obtain a target mixed point cloud.

6. The device according to claim 5, characterized in that Back-projecting is performed according to the pixel coordinates and distance values ​​of the effective points contained in the range image and the pixel coordinates and distance values ​​of each point in the radar real point cloud to obtain a target mixed point cloud, including: For each of the effective points, if the pixel projected by the effective point in the distance image already has a corresponding pixel value, the pixel value of the pixel is updated according to the smaller value between the distance value of the effective point and the pixel value; Back-projection is performed based on the pixel coordinates and pixel values ​​of each pixel contained in the distance image after the pixel value is updated to obtain a target mixed point cloud.

7. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the point cloud mixing method based on a range image as claimed in any one of claims 1 to 4 is implemented.

8. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the one or more processors to implement the point cloud hybrid method based on range images as described in any one of claims 1 to 4.