Point cloud map updating method, system, device and medium in dynamic scene

By using random sampling consensus algorithm and clustering technology to identify semi-static object point cloud clusters in dynamic scenes, and combining evidence theory with cloud prior map comparison, the problem of untimely point cloud map updates and resource waste in the SLAM system is solved. , achieving more efficient multi-workshop information sharing and collaborative work.

CN118548875BActive Publication Date: 2024-09-24WUHAN JIZHI HAORUI TECH TRANSFER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing SLAM systems face the problems of untimely point cloud map updates and resource waste in dynamic scenarios, especially when multiple devices rely on the same map environment.

Method used

The point cloud map update method under dynamic scenes is adopted. By obtaining the point cloud data of the current frame scene, the random sampling consensus algorithm and clustering technology are used to identify semi-static object point cloud clusters, and the evidence theory method is combined with the cloud prior map for comparison. Yes, remove the moving semi-static object point cloud and update the point cloud map.

Benefits of technology

Effectively identify and update point cloud maps, reduce resource waste, realize information sharing and collaborative work among multiple workshops, and improve the efficiency and accuracy of map updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118548875B
    Figure CN118548875B
Patent Text Reader

Abstract

The present application discloses a point cloud map updating method in a dynamic scene. The point cloud map updating method obtains the pose value of the current scan frame in the prior map coordinate system before updating the map, matches the current scan frame with the prior map, and obtains the rotation matrix and the translation matrix; then the obtained prior map is compared with the point cloud frame obtained by the current laser scanning, and the multi-frame comparison results are combined with evidence theory to identify the semi-static object point cloud cluster; finally, the detected semi-static object point cloud cluster can be uploaded to the map cloud server through the current smart device, and the semi-static object point cloud in the scene is eliminated to update the existing map information in the map cloud server. The present application can effectively identify and eliminate the semi-static object point cloud in the scene, and can better realize the information sharing and collaborative work of multiple workshops.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of real-time positioning and mapping technology, and more specifically, to a point cloud map updating method, system, device and medium in a dynamic scene. Background Art

[0002] With the rapid development of the automotive industry and autonomous driving technology, SLAM (Simultaneous Localization and Mapping) technology is one of the effective methods to solve the environmental positioning and perception problems of mobile robots. Robots or vehicles running in the environment need to use prior point cloud maps as the basis for all other services. Current SLAM systems often face challenges in dynamic scenes in practical applications, which will affect the point cloud mapping effect and the performance of subsequent tasks.

[0003] In the real environment, there are some objects that will not move until a long time later - semi-static objects, such as vehicles parked on the roadside and temporary roadblocks. When a semi-static object moves, the point cloud map needs to be updated. Since vehicles or robots need to store point cloud maps in advance in their operating systems before they can be used, each device that uses the map stores a point cloud map of the current environment locally. When a considerable number of devices in an environment rely on the map of the current environment to operate, the update of the point cloud map becomes complicated. If the point cloud map update system is placed on every device running in the environment, it will not only waste resources but also cause untimely map updates. Summary of the invention

[0004] In response to at least one defect or improvement need in the prior art, the present application provides a point cloud map updating method, system, device and medium in a dynamic scenario, which is used to at least overcome the technical defects of resource waste and untimely map updates caused by placing the point cloud map updating system on each device running in the environment.

[0005] To achieve the above objectives, in a first aspect, the present application provides a point cloud map updating method in a dynamic scene, comprising:

[0006] Get the point cloud data of the current frame scene;

[0007] Processing the point cloud data of the current frame scene based on a random sampling consensus algorithm to obtain non-ground point cloud data;

[0008] Clustering the non-ground point cloud data to obtain point cloud clusters of objects in the current frame scene;

[0009] Determine the position and posture of the current device in the previously collected prior map through the non-ground point cloud data of the current frame and the corresponding prior map obtained from the cloud, and perform trajectory correction;

[0010] Comparing the point cloud clusters of the objects in the current frame scene with the prior map, and combining the evidence theory method to identify the point cloud clusters of semi-static objects in the scene;

[0011] The identified point cloud cluster of the semi-static object is uploaded to the cloud, and the point cloud of the semi-static object that has moved is eliminated through region growing, and the point cloud map without the semi-static object is updated to obtain.

[0012] Furthermore, the determining the position and posture of the current device in the previously collected prior map through the non-ground point cloud data of the current frame and the corresponding prior map obtained from the cloud, and performing trajectory correction includes:

[0013] Divide the non-ground point cloud into spaces to obtain a number of voxels;

[0014] Project the non-ground point cloud onto each voxel;

[0015] Get the normal distribution probability density function parameters for each voxel, including the formula:

[0016] ;

[0017] ;

[0018] in, represents each point within a voxel, ; represents the mean value of each voxel; represents the covariance within each voxel;

[0019] Transformation Matrix Initialize, where is the rotation matrix, is the translation matrix;

[0020] The non-ground point cloud data of the current frame is transformed through the transformation matrix Convert to the coordinate system of the prior map and obtain a point cloud set by coordinate transformation , right After preprocessing, the probability density formula is obtained:

[0021] ;

[0022] in, represents the mean vector of the Gaussian distribution;

[0023] right Solve the transformed normal distribution of each data point in and calculate its probability density After adding, we get the evaluation function , for the transformation matrix An evaluation is performed to make trajectory corrections to the pose.

[0024] Furthermore, comparing the point cloud clusters of the objects in the current frame scene with the prior map and combining the evidence theory method to identify the point cloud clusters of the semi-static objects in the scene includes:

[0025] Building a cluster recognition framework ; The set of all propositions is as follows: ;in, Represents static object mode; Represents semi-static object mode; Represents an indeterminate mode of either a static object or a semi-static object; Modes that represent objects that are neither static nor semi-static;

[0026] Get the probability distribution function of each proposition in the proposition set separately , and ;in, is the error probability caused by environmental interference or sensor factors. is the weight, is the cluster of objects in the point cloud cluster of the current frame scene Clusters from the set of prior map clusters The area of ​​overlap on the horizontal slice, for Maximum area in horizontal direction;

[0027] Based on the formula Get ,Combined with the evidence theory method, point cloud clusters of semi-static objects in the scene are identified.

[0028] Furthermore, the step of obtaining the point cloud data of the current frame scene includes:

[0029] Calibrate the external parameters of the lidar and IMU, and transform the data collected by the lidar into the odometer coordinate system to form a point cloud through timestamp alignment;

[0030] For each frame of newly converted point cloud, the nearest point cloud frame is found through the KD-Tree nearest neighbor search in the next frame point cloud conversion, and the Euclidean distance between each adjacent point cloud is calculated; when the total Euclidean distance is the smallest, it is considered that the previous and next frame point clouds match correctly, and the transformation matrix is ​​obtained at this time ;

[0031] Based on the transformation matrix Get the point cloud data after converting the point cloud collected in the current frame into the same coordinate system.

[0032] Furthermore, the point cloud data of the current frame scene is processed based on a random sampling consensus algorithm to obtain non-ground point cloud data including:

[0033] Based on the random sampling consensus algorithm, three points in the point cloud data of the current frame scene are randomly selected to construct a plane, and the number of points in the point cloud that actually fall on the plane is used to evaluate the correctness of the plane;

[0034] Select the number of random samples ,when When the preset threshold is exceeded, the non-ground point cloud data is acquired.

[0035] Furthermore, clustering the non-ground point cloud data to obtain a point cloud cluster of an object in the current frame scene includes:

[0036] Decomposing the non-ground point cloud into multiple sub-point clouds, and independently performing a fast Euclidean clustering operation on each sub-point cloud;

[0037] Adjacent sub-clusters between sub-point clouds are aggregated to form a larger cluster, and the process is iterated continuously until all the non-ground point clouds are assigned to a total cluster.

[0038] In a second aspect, the present application provides a point cloud map updating system in a dynamic scene, comprising:

[0039] Point cloud data acquisition module, used to obtain point cloud data of the current frame scene;

[0040] A non-ground point cloud data acquisition module is used to process the point cloud data of the current frame scene based on a random sampling consensus algorithm to obtain non-ground point cloud data;

[0041] A clustering module, used for clustering the non-ground point cloud data to obtain a point cloud cluster of an object in a current frame scene;

[0042] A trajectory correction module is used to determine the position and posture of the current device in the previously collected prior map through the non-ground point cloud data of the current frame and the corresponding prior map obtained from the cloud, and perform trajectory correction;

[0043] A semi-static object point cloud cluster recognition module is used to compare the point cloud cluster of the object in the current frame scene with the prior map, and identify the semi-static object point cloud cluster in the scene by combining the evidence theory method;

[0044] The cloud point cloud map update module is used to upload the identified semi-static object point cloud cluster to the cloud, eliminate the semi-static object point cloud that has moved through region growth, and update to obtain a point cloud map that does not contain semi-static objects.

[0045] In a third aspect, the present application provides an electronic device comprising at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the computer program is executed by the processing unit, the processing unit is enabled to perform the steps of any of the above-mentioned point cloud map updating methods.

[0046] In a fourth aspect, the present application provides a storage medium storing a computer program executable by an access authentication device, wherein when the computer program runs on the access authentication device, the access authentication device is enabled to execute the steps of any of the above-mentioned point cloud map updating methods.

[0047] In general, the above technical solutions conceived by the present application can achieve the following beneficial effects compared with the prior art:

[0048] The present application discloses a point cloud map updating method, system, device and medium in a dynamic scene. The present application first obtains the pose value of the current scan frame in the prior map coordinate system before updating the map, matches the current scan frame with the prior map, and obtains the rotation matrix and the translation matrix; then, the prior map obtained is compared with the point cloud frame obtained by the current laser scanning, and the multi-frame comparison results are combined with the evidence theory to identify the point cloud cluster of semi-static objects; finally, the detected point cloud cluster of semi-static objects can be uploaded to the map cloud server through the current smart device, and the semi-static object point cloud in the scene can be eliminated to update the existing map information in the map cloud server. The present application can effectively identify and eliminate the semi-static object point cloud in the scene, and can better realize the information sharing and collaborative work of multiple workshops, thereby overcoming the technical defects of resource waste and untimely map update caused by placing the point cloud map update system on each device running in the environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0050] Figure 1 A core flow chart of a point cloud map updating method in a dynamic scenario provided by an embodiment of the present application;

[0051] Figure 2 A schematic diagram of the architecture of a point cloud map updating method based on a vehicle-cloud crowdsourcing framework provided in an embodiment of the present application;

[0052] Figure 3A schematic diagram of a NDT positioning process provided in an embodiment of the present application;

[0053] Figure 4 A schematic diagram of semi-static object discrimination provided in an embodiment of the present application;

[0054] Figure 5 A block diagram of an electronic device suitable for implementing the method described above provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. In addition, the technical features involved in each embodiment of the present application described below can be combined with each other as long as they do not conflict with each other.

[0056] The terms "including" or "having" and any variations thereof in the specification, claims or drawings of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.

[0057] In the real environment, there are some objects that will not move until a long time later - semi-static objects, such as vehicles parked on the roadside and temporary roadblocks. When a semi-static object moves, the point cloud map needs to be updated. Since vehicles or robots need to pre-store point cloud maps in their own operating systems before they can be used, each device that uses the map has a point cloud map of the current environment stored locally. When a considerable number of devices in an environment rely on the map of the current environment to operate, the update of the point cloud map becomes complicated. If the point cloud map update system is placed on every device running in the environment, it will not only waste resources but also cause untimely map updates. In view of this technical status, reference Figure 1-Figure 4 An embodiment of the present application proposes a multi-vehicle collaborative point cloud map updating method applied in a dynamic scene, and the method may mainly include the following steps.

[0058] Step 1: Obtain accurate point cloud data of the current frame scene through LiDAR and IMU.

[0059] In one embodiment, more specifically, the external parameters of the laser radar and IMU are calibrated, and the data collected by the laser radar is transformed into the odometer coordinate system to form a point cloud through timestamp alignment. Afterwards, for each frame of the newly converted point cloud, the KD-Tree nearest neighbor search form is used in the next frame of point cloud conversion to find the nearest point cloud frame, and the Euclidean distance between each adjacent point cloud is calculated. When the total Euclidean distance is the smallest, it is considered that the point clouds of the previous and next frames match correctly. At this time, the transformation matrix can be obtained Finally, based on the transformation matrix Get the point cloud data after converting the point cloud collected in the current frame into the same coordinate system.

[0060] Step 2: Based on the random sampling consensus algorithm, the point cloud data collected in the current frame is converted to the same coordinate system and processed to obtain non-ground point cloud data.

[0061] In one embodiment, more specifically, since three points can determine a plane, the plane formula is:

[0062] ;

[0063] The midpoint of space can be obtained ( x , y , z ) to the plane d :

[0064] ;

[0065] like ( is the distance threshold), the point is considered to be on the plane. Therefore, RANSAC (Random Sample Consensus, i.e., random sampling consensus algorithm, is an algorithm that calculates the mathematical model parameters of the data based on a set of sample data sets containing abnormal data to obtain valid sample data. It was first proposed by Fischler and Bolles in 1981. The RANSAC algorithm is often used in computer vision. For example, in the field of stereo vision, it simultaneously solves the matching point problem of a pair of cameras and the calculation of the basic matrix.) will randomly select three points to construct a plane, and use the number of points in the point cloud that actually fall on the plane to evaluate the correctness of the plane. Then select the number of random samplings. ,when When there are enough points, non-ground point cloud data can be obtained more accurately.

[0066] Step 3: Cluster the non-ground point cloud data of the current frame to obtain the point cloud clusters of the objects in the current frame scene.

[0067] In one embodiment, more specifically, after extracting the non-ground point cloud, a fast Euclidean clustering algorithm is used to cluster the non-ground point cloud. Points that are close to each other are grouped, and a hierarchical clustering method is used to divide the non-ground point cloud into sub-point clouds to accelerate the clustering process. By decomposing the non-ground point cloud into multiple sub-point clouds and performing clustering operations on each sub-point cloud independently, adjacent sub-clusters between sub-point clouds (the sub-clusters in this embodiment can be cubes) will be aggregated to form larger clusters, and this process is iterated until all non-ground point clouds are assigned to a cluster.

[0068] The proximity of an unorganized point cloud can be described as:

[0069] ;

[0070] in, and are two different clusters. is the maximum distance threshold.

[0071] Step 4: Determine the accurate position of the current device (vehicle, robot, etc.) in the previously collected prior map through the prior point cloud map (referred to as the prior map) stored in the cloud and the non-ground point cloud data of the current frame, and perform trajectory correction to ensure the accuracy of the recognition effect in the subsequent step 5. Each device can download the point cloud map of the corresponding area from the cloud through NDT positioning, that is, download the prior map from the cloud.

[0072] A prior map is a map used in autonomous driving technology that is automatically developed based on data collected by autonomous vehicles and aggregated to form a sparse tiled neural representation. Each tile corresponds to a specific real-world location, forming a global map prior. This global map prior is a priori information that can still provide a basic understanding of the environment in the absence of real-time sensor data. Prior maps play a key role in autonomous driving systems by integrating on-board sensor data and global map priors into the inference process of local maps and subsequently optimizing map priors. These processes are interconnected in a feedback loop, and the accuracy and usefulness of prior maps will continue to improve as more data is collected from a large number of vehicles driving on the road every day. In the context of autonomous driving technology, the importance of prior maps lies in the fact that they provide a prior understanding and prediction of the environment, which is critical for vehicles to navigate and make decisions in unknown or changing environments. By continuously collecting new information and updating iteratively, prior maps can adapt to changes in the environment and verify their reliability in actual road driving, thereby supporting higher levels of autonomous driving functions.

[0073] In one embodiment, specifically, the point cloud map (PCM) is rasterized in the cloud and divided into multiple small maps to improve storage and processing efficiency. Figure 3 ) Crowdsource the accurate position information of the vehicle in some changing environments, and dynamically download or delete the corresponding grid map in the memory to reduce unnecessary data transmission and processing. More specifically, it includes:

[0074] Step 41: The non-ground point cloud is spatially divided into small spaces of fixed size, also called voxels. The size of the voxel determines the accuracy of the registration of the two point clouds. The larger the size of the voxel, the greater the error of the point cloud registration, and vice versa. For time, the larger the size of the voxel, the smaller the time.

[0075] Step 42: Project the non-ground point cloud onto each voxel.

[0076] Step 43: Calculate the normal distribution probability density function parameters of each voxel:

[0077] ;

[0078] ;

[0079] In the formula, represents each point within a voxel, ; represents the covariance within each voxel, represents the mean value of each voxel.

[0080] Step 44: transform the matrix obtained in step 1 To initialize:

[0081] ;

[0082] in, is the rotation matrix, is the translation matrix.

[0083] Step 45: Transform the non-ground point cloud data of the current frame through the transformation matrix Convert to the coordinate system of the prior map and obtain a point cloud set by coordinate transformation , right After preprocessing, the probability density formula is obtained:

[0084] ;

[0085] in, Represents the mean vector of the Gaussian distribution, specifically the center position of the point cloud data in a local area. The point cloud data will be divided into multiple small voxels, and the data points in each voxel will be fitted into a Gaussian distribution.

[0086] Step 46: Assemble the point cloud Solve the transformed normal distribution of each data point in and calculate its probability density After adding, we get the evaluation function of formula (8): score(P) , for the transformation matrix Evaluate, according to the transformation matrix Determine whether the probability density is the maximum. If the probability density reaches the maximum, output the three-dimensional point cloud after trajectory correction. If the probability density does not reach the maximum, continue to solve the transformation matrix and continue to determine whether the probability density is the maximum until the probability density reaches the maximum and output the corresponding three-dimensional point cloud after trajectory correction.

[0087] ;

[0088] Step 5: By comparing the prior point cloud map stored in the cloud (the point cloud map of the corresponding area downloaded by each device from the cloud in step 4) with the point cloud clusters of objects in the current frame scene, the semi-static object point cloud in the scene is identified, that is, whether any object in the prior point cloud map has moved. If so, it is a semi-static object.

[0089] In one embodiment, more specifically, the current frame point cloud U collected by the laser radar and the area The prior point cloud map PC is clustered in Euclidean style, and the cluster object sets can be obtained respectively. and ,in m is the number of clusters in the point cloud of the current frame, n For Region The number of clusters in . A cluster in , determine its radius r Whether it is related to There is overlap in one of the clusters.

[0090] A single frame of point cloud cannot accurately identify a semi-static object, and it is necessary to combine the results of multiple scans to make a judgment. Q Extract one frame, extract a total of k This is used as a set to identify semi-static objects in the scene through evidence theory methods. Construct a cluster recognition framework: , the set of all propositions is shown in formula (9):

[0091] ;

[0092] in, Represents static object mode; Represents semi-static object mode; Represents an indeterminate mode of either a static object or a semi-static object; represents a mode that is neither a static object nor a semi-static object. Calculate the probability distribution function of each proposition in the set separately, , (g is the error probability caused by environmental interference or sensor factors), Therefore, it is required to , we only need to find out the clusters in the point cloud U of the current frame Probability distribution function for static objects , and calculate The formula refers to formula (10):

[0093] ;

[0094] in, is the weight, For clusters The maximum horizontal area, For clusters and The area of ​​overlap on the horizontal slice (e.g. Figure 4 as shown). and The larger the ratio is, the smaller the movement of the object is, and the more likely it is a static object. Otherwise, it is a semi-static object.

[0095] By calculation ,Combined with the evidence theory method, it is possible to identify the point cloud clusters of semi-static objects in the scene.

[0096] Step 6: Upload the identified semi-static object point cloud cluster to the cloud, update the cloud map, and remove the semi-static object point cloud that has moved through region growing to obtain the latest point cloud map without semi-static objects.

[0097] The present application discloses a method for updating a point cloud map in a dynamic scene. First, the pose value of the current scan frame in the prior map coordinate system is obtained before the map is updated, and the current scan frame is matched with the prior map to obtain a rotation matrix and a translation matrix; then, the obtained prior map is compared with the point cloud frame obtained by the current laser scanning, and the multi-frame comparison results are combined with evidence theory to identify the point cloud clusters of semi-static objects; finally, the detected point cloud clusters of semi-static objects can be uploaded to the map cloud server through the current smart device, and the semi-static object point cloud in the scene can be eliminated to update the existing map information in the map cloud server. The present application can effectively identify and eliminate the semi-static object point cloud in the scene, and can better realize the information sharing and collaborative work of multiple workshops, thereby overcoming the technical defects of resource waste and untimely map updates caused by placing the point cloud map update system on each device running in the environment.

[0098] Another embodiment of the present application provides a point cloud map updating system in a dynamic scenario, and the point cloud map updating system may include the following modules.

[0099] The point cloud data acquisition module is used to obtain the point cloud data of the current frame scene.

[0100] The non-ground point cloud data acquisition module is used to process the point cloud data of the current frame scene based on a random sampling consensus algorithm to obtain non-ground point cloud data.

[0101] The clustering module is used to cluster the non-ground point cloud data to obtain point cloud clusters of objects in the current frame scene.

[0102] The trajectory correction module is used to determine the position and posture of the current device in the previously collected prior map through the non-ground point cloud data of the current frame and the corresponding prior map obtained from the cloud, and perform trajectory correction.

[0103] The semi-static object point cloud cluster recognition module is used to compare the point cloud cluster of the object in the current frame scene with the prior map, and identify the semi-static object point cloud cluster in the scene in combination with the evidence theory method.

[0104] The cloud point cloud map update module is used to upload the identified semi-static object point cloud cluster to the cloud, eliminate the semi-static object point cloud that has moved through region growth, and update to obtain a point cloud map that does not contain semi-static objects.

[0105] The detailed technical details of each module of the point cloud map updating system in dynamic scenes can be referred to the technical description of each step in the point cloud map updating method in dynamic scenes in the aforementioned embodiment, which will not be repeated here.

[0106] Figure 5A block diagram of an electronic device suitable for implementing the point cloud map updating method described above according to an embodiment of the present application is schematically shown. Figure 5 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0107] like Figure 5 As shown, the electronic device 1000 described in this embodiment includes: a processor 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage part 1008 to a random access memory (RAM) 1003. Processor 1001 may, for example, include a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), and the like. Processor 1001 may also include onboard memory for caching purposes. Processor 1001 may include a single processing unit or multiple processing units for performing different actions of the point cloud map update method process according to an embodiment of the present application.

[0108] In RAM 1003, various programs and data required for the operation of system 1000 are stored. Processor 1001, ROM 1002 and RAM 1003 are connected to each other via bus 1004. Processor 1001 performs various operations of the method flow according to the embodiment of the present application by executing the program in ROM 1002 and / or RAM 1003. It should be noted that the program can also be stored in one or more memories other than ROM 1002 and RAM 1003. Processor 1001 can also perform various operations of the method flow according to the embodiment of the present application by executing the program stored in the one or more memories.

[0109] According to an embodiment of the present application, the electronic device 1000 may further include an input / output (I / O) interface 1005, which is also connected to the bus 1004. The system 1000 may further include one or more of the following components connected to the I / O interface 1005: an input part 1006 including a keyboard, a mouse, etc.; an output part 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage part 1008 including a hard disk, etc.; and a communication part 1009 including a network interface card such as a LAN card, a modem, etc. The communication part 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that the computer program read therefrom is installed into the storage part 1008 as needed.

[0110] According to the method flow of the embodiment of the present application, it can be implemented as a computer software program. For example, the embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program includes a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1009, and / or installed from the removable medium 1011. When the computer program is executed by the processor 1001, the above-mentioned functions defined in the system of the embodiment of the present application are executed. According to the embodiment of the present application, the system, equipment, device, module and / or unit described above, etc. can be implemented by a computer program module.

[0111] The embodiments of the present application also provide a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments, or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the steps of the point cloud map updating method according to the embodiments of the present application can be implemented.

[0112] According to an embodiment of the present application, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), 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 an embodiment of the present application, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus, or a device. For example, according to an embodiment of the present application, the computer-readable storage medium may include one or more memories other than the ROM 1002 and / or RAM 1003 described above.

[0113] It should be noted that the functional modules in the various embodiments of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product.

[0114] The flowchart and / or 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. In this regard, each box in the flowchart and / or block diagram can represent a part of a module, program segment or code, and a part of the above-mentioned module, program segment or 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 an order different from that marked in the accompanying drawings. It should also be noted that each box in the block diagram or flowchart, and the combination of the 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.

[0115] Those skilled in the art will appreciate that the features described in the various embodiments and / or claims of the present application may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present application. In particular, without departing from the spirit and teachings of the present application, the technical features described in the various embodiments and / or claims of the present application may be combined and / or combined in a variety of ways, and all of these combinations and / or combinations fall within the scope of the present application.

[0116] Although the present application has been shown and described with reference to specific exemplary embodiments of the present application, it should be understood by those skilled in the art that various changes in form and details may be made to the present application without departing from the spirit and scope of the present application as defined by the appended claims and their equivalents. Therefore, the scope of the present application should not be limited to the above-mentioned embodiments, but should be determined not only by the appended claims, but also by the equivalents of the appended claims.

Claims

1. A point cloud map updating method in dynamic scenes, It is characterized in that include: Get the point cloud data of the current frame scene; Processing the point cloud data of the current frame scene based on a random sampling consensus algorithm to obtain non-ground point cloud data; Clustering the non-ground point cloud data to obtain point cloud clusters of objects in the current frame scene; Determine the position and posture of the current device in the previously collected prior map through the non-ground point cloud data of the current frame and the corresponding prior map obtained from the cloud, and perform trajectory correction; Comparing the point cloud clusters of the objects in the current frame scene with the prior map, and combining the evidence theory method to identify the point cloud clusters of semi-static objects in the scene; The identified point cloud cluster of the semi-static object is uploaded to the cloud, and the point cloud of the semi-static object that has moved is eliminated through region growing, and the point cloud map without the semi-static object is updated to obtain.

2. The point cloud map updating method according to claim 1, It is characterized in that Determining the position and posture of the current device in the previously collected prior map by using the non-ground point cloud data of the current frame and the corresponding prior map obtained from the cloud, and performing trajectory correction includes: Divide the non-ground point cloud into spaces to obtain a number of voxels; Project the non-ground point cloud onto each voxel; Get the normal distribution probability density function parameters for each voxel, including the formula: ; in, represents each point within a voxel, ; represents the mean value of each voxel; represents the covariance within each voxel; Transformation Matrix Initialize, where R is the rotation matrix, t is the translation matrix; The non-ground point cloud data of the current frame is transformed through the transformation matrix T Convert to the coordinate system of the prior map and obtain a point cloud set by coordinate transformation , right After preprocessing, the probability density formula is obtained: ; in, represents the mean vector of the Gaussian distribution; right Solve the transformed normal distribution of each data point in and calculate its probability density After adding, we get the evaluation function , for the transformation matrix T An evaluation is performed to make trajectory corrections to the pose.

3. The point cloud map updating method according to claim 2, It is characterized in that The step of comparing the point cloud clusters of objects in the current frame scene with the prior map and identifying the point cloud clusters of semi-static objects in the scene in combination with the evidence theory method includes: Building a cluster recognition framework ; The set of all propositions is as follows: ;in, Represents static object mode; Represents semi-static object mode; Represents an indeterminate mode of either a static object or a semi-static object; Modes that represent objects that are neither static nor semi-static; Get the probability distribution function of each proposition in the proposition set separately , and ;in, is the error probability caused by environmental interference or sensor factors. is the weight, is the cluster in the point cloud cluster of the object in the current frame scene Clusters from the set of prior map clusters The area of ​​overlap on the horizontal slice, for Maximum area in horizontal direction; Based on the formula Get ,Combined with the evidence theory method, point cloud clusters of semi-static objects in the scene are identified.

4. The point cloud map updating method according to claim 1, It is characterized in that The step of obtaining the point cloud data of the current frame scene includes: Calibrate the external parameters of the lidar and IMU, and transform the data collected by the lidar into the odometer coordinate system to form a point cloud through timestamp alignment; For each frame of newly converted point cloud, the nearest point cloud frame is found through the KD-Tree nearest neighbor search in the next frame point cloud conversion, and the Euclidean distance between each adjacent point cloud is calculated; when the total Euclidean distance is the smallest, it is considered that the previous and next frame point clouds match correctly, and the transformation matrix is ​​obtained at this time ; Based on the transformation matrix Get the point cloud data after converting the point cloud collected in the current frame into the same coordinate system.

5. The point cloud map updating method according to claim 4, It is characterized in that The point cloud data of the current frame scene is processed based on a random sampling consensus algorithm to obtain non-ground point cloud data including: Based on the random sampling consensus algorithm, three points in the point cloud data of the current frame scene are randomly selected to construct a plane, and the number of points in the point cloud that actually fall on the plane is used to evaluate the correctness of the plane; Select the number of random samples ,when When the preset threshold is exceeded, the non-ground point cloud data is acquired.

6. The point cloud map updating method according to claim 5, It is characterized in that The clustering of the non-ground point cloud data to obtain a point cloud cluster of an object in the current frame scene includes: Decomposing the non-ground point cloud into multiple sub-point clouds, and independently performing a fast Euclidean clustering operation on each sub-point cloud; Adjacent sub-clusters between sub-point clouds are aggregated to form a larger cluster, and the process is iterated continuously until all the non-ground point clouds are assigned to a total cluster.

7. A point cloud map updating system in dynamic scenes, It is characterized in that include: Point cloud data acquisition module, used to obtain point cloud data of the current frame scene; A non-ground point cloud data acquisition module is used to process the point cloud data of the current frame scene based on a random sampling consensus algorithm to obtain non-ground point cloud data; A clustering module, used for clustering the non-ground point cloud data to obtain a point cloud cluster of an object in a current frame scene; A trajectory correction module is used to determine the position and posture of the current device in the previously collected prior map through the non-ground point cloud data of the current frame and the corresponding prior map obtained from the cloud, and perform trajectory correction; A semi-static object point cloud cluster recognition module is used to compare the point cloud cluster of the object in the current frame scene with the prior map, and identify the semi-static object point cloud cluster in the scene by combining the evidence theory method; The cloud point cloud map update module is used to upload the identified semi-static object point cloud cluster to the cloud, eliminate the semi-static object point cloud that has moved through region growth, and update to obtain a point cloud map that does not contain semi-static objects.

8. An electronic device, It is characterized in that It includes at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the computer program is executed by the processing unit, the processing unit is able to perform the steps of the point cloud map updating method according to any one of claims 1 to 6.

9. A storage medium, It is characterized in that It stores a computer program executable by an access authentication device. When the computer program runs on the access authentication device, the access authentication device is enabled to execute the steps of the point cloud map updating method according to any one of claims 1 to 6.