Method and device for generating point cloud map and related equipment
By calculating the relative pose parameters of multi-frame point clouds and calculating the pose parameters of the prior model in the global coordinate system, it solves the problem of unknown pose parameters of the prior model in SLAM technology, achieving wider applications and higher The accuracy improves the accuracy and generalization of point cloud maps.
Patent Information
- Application Number
- CN202310171828.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2024-09-03
AI Technical Summary
Existing SLAM technology based on prior models needs to predetermine pose parameters in the global coordinate system, resulting in some prior models being unable to assist positioning and mapping, limiting its application scenarios and generalization.
By acquiring multi-frame point clouds, determine the first relative pose parameter and the second relative pose parameter, calculate the pose parameters of the prior model in the global coordinate system, and use the pose parameters to optimize and optimize other target frame point clouds. Fusion, generating point cloud maps, reducing the requirements for the use of prior models and improving generalization.
It realizes the calculation of pose parameters of the prior model in the global coordinate system, expands its application scope, improves the precision and accuracy of point cloud maps, improves generalization, avoids ghosting problems, and improves geometric accuracy and Clarity.
Smart Images

Figure CN118587278A
Abstract
Description
Technical Field
[0001] The present application relates to the field of three-dimensional reconstruction technology, and in particular to a method and device for generating a point cloud map and related equipment. Background Art
[0002] Simultaneous Localization and Mapping (SLAM) technology has important applications in the fields of autonomous driving, robot control, and digital twins. The principle of SLAM technology is to use the map features obtained by the device during movement to determine the device's own position, and then build a map based on the changes in the device's own position during movement. SLAM technology can be used to determine the device's position and build a map. The device position determined by SLAM technology and the map constructed can achieve rapid deployment of equipment in unfamiliar environments and path planning for subsequent tasks for the equipment.
[0003] At present, more and more digital assets related to positioning or mapping are generated. Such digital assets can be used as prior models to assist positioning and mapping, improving the accuracy of positioning and the accuracy of the established map. However, the current SLAM technology based on prior models has strict conditions for the use of prior models, and requires the known pose parameters of the prior model in the global coordinate system. This results in some prior models with unknown pose parameters in the global coordinate system being unable to assist positioning and mapping, limiting the application scenarios of using prior models to assist positioning and mapping, and there is a problem of insufficient generalization. Summary of the invention
[0004] The present application provides a method, device and related equipment for generating a point cloud map, which can use the calculated prior pose parameters of the prior model in the global coordinate system to assist in positioning and mapping, expand the application scope of the prior model, and improve the generalization of the prior model.
[0005] In the first aspect, the present application provides a method for generating a point cloud map. The method obtains a multi-frame point cloud including a first frame point cloud and a second frame point cloud, wherein the first frame point cloud is a point cloud at an initial moment; based on the coordinate system where the point cloud is located at the initial moment, that is, the global coordinate system, the first relative pose parameter of the second frame point cloud relative to the first frame point cloud is determined; then the second relative pose parameter of the prior model relative to the second frame point cloud is determined; based on the first relative pose parameter and the second relative pose parameter, the prior pose parameter of the prior model in the global coordinate system is obtained. Among them, the prior model is a three-dimensional model that matches the target frame point cloud of at least two frames included in the multi-frame point cloud, and the second frame point cloud is the target frame point cloud. In this way, the second frame point cloud can be used to determine the prior pose parameters of the prior model in the global coordinate system. Using the prior pose parameters of the prior model in the global coordinate system, the pose parameters of other target frame point clouds except the second frame point cloud are optimized, and the optimized multi-frame point clouds are fused to obtain a point cloud map. In this way, the multi-frame point cloud can be optimized using the prior model that matches the target frame point cloud of at least two frames, and there is no need to predetermine the pose parameters of the prior model in the global coordinate system, which reduces the requirements for the prior model for pose parameter optimization and mapping and improves generalization. In addition, the point cloud map obtained after optimization using the prior model has a higher precision, which can improve the accuracy of the generated point cloud map.
[0006] In a possible implementation, the determining of the second relative pose parameters of the prior model relative to the second frame point cloud includes first separating a matching point cloud that matches the prior model from the second frame point cloud, and then determining the second relative pose parameters of the prior model relative to the matching point cloud. In this way, interference from other point clouds that do not match the prior model can be avoided, thereby improving the accuracy of the second relative pose parameters.
[0007] In a possible implementation, the prior model includes a model of the target object. In the process of obtaining overlapping point clouds using the prior model and the second frame point cloud, the overlapping point clouds that match the model of the target object in the second frame point cloud are first determined, and then the point clouds other than the overlapping point clouds in the second frame point cloud are removed to obtain matching point clouds. Matching based on the target object can use the target object of the object dimension for matching. Compared with matching based on simpler geometric features such as points, surfaces, and lines, matching based on the object dimension can obtain a more accurate matching point cloud.
[0008] In one possible implementation, the overlapping point cloud that matches the model of the target object with the second frame point cloud is determined, and the target detection model is first used to perform target detection on the second frame point cloud to obtain a label indicating the position of the point cloud of the target object in the second frame point cloud and the point cloud of the target object, and then the target retrieval model is used to retrieve the prior model from the prior model library, and finally the registration model is used to register the model of the target object included in the prior model with the point cloud of the target object to obtain the overlapping point cloud. The target detection model, the target retrieval model, and the registration model are all pre-trained. Using the target detection model, the target retrieval model, and the registration model, a more accurate overlapping point cloud can be obtained.
[0009] In a possible implementation, the multi-frame point cloud is fused, and the prior model is used to remove noise to obtain a point cloud map. The prior model can further remove noise caused by positioning errors or motion distortion, effectively avoiding the problem of ghosting in the generated point cloud map, and improving the geometric accuracy and clarity of the point cloud map.
[0010] In a possible implementation, the prior model is a Mesh model or a Neural Signed Distance Function (NeuralSDF) model. Using the prior model of the NeuralSDF model can improve the search and matching speed of the point cloud and the prior model, and improve the efficiency of generating the point cloud map.
[0011] In a second aspect, the present application provides a device for generating a point cloud map, the device comprising:
[0012] An acquisition module, used for acquiring a multi-frame point cloud, wherein the multi-frame point cloud includes a first frame point cloud and a second frame point cloud, wherein the first frame point cloud is a point cloud at an initial moment;
[0013] A first processing module, configured to determine a first relative pose parameter of the second frame point cloud relative to the first frame point cloud based on a global coordinate system, wherein the global coordinate system is a coordinate system where the point cloud at the initial moment is located;
[0014] A second processing module is used to determine a second relative pose parameter of a priori model relative to the second frame point cloud, wherein the priori model is a three-dimensional model that matches target frame point clouds of at least two frames included in the multi-frame point clouds, and the second frame point cloud is the target frame point cloud;
[0015] A third processing module, configured to obtain a priori pose parameters of the priori model in the global coordinate system based on the first relative pose parameters and the second relative pose parameters;
[0016] An optimization module, configured to optimize the pose parameters of other target frame point clouds except the second frame point cloud by using the prior pose parameters of the prior model in the global coordinate system;
[0017] The fusion module is used to fuse the optimized multi-frame point clouds to obtain a point cloud map.
[0018] In a possible implementation, the second processing module is used to separate a matching point cloud that matches the prior model from the second frame point cloud; and determine a second relative pose parameter of the prior model relative to the matching point cloud.
[0019] In a possible implementation, the prior model includes a model of the target object, and the second processing module is used to separate a matching point cloud that matches the prior model from the second frame point cloud, including:
[0020] The second processing module is used to determine the overlapping point clouds that match the model of the target object with the second frame point cloud; and to remove the point clouds other than the overlapping point clouds in the second frame point cloud to obtain matching point clouds.
[0021] In a possible implementation, the second processing module is used to determine an overlapping point cloud matching the second frame point cloud with the model of the target object, including:
[0022] The second processing module is used to perform target detection on the second frame point cloud using a target detection model to obtain a label indicating the position of the point cloud of the target object in the second frame point cloud and the point cloud of the target object, wherein the target detection model is trained using the training point cloud of the target object and the label of the target object; retrieve the prior model from the prior model library using a target retrieval model, wherein the target retrieval model is trained using the training point cloud of the target object and the three-dimensional model of the target object; and register the model of the target object included in the prior model with the point cloud of the target object using a registration model to obtain the overlapping point cloud, wherein the registration model is trained using the training point cloud of the target object and the training three-dimensional model of the target object.
[0023] In a possible implementation, the prior model is a Mesh model or a Neural Signed Distance Function (NeuralSDF) model.
[0024] In a possible implementation, the fusion module is used to fuse the multiple frames of point clouds and use the prior model to remove noise to obtain a point cloud map.
[0025] In a third aspect, the present application provides a device, characterized in that the device comprises:
[0026] Memory, including instructions;
[0027] The processor, when the processor executes the instruction, enables the device to implement the method for generating a point cloud map as described in the first aspect.
[0028] In a fourth aspect, the present application provides a computing device cluster, comprising at least one computing device, each computing device comprising a processor and a memory;
[0029] The processor is used to execute instructions stored in the memory so that the computing device cluster executes the method for generating a point cloud map as described in the first aspect.
[0030] In a fifth aspect, the present application provides a computer-readable storage medium, in which instructions are stored. When the computer-readable storage medium is run on a device, the device executes the method for generating a point cloud map as described in the first aspect.
[0031] In a sixth aspect, the present application provides a computer program product comprising instructions, which, when executed on a device, enables the device to execute the method for generating a point cloud map as described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 A schematic diagram of an application scenario provided in an embodiment of the present application;
[0033] Figure 2 A schematic diagram of an application scenario of a method for generating a point cloud map provided in an embodiment of the present application;
[0034] Figure 3 A schematic diagram of a process for generating a point cloud map provided in an embodiment of the present application;
[0035] Figure 4 A schematic diagram of a process for obtaining overlapping point clouds provided in an embodiment of the present application;
[0036] Figure 5 A schematic diagram of optimizing the pose parameters of a key frame point cloud provided in an embodiment of the present application;
[0037] Figure 6 A schematic diagram of a process for establishing a point cloud map provided in an embodiment of the present application;
[0038] Figure 7 A schematic diagram of the structure of a point cloud map generation device provided in an embodiment of the present application;
[0039] Figure 8 A schematic diagram of the structure of a computing device provided in an embodiment of the present application;
[0040] Fig. 9 A schematic diagram of the structure of a computing device cluster provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances. This is just a way of distinguishing objects with the same attributes when describing the embodiments of this application.
[0042] See also Figure 1 As shown, in this application scenario, the device equipped with SLAM technology obtains the information of the surrounding environment collected by the laser radar and obtains a multi-frame point cloud. A point cloud is a series of scattered points with accurate angle and distance information. A frame of point cloud is a point cloud formed in a cycle. For example, a frame of point cloud is a point cloud formed in the time period from the end of the previous moment to the beginning of the current moment. The multi-frame point cloud includes a total of t+1 frames of point clouds from time 0 to time t. Among them, the point cloud of the frame at time 0 is the point cloud formed at the initial moment. Among them, t is a positive integer greater than 0. The device equipped with SLAM technology extracts the features of each two adjacent frames of point clouds in the multi-frame point cloud, and uses the iterative closest point (Iterative Closest Point, ICP) algorithm to match the features of two consecutive frames of point clouds according to certain constraints to obtain the relative pose parameters of the two adjacent frames of point clouds. Among them, the pose parameters include position parameters and posture parameters. The position parameter is the coordinate of the device that collects the point cloud, that is, the device including the laser radar relative to the reference coordinate system. The posture parameters are the orientation of the device that collects the point cloud relative to the reference coordinate system, including pitch angle, yaw angle and roll angle. In this way, the relative posture parameters of the point cloud at time 1 relative to the point cloud at time 0, the relative posture parameters of the point cloud at time 2 relative to the point cloud at time 1, ..., the relative posture parameters of the point cloud at time t relative to the point cloud at time t-1 are obtained. Among them, the coordinate system where the point cloud at time 0 frame, that is, the initial point cloud, is located is the global coordinate system. Based on the relative posture parameters of the point clouds of the two adjacent frames obtained above, the relative posture parameters of the point clouds at each time relative to the point cloud at time 0 can be superimposed to obtain, that is, the posture parameters of the point clouds at each time in the global coordinate system.
[0043] Obtain a priori model that matches the point cloud for assisting in mapping. Calculate the relative pose parameters of the point cloud at time x relative to the priori model. Time x is any time from time 1 to time t. The pose parameters of the priori model in the global coordinate system are known. According to the relative pose parameters of the point cloud at time x relative to the priori model, the pose parameters of the point cloud at time x in the global coordinate system can be determined. The device equipped with SLAM technology uses the pose parameters of the point cloud at time x determined by the priori model in the global coordinate system as constraints, optimizes the pose parameters of the point cloud at time x obtained above, and fuses the optimized multi-frame point clouds to obtain a point cloud map.
[0044] However, when the prior model does not have the predetermined pose parameters in the global coordinate system, the prior model cannot be used to assist in positioning and mapping, which makes the application scenarios of the prior model relatively limited and lacks generalization.
[0045] Based on this, the present application embodiment provides a method for generating a point cloud map. Figure 2As shown, the figure is a schematic diagram of an application scenario of a method for generating a point cloud map provided by an embodiment of the present application. In this method, a device equipped with SLAM technology obtains information about the surrounding environment collected by a laser radar to obtain a multi-frame point cloud. The multi-frame point cloud includes a total of t+1 frames of point clouds from time 0 to time t. The device equipped with SLAM technology extracts the features of each two adjacent frames of point clouds in the multi-frame point cloud, and uses the iterative closest point (Iterative Closest Point, ICP) algorithm to match the features of two consecutive frames of point clouds according to certain constraints to obtain the relative pose parameters of the two adjacent frames of point clouds. The device equipped with SLAM technology obtains a priori model that matches at least two frames of point clouds in the multi-frame point cloud. For example, the priori model matches the point cloud at time t-2, the point cloud at time t-1, and the point cloud at time t in the multi-frame point cloud respectively. The point cloud at time t is used as the registered point cloud. The device equipped with SLAM technology determines the second relative pose parameters of the priori model relative to the point cloud at time t. Moreover, based on the relative pose parameters of the two adjacent frames of point clouds, the first relative pose parameters of the point cloud at time t relative to the point cloud at time 0 can be obtained, that is, the pose parameters of the point cloud at time t in the global coordinate system. According to the first relative pose parameters and the second relative pose parameters, the pose parameters of the prior model in the global coordinate system can be obtained. Using the pose parameters of the prior model in the global coordinate system, the relative pose parameters of the point clouds at other times matching the prior model relative to the point cloud at time 0, that is, the pose parameters can be optimized to improve the positioning accuracy and global consistency. A point cloud map with higher accuracy is obtained by fusion of the optimized multi-frame point clouds. By adopting the method for generating a point cloud map provided in the embodiment of the present application, the pose parameters of the point cloud can be optimized using the prior model matching at least two frames of point clouds, which can reduce the requirements for the prior model for auxiliary positioning and mapping, expand the application scope of using the prior model to assist positioning and mapping, and improve the generalization of the prior model.
[0046] The point cloud map generation method provided in the embodiment of the present application can be applied to devices that use SLAM technology to achieve positioning or mapping, such as mobile terminals, robots and vehicles, as well as computing devices or computing clusters that provide SLAM services.
[0047] The following is a detailed introduction to the method for generating a point cloud map provided in an embodiment of the present application.
[0048] See also Figure 3 As shown, this figure is a schematic diagram of a method for generating a point cloud map provided in an embodiment of the present application. The method includes S301-S306.
[0049] S301: Acquire a multi-frame point cloud, wherein the multi-frame point cloud includes a first frame point cloud and a second frame point cloud, wherein the first frame point cloud is a point cloud at an initial moment.
[0050] In an embodiment of the present application, the device for collecting and generating multi-frame point clouds and the device for generating point cloud maps can be the same or different devices. In one possible implementation, the device for collecting and generating multi-frame point clouds and the device for generating point cloud maps are different devices. For example, the device for collecting and generating multi-frame point clouds is a device including a laser radar. The device for generating point cloud maps is a computing device. After generating multi-frame point clouds for mapping, the device for collecting and generating multi-frame point clouds sends multi-frame point clouds to the device for generating point cloud maps. The device for generating point cloud maps receives multi-frame point clouds. In another possible implementation, the device for collecting and generating multi-frame point clouds and the device for generating point cloud maps are the same device. For example, a robot. The device includes a laser radar, which collects multi-frame point clouds using the laser radar, and processes the collected multi-frame point clouds to generate a point cloud map.
[0051] The multi-frame point cloud includes a first frame point cloud and a second frame point cloud. The first frame point cloud is the point cloud at the initial moment. The embodiment of the present application does not limit the period for collecting each frame point cloud. As an example, a set time length is used as a period, such as generating a frame of point cloud every 1 millisecond. The embodiment of the present application also does not limit the number of frames of point cloud included in the multi-frame point cloud. Among them, the first frame point cloud is the point cloud at the initial moment. The second frame point cloud can be a point cloud adjacent to the collection time of the first frame point cloud, or it can be a point cloud not adjacent to the collection time of the first frame point cloud.
[0052] After acquiring the multi-frame point cloud, the acquired multi-frame point cloud can be preprocessed first. As an example, the preprocessing includes removing motion distortion and separating ground points. Motion distortion refers to the movement of the laser radar or the carrier of the laser radar in the process of collecting and generating point clouds, resulting in inconsistent motion origins of point clouds in different frames. The acquired multi-frame point clouds need to be compensated to the same moment so that the point clouds of all frames are unified to the same time point. In addition, the acquired multi-frame point cloud includes points on the surface of the object's appearance and ground points collected. The ground points included in the point cloud are eliminated to reduce the interference of the ground points on the subsequent point cloud processing.
[0053] S302: Determine, based on a global coordinate system, first relative pose parameters of the second frame point cloud relative to the first frame point cloud.
[0054] The global coordinate system is the point cloud at the initial moment, that is, the coordinate system where the first frame point cloud is located. The point clouds of two adjacent frames are matched to obtain the change in the pose parameters between the two adjacent frames of point clouds, that is, to obtain the relative pose parameters of the latter frame of point cloud relative to the previous frame of point cloud. If the first frame of point cloud and the second frame of point cloud are point clouds of adjacent frames, the first frame of point cloud and the second frame of point cloud can be matched to obtain the first relative pose parameters of the second frame of point cloud relative to the first frame of point cloud. Since the first frame of point cloud is in the global coordinate system, the first relative pose parameters obtained are also the pose parameters of the second frame of point cloud. If the first frame of point cloud and the second frame of point cloud are not point clouds of adjacent frames, the relative pose parameters of each two adjacent frames of point cloud between the second frame of point cloud and the first frame of point cloud are calculated. That is, the relative pose parameters of the next frame of the first frame point cloud relative to the first frame point cloud, the relative pose parameters of the next two frames of the first frame point cloud relative to the next frame of the first frame point cloud, ..., the relative pose parameters of the second frame point cloud relative to the previous frame point cloud of the second frame point cloud. Then, according to the relative pose parameters of every two adjacent frames of point clouds between the second frame point cloud and the first frame point cloud, the first relative pose parameters of the second frame point cloud relative to the first frame point cloud, that is, the pose parameters of the second frame point cloud, are obtained by superposition.
[0055] The relative pose parameters of the point clouds of two adjacent frames can be calculated using the ICP algorithm. The ICP algorithm is used to match the point clouds of two adjacent frames, including point-to-point matching, point-to-plane matching, and face-to-face matching, so as to obtain the relative pose parameters of the point clouds of two adjacent frames.
[0056] The amount of point cloud data is large, and the amount of calculation required to directly match two adjacent frames of point cloud is large. In some possible implementations, feature extraction is performed on the two frames of point cloud. The extracted features are, for example, tear points, corner points, straight lines, and arcs. Using the features of the extracted two frames of point cloud to match the ICP algorithm can reduce the amount of calculation.
[0057] S303: Determine second relative pose parameters of the prior model relative to the second frame point cloud, where the prior model is a three-dimensional model that matches target frame point clouds of at least two frames included in the multi-frame point clouds, and the second frame point cloud is the target frame point cloud.
[0058] It should be noted that the embodiment of the present application does not limit the execution order of S302 and S303. S302 and S303 are executed relatively independently.
[0059] The prior model is a three-dimensional model that matches the target frame point cloud of at least two frames included in the multi-frame point cloud. The prior model can be obtained from a device that provides a prior model management service. The embodiment of the present application does not limit the type and generation method of the prior model. As an example, the prior model is a digital model such as a computer-aided design (CAD) and point cloud data (PCD). As another example, the prior model is a model generated by multimodal data collected by a device with a data acquisition function, such as a mobile terminal or a data acquisition device. For example, the prior model is an environmental map model or an object monomer model. As another example, the prior model is a three-dimensional model with size information designed by three-dimensional modeling software or digital model generation software. As another example, the prior model is a three-dimensional model in a digital asset library, for example, a three-dimensional model for virtual scenes such as extended reality (XR), augmented reality (AR) and digital twins.
[0060] In addition, the embodiments of the present application do not limit the model type of the prior model. In one possible implementation, the prior model is a mesh model. In another possible implementation, the prior model is a neural sign distance function (Neural SDF) model. The Nearual SDF model is essentially a multi-layer neural network that can continuously fit scene geometric features, and can use hardware parallel acceleration such as a graphics processing unit (GPU) to achieve a double improvement in accuracy and speed. The use of the Neural SDF model can improve the search and matching speed of the point cloud and the prior model, and can achieve real-time operation.
[0061] The prior model matches the target frame point cloud of at least two frames included in the multi-frame point cloud. The second frame point cloud is the target frame point cloud. The embodiment of the present application does not limit the method of determining the prior model. In one possible implementation, the multi-frame point cloud is used to retrieve a matching prior model from a prior model library including multiple candidate prior models. In another possible implementation, the prior model is predetermined by the user.
[0062] The prior model has initial pose parameters. The initial pose parameters of the prior model can be obtained based on the pose recognition of the acquired prior model in the virtual environment, or can be pre-configured by the user who provides the prior model. The initial pose parameters of the prior model are parameters required to initialize the prior model. The initial pose parameters of the prior model do not affect the subsequent determination of the prior pose parameters of the prior model in the global coordinate system.
[0063] The prior model is matched with the second frame point cloud and contains information of the same object. A second relative pose parameter of the prior model relative to the second frame point cloud is determined.
[0064] The embodiments of the present application do not limit the specific implementation of determining the second relative pose parameters of the prior model relative to the second frame point cloud. As some examples, three specific implementations of determining the second relative pose parameters of the prior model relative to the second frame point cloud are provided below.
[0065] The first method is to directly use the ICP algorithm to calculate the second relative pose parameters of the prior model relative to the second frame point cloud.
[0066] The second method is to first extract the geometric features of the prior model and the geometric features of the second frame point cloud, and then use the ICP algorithm to match the geometric features of the prior model and the geometric features of the second frame point cloud to obtain the second relative pose parameters of the prior model relative to the second frame point cloud.
[0067] The third method is to separate the matching point cloud that matches the prior model from the second frame point cloud, and determine the second relative pose parameters of the prior model relative to the matching point cloud.
[0068] The first and second methods for determining the second relative pose parameters of the prior model relative to the matching point cloud are similar to the method for determining the relative pose parameters of two adjacent frames of point clouds, and will not be repeated here. The third method for determining the second relative pose parameters of the prior model relative to the matching point cloud is described in detail below.
[0069] In some possible cases, part of the point cloud in the second frame matches the prior model. In order to obtain more accurate second relative pose parameters, the part of the point cloud that matches the prior model, that is, the matching point cloud, is first separated from the second frame point cloud. Then the second relative pose parameters of the prior model relative to the matching point cloud are calculated. The second relative pose parameters obtained in this way have a higher accuracy.
[0070] As a possible implementation, the prior model includes a model of the target object. The second frame point cloud also includes a portion of the point cloud constituting the surface of the target object. In the process of obtaining the matching point cloud, the overlapping point cloud of the second frame point cloud and the model of the target object included in the prior model are first determined. Then, the point cloud other than the overlapping point cloud is removed to obtain the matching point cloud.
[0071] In order to improve the accuracy of the obtained matching point cloud, see Figure 4As shown in the figure, this figure is a schematic diagram of a process for obtaining overlapping point clouds provided by an embodiment of the present application. First, the target detection model is used to perform target detection on the second frame point cloud to obtain a label indicating the position of the point cloud of the target object in the second frame point cloud. Then, the point cloud of the target object indicated by the label is extracted from the second frame point cloud. Then, the target retrieval model is used to retrieve the prior model from the prior model library. Finally, the registration model is used to register the model of the target object included in the prior model with the point cloud of the target object to obtain an overlapping point cloud.
[0072] Among them, the target detection model, target retrieval model and registration model are all pre-trained.
[0073] The target detection model is trained using the training point cloud of the target object and the label of the target object. The training point cloud of the target object can be obtained by pre-collecting the target object using a laser radar, or using the point cloud of the public target object as the training point cloud, for example, using the point cloud of the target object generated by the simulation environment of the digital twin as the training point cloud of the target object. The label of the target object can be the type of the target object. For example, if the target object is a chair, the label of the target object is "chair".
[0074] The target retrieval model is trained using the training point cloud and retrieval label of the target object. The retrieval label is the three-dimensional model of the target object. As an example, the training point cloud of the target object of the target retrieval model can be the same as the training point cloud of the target object of the target detection model, or it can be a point cloud of the target object obtained by other means. The three-dimensional model of the target object is a three-dimensional model collected by a surveying-level three-dimensional laser scanner for the target object, or a public three-dimensional model of the target object.
[0075] The registration model is trained using the training point cloud of the target object and the 3D model of the target object. The training point cloud of the target object and the 3D model of the target object are input into the registration model, and the model is continuously iterated to adjust the parameters of the encoder and decoder included in the registration model until the training is completed. The iterative process can refer to the registration point cloud obtained by manually registering the training point cloud of the target object and the 3D model of the target object in advance.
[0076] S304: Based on the first relative pose parameter and the second relative pose parameter, obtain the prior pose parameter of the prior model in the global coordinate system.
[0077] The pose parameters of the prior model in the global coordinate system can be obtained by using the first relative pose parameters of the second frame point cloud in the global coordinate system and the second relative pose parameters of the prior model relative to the second frame point cloud. In this way, the pose parameters of the prior model in the global coordinate system determined by the second frame point cloud can be used to optimize the pose parameters of other target frame point clouds that match the prior model. In this way, there is no need to require the prior model used for auxiliary positioning and mapping to predict the pose parameters in the global coordinate system, which can expand the application scope of the prior model and improve generalization.
[0078] S305: Utilizing the priori pose parameters of the priori model in the global coordinate system, the pose parameters of other target frame point clouds except the second frame point cloud are optimized.
[0079] After obtaining the prior pose parameters of the prior model in the global coordinate system, the prior pose parameters of the prior model in the global coordinate system can be used to optimize the pose parameters of the multi-frame point cloud. In the embodiment of the present application, as an example, the bundle adjustment (BA) method can be used to optimize the multi-frame point cloud using the prior pose parameters of the prior model in the global coordinate system.
[0080] In a possible implementation, the relative pose parameters of the prior model relative to the target frame point cloud are first calculated, and then the pose parameters of the target frame point cloud in the global coordinate system are determined using the pose parameters of the prior model in the global coordinate system. Then, the relative pose parameters of the target frame point cloud determined based on the multi-frame point cloud relative to the first frame point cloud are optimized.
[0081] In some possible implementations, the target frame point cloud includes one or more key frame point clouds. A key frame point cloud is a frame point cloud whose pose parameters vary greatly compared to the pose parameters of adjacent frame point clouds. The multiple key frame point clouds included in the target frame point cloud can be frame point clouds that are not adjacent at the time of acquisition. By using the prior pose parameters of the prior model in the global coordinate system, the relative pose parameters of the key frame point cloud relative to the first frame point cloud are optimized, and a better optimization result is obtained.
[0082] See also Figure 5As shown, the figure is a schematic diagram of optimizing the pose parameters of a key frame point cloud provided by an embodiment of the present application. The target frame point cloud includes a key frame point cloud 1, a key frame point cloud 2, and a key frame point cloud 3. The relative pose parameters of the prior model relative to the key frame point cloud 1, the relative pose parameters of the prior model relative to the key frame point cloud 2, and the relative pose parameters of the prior model relative to the key frame point cloud 3 are calculated respectively. Then, the prior pose parameters of the prior model in the global coordinate system are used to obtain the pose parameters of the key frame point cloud 1, the pose parameters of the key frame point cloud 2, and the pose parameters of the key frame point cloud 3 in the global coordinate system. The pose parameters of the key frame point cloud 1 in the global coordinate system are used to optimize the relative pose parameters of the key frame point cloud 1 determined using multiple frame point clouds relative to the first frame point cloud. The pose parameters of the key frame point cloud 2 in the global coordinate system are used to optimize the relative pose parameters of the key frame point cloud 2 determined using multiple frame point clouds relative to the first frame point cloud. The relative pose parameters of the key frame point cloud 3 determined by using the multi-frame point cloud with respect to the first frame point cloud are optimized by using the pose parameters of the key frame point cloud 3 in the global coordinate system.
[0083] Optimizing the pose parameters of the target frame point cloud using the prior pose parameters of the prior model in the global coordinate system can improve positioning accuracy and global consistency.
[0084] S306: Fusing the optimized multi-frame point clouds to obtain a point cloud map.
[0085] The point cloud map obtained by fusing multiple frame point clouds including the optimized point cloud has high accuracy.
[0086] The acquired multi-frame point cloud may include noise caused by positioning error or laser radar motion distortion. In the fusion process, the prior model can also be used to remove the noise included in the point cloud. Specifically, in the process of point cloud fusion, the point cloud is matched with the prior model to remove the noise that does not overlap with the prior model. This can solve the "ghosting" phenomenon and improve the geometric accuracy and clarity of the map.
[0087] In some possible implementations, one or more of loop detection information and visual image information can also be obtained. Loop detection information is information that detects that the device has reached a previous position. Visual information can be obtained using visual SLAM technology. Based on the obtained loop detection information and one or more of the visual image information, the pose parameters of the point cloud are jointly optimized.
[0088] Based on the above steps, see Figure 6As shown, this figure is a schematic diagram of a process for establishing a point cloud map provided by an embodiment of the present application. First, obtain multiple frames of point clouds, eliminate distortion and deflection of the multiple frames of point clouds, and obtain a volume point cloud. Then, use the prior model and volume point cloud that have been added to the model container to match the volume point cloud to separate the point cloud that matches the prior model included in the volume point cloud, and obtain the separated matching point cloud. If the prior model has not been initialized, first set the initial pose of the prior model in the global coordinate system, and add the original prior model to the model container for subsequent calling of the prior model. If it is confirmed that the prior model has been initialized, perform ICP matching on the prior model and the matching point cloud to obtain the relative pose parameters of the prior model and the matching point cloud. And perform adaptability evaluation on the relative pose parameters of the prior model and the matching point cloud. If the evaluation result is good, the relative pose parameters of the prior model and the matching point cloud are used as point cloud model factors. If the evaluation result is poor, the prior model and the matching point cloud are matched by ICP again until the evaluation result of the adaptability evaluation of the relative pose parameters of the prior model and the matching point cloud is good. The pose parameters of the point cloud are obtained using the volume point cloud. The pose parameters of the point cloud are used as the odometer factor. The pose parameters of the point cloud are optimized using the odometer factor, the point cloud model factor, the visual factor and the loop closure factor. Among them, the visual factor is a factor for optimizing the pose parameters of the point cloud obtained by processing the visual image information collected by the camera. The loop closure factor is a factor for optimizing the pose parameters of the point cloud generated based on the loop detection information. The point cloud map is obtained by fusion of the optimized point cloud.
[0089] Based on the method for generating a point cloud map provided in the embodiment of the present application, see Figure 7 As shown, the present embodiment also provides a schematic diagram of the structure of a point cloud map generation device 700. The point cloud map generation device 700 includes an acquisition module 701, a first processing module 702, a second processing module 703, a third processing module 704, an optimization module 705, and a fusion module 706. The functions of each module in the point cloud map generation device 700 can be specifically referred to in Figure 3 The relevant parts of the embodiment shown are described. Acquisition module 701 is used to implement Figure 3 S301 of the embodiment shown; the first processing module 702 is used to implement Figure 3 S302 of the embodiment shown; the second processing module 703 is used to implement Figure 3 S303 of the embodiment shown; the third processing module 704 is used to implement Figure 3 S304 of the embodiment shown; optimization module 705, used to implement Figure 3 S305 of the embodiment shown; fusion module 706, used to implement Figure 3 S306 of the illustrated embodiment.
[0090] Specifically, the acquisition module 701 is used to acquire a multi-frame point cloud, wherein the multi-frame point cloud includes a first frame point cloud and a second frame point cloud, wherein the first frame point cloud is a point cloud at an initial moment;
[0091] A first processing module 702 is used to determine a first relative pose parameter of the second frame point cloud relative to the first frame point cloud based on a global coordinate system, wherein the global coordinate system is a coordinate system where the point cloud at the initial moment is located;
[0092] A second processing module 703 is used to determine a second relative pose parameter of a priori model relative to the second frame point cloud, wherein the priori model is a three-dimensional model that matches target frame point clouds of at least two frames included in the multi-frame point clouds, and the second frame point cloud is the target frame point cloud;
[0093] A third processing module 704 is used to obtain a priori pose parameters of the priori model in the global coordinate system based on the first relative pose parameters and the second relative pose parameters;
[0094] An optimization module 705 is used to optimize the pose parameters of other target frame point clouds except the second frame point cloud by using the prior pose parameters of the prior model in the global coordinate system;
[0095] The fusion module 706 is used to fuse the optimized multi-frame point clouds to obtain a point cloud map.
[0096] In a possible implementation, the second processing module 703 is used to separate a matching point cloud that matches the prior model from the second frame point cloud; and determine a second relative pose parameter of the prior model relative to the matching point cloud.
[0097] In a possible implementation, the prior model includes a model of the target object, and the second processing module 703 is used to separate a matching point cloud matching the prior model from the second frame point cloud, including:
[0098] The second processing module 703 is used to determine the overlapping point clouds that match the model of the target object with the second frame point cloud; and remove the point clouds other than the overlapping point clouds in the second frame point cloud to obtain matching point clouds.
[0099] In a possible implementation, the second processing module 703 is used to determine the overlapping point cloud of the second frame point cloud and the model of the target object, including:
[0100] The second processing module 703 is used to perform target detection on the second frame point cloud using a target detection model to obtain a label indicating the position of the point cloud of the target object in the second frame point cloud and the point cloud of the target object, wherein the target detection model is trained using the training point cloud of the target object and the label of the target object; retrieve the prior model from the prior model library using a target retrieval model, wherein the target retrieval model is trained using the training point cloud of the target object and the three-dimensional model of the target object; and register the model of the target object included in the prior model with the point cloud of the target object using a registration model to obtain the overlapping point cloud, wherein the registration model is trained using the training point cloud of the target object and the training three-dimensional model of the target object.
[0101] In a possible implementation, the fusion module 706 is used to fuse the multiple frames of point clouds and use the prior model to remove noise to obtain a point cloud map.
[0102] In a possible implementation, the prior model is a Mesh model or a Neural Signed Distance Function (NeuralSDF) model.
[0103] For the specific implementation process, please refer to the above Figure 3 The detailed description of the corresponding steps in the illustrated embodiment will not be repeated here one by one.
[0104] It should be noted that, in this embodiment, the division and functional description of each module in the point cloud map generation device is only used as an example. For example, in other embodiments, the acquisition module 701 can be used to execute any step in the above-mentioned point cloud map generation method. Similarly, the first processing module 702, the second processing module 703, the third processing module 704, the optimization module 705 and the fusion module 706 can all be used to execute any step in the above-mentioned point cloud map generation method. In addition, the acquisition module 701, the first processing module 702, the second processing module 703, the third processing module 704, the optimization module 705 and the fusion module 706 are responsible for implementing the steps that can be specified as needed. The acquisition module 701, the first processing module 702, the second processing module 703, the third processing module 704, the optimization module 705 and the fusion module 706 respectively implement different steps in the point cloud map generation method to realize the full functions of the point cloud map generation device.
[0105] The point cloud map generation device involved in the point cloud map generation process (including the above-mentioned acquisition module 701, the first processing module 702, the second processing module 703, the third processing module 704, the optimization module 705 and the fusion module 706) can be software configured on a computing device or a computing device cluster, and by running the software on the computing device or the computing device cluster, the computing device or the computing device cluster can realize the functions of the above-mentioned point cloud map generation device. Below, based on the perspective of hardware device implementation, the point cloud map generation device involved in the point cloud map generation process is introduced in detail.
[0106] Figure 8 A schematic diagram of the structure of a computing device is shown. The above-mentioned point cloud map generation device can be deployed on the computing device. The computing device can be a computing device in a cloud environment (such as a server), or a computing device in an edge environment, or a terminal device, etc., which can be specifically used to implement the above-mentioned Figure 7 The functions of the acquisition module 701 , the first processing module 702 , the second processing module 703 , the third processing module 704 , the optimization module 705 and the fusion module 706 in the illustrated embodiment.
[0107] like Figure 8 As shown, computing device 800 includes processor 810, memory 820, communication interface 830 and bus 840. Processor 810, memory 820 and communication interface 830 communicate through bus 840. Bus 840 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 The communication interface 830 is used to communicate with the outside, for example, to receive multiple frames of point cloud.
[0108] Among them, the processor 810 can be a central processing unit (CPU), an application specific integrated circuit (ASIC), a graphics processing unit (GPU) or one or more integrated circuits. The processor 810 can also be an integrated circuit chip with signal processing capabilities. In the implementation process, the functions of each module in the point cloud map generation device can be completed by the hardware integrated logic circuit or software instructions in the processor 810. The processor 810 can also be a general processor, a digital signal process (DSP), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. Among them, the general processor can be a microprocessor or the processor can also be any conventional processor, etc., and the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 820, and the processor 810 reads the information in the memory 820 and completes part or all of the functions of the point cloud map generation device in combination with its hardware.
[0109] The memory 820 may include a volatile memory, such as a random access memory (RAM), or a non-volatile memory, such as a read-only memory (ROM), a flash memory, a HDD, or a SSD.
[0110] The memory 820 stores executable codes, and the processor 810 executes the executable codes to execute the method performed by the aforementioned point cloud map generation device.
[0111] Specifically, in implementing Figure 7 In the case of the embodiment shown, and Figure 7In the illustrated embodiment, the acquisition module 701, the first processing module 702, the second processing module 703, the third processing module 704, the optimization module 705 and the fusion module 706 are implemented by software. Figure 3 The software or program code required for the functions of steps S301-S306 is stored in the memory 820, the interaction between the acquisition module 701 and other devices is realized through the communication interface 830, and the processor is used to execute the instructions in the memory 820 to implement the method executed by the point cloud map generation device.
[0112] Fig. 9 A schematic diagram of the structure of a computing device cluster is shown. Fig. 9 The computing device cluster 90 shown includes multiple computing devices, and the above-mentioned point cloud map generation device can be distributedly deployed on multiple computing devices in the computing device cluster 90. Fig. 9 As shown, the computing device cluster 90 includes multiple computing devices 900 , each computing device 900 includes a memory 920 , a processor 910 , a communication interface 930 and a bus 940 , wherein the memory 920 , the processor 910 , and the communication interface 930 are communicatively connected to each other via the bus 940 .
[0113] The processor 910 may be a CPU, a GPU, an ASIC, or one or more integrated circuits. The processor 910 may also be an integrated circuit chip with signal processing capabilities. In the implementation process, some functions of the point cloud map generation device may be completed by hardware integrated logic circuits or software instructions in the processor 910. The processor 910 may also be a DSP, an FPGA, a general processor, other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and may implement or execute some methods, steps, and logic block diagrams disclosed in the embodiments of the present application. Among them, the general processor may be a microprocessor or the processor may also be any conventional processor, etc., and the steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 920. In each computing device 900, the processor 910 reads the information in the memory 920, and in combination with its hardware, some functions of the point cloud map generation device may be completed.
[0114] The memory 920 may include ROM, RAM, static storage device, dynamic storage device, hard disk (such as SSD, HDD), etc. The memory 920 may store program codes, for example, part or all of the program codes for implementing the acquisition module 701, part or all of the program codes for implementing the first processing module 702, part or all of the program codes for implementing the second processing module 703, part or all of the program codes for implementing the third processing module 704, part or all of the program codes for implementing the optimization module 705, part or all of the program codes for implementing the fusion module 706, etc. For each computing device 900, when the program code stored in the memory 920 is executed by the processor 910, the processor 910 executes part of the method executed by the point cloud map generation device based on the communication interface 930, such as a part of the computing device 900 can be used to execute the methods executed by the acquisition module 701, the first processing module 702, the second processing module 703, and the third processing module 704, and another part of the computing device 900 is used to execute the methods executed by the optimization module 705 and the fusion module 706. The memory 920 may also store data, such as intermediate data or result data generated by the processor 910 during execution, such as first relative posture parameters and second relative posture parameters.
[0115] The communication interface 903 in each computing device 900 is used for external communication, such as interacting with other computing devices 900 .
[0116] The bus 940 may be a peripheral component interconnect standard bus or an extended industry standard architecture bus. For ease of representation, Fig. 9 The bus 940 in each computing device 900 is represented by only one thick line, but this does not mean that there is only one bus or one type of bus.
[0117] The plurality of computing devices 900 establish communication paths through a communication network to implement the function of the point cloud map generation device. Any computing device may be a computing device in a cloud environment (eg, a server), or a computing device in an edge environment, or a terminal device.
[0118] In addition, an embodiment of the present application also provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is run on one or more computing devices, the one or more computing devices execute the methods executed by the various modules of the point cloud map generation device of the above-mentioned embodiment.
[0119] In addition, the embodiment of the present application further provides a computer program product, and when the computer program product is executed by one or more computing devices, the one or more computing devices execute any of the aforementioned methods for generating a point cloud map. The computer program product may be a software installation package, and when any of the aforementioned methods for generating a point cloud map is required, the computer program product may be downloaded and executed on a computer.
[0120] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
[0121] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0122] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0123] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.
Claims
1. A method for generating a point cloud map, characterized in that: The method comprises: Acquire a multi-frame point cloud, wherein the multi-frame point cloud includes a first frame point cloud and a second frame point cloud, wherein the first frame point cloud is a point cloud at an initial moment; Determine a first relative pose parameter of the second frame point cloud relative to the first frame point cloud based on a global coordinate system, wherein the global coordinate system is a coordinate system where the point cloud at the initial moment is located; Determine a second relative pose parameter of the prior model relative to the second frame point cloud, the prior model is a three-dimensional model that matches the target frame point clouds of at least two frames included in the multi-frame point clouds, and the second frame point cloud is the target frame point cloud; Based on the first relative pose parameter and the second relative pose parameter, obtaining a priori pose parameters of the priori model in the global coordinate system; Optimizing the pose parameters of other target frame point clouds except the second frame point cloud by using the prior pose parameters of the prior model in the global coordinate system; The optimized multi-frame point clouds are fused to obtain a point cloud map.
2. The method according to claim 1, characterized in that: The determining of a second relative pose parameter of the prior model relative to the second frame point cloud comprises: Separating and obtaining a matching point cloud that matches the prior model from the second frame point cloud; Determine a second relative pose parameter of the prior model relative to the matching point cloud.
3. The method according to claim 2, characterized in that The prior model includes a model of the target object, and the step of separating the matching point cloud that matches the prior model from the second frame point cloud includes: Determining overlapping point clouds of the second frame point cloud and the model of the target object; The point clouds other than the overlapping point clouds in the second frame point cloud are eliminated to obtain matching point clouds.
4. The method according to claim 3, characterized in that The determining of overlapping point clouds of the second frame point cloud and the model of the target object includes: Performing target detection on the second frame point cloud using a target detection model to obtain a label indicating a position of a point cloud of a target object in the second frame point cloud and the point cloud of the target object, wherein the target detection model is trained using a training point cloud of the target object and the label of the target object; Retrieving the prior model from the prior model library using a target retrieval model, wherein the target retrieval model is trained using a training point cloud of a target object and a three-dimensional model of the target object; The model of the target object included in the prior model is registered with the point cloud of the target object using a registration model to obtain the overlapping point cloud, and the registration model is trained using the training point cloud of the target object and the training three-dimensional model of the target object.
5. The method according to any one of claims 1 to 4, characterized in that: The step of fusing the optimized multi-frame point clouds to obtain a point cloud map includes: The multi-frame point clouds are fused, and the prior model is used to remove noise to obtain a point cloud map.
6. The method according to any one of claims 1 to 5, characterized in that: The prior model is a mesh model or a neural signed distance function NeuralSDF model.
7. A device for generating a point cloud map, characterized in that: The device comprises: An acquisition module, used for acquiring a multi-frame point cloud, wherein the multi-frame point cloud includes a first frame point cloud and a second frame point cloud, wherein the first frame point cloud is a point cloud at an initial moment; A first processing module, configured to determine a first relative pose parameter of the second frame point cloud relative to the first frame point cloud based on a global coordinate system, wherein the global coordinate system is a coordinate system where the point cloud at the initial moment is located; A second processing module is used to determine a second relative pose parameter of a priori model relative to the second frame point cloud, wherein the priori model is a three-dimensional model that matches target frame point clouds of at least two frames included in the multi-frame point clouds, and the second frame point cloud is the target frame point cloud; A third processing module, configured to obtain a priori pose parameters of the priori model in the global coordinate system based on the first relative pose parameters and the second relative pose parameters; An optimization module, configured to optimize the pose parameters of other target frame point clouds except the second frame point cloud by using the a priori pose parameters of the a priori model in the global coordinate system; The fusion module is used to fuse the optimized multi-frame point clouds to obtain a point cloud map.
8. The device according to claim 7, characterized in that The second processing module is used to separate a matching point cloud that matches the prior model from the second frame point cloud; and determine a second relative pose parameter of the prior model relative to the matching point cloud.
9. The device according to claim 8, characterized in that The prior model includes a model of the target object, and the second processing module is used to separate and obtain a matching point cloud matching the prior model from the second frame point cloud, including: The second processing module is used to determine the overlapping point clouds that match the model of the target object with the second frame point cloud; and to remove the point clouds other than the overlapping point clouds in the second frame point cloud to obtain matching point clouds.
10. The device according to claim 9, characterized in that The second processing module is used to determine the overlapping point cloud of the second frame point cloud and the model of the target object, including: The second processing module is used to perform target detection on the second frame point cloud using a target detection model to obtain a label indicating the position of the point cloud of the target object in the second frame point cloud and the point cloud of the target object, wherein the target detection model is trained using the training point cloud of the target object and the label of the target object; retrieve the prior model from the prior model library using a target retrieval model, wherein the target retrieval model is trained using the training point cloud of the target object and the three-dimensional model of the target object; and register the model of the target object included in the prior model with the point cloud of the target object using a registration model to obtain the overlapping point cloud, wherein the registration model is trained using the training point cloud of the target object and the training three-dimensional model of the target object.
11. The device according to any one of claims 7 to 10, characterized in that: The fusion module is used to fuse the multi-frame point clouds and use the prior model to remove noise to obtain a point cloud map.
12. The device according to any one of claims 7 to 11, characterized in that: The prior model is a mesh model or a neural signed distance function NeuralSDF model.
13. A device, characterized in that, The device comprises: Memory, including instructions; A processor, when the processor executes the instruction, enables the device to implement the method for generating a point cloud map as described in any one of claims 1 to 6.
14. A computing device cluster, characterized in that: comprising at least one computing device, each computing device comprising a processor and a memory; The processor is used to execute instructions stored in the memory so that the computing device cluster executes the method for generating a point cloud map as described in any one of claims 1-6.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, which, when executed on a device, enable the device to execute the method for generating a point cloud map as described in any one of claims 1 to 6.
16. A computer program product comprising instructions, which, when executed on a device, enables the device to execute the method for generating a point cloud map as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Scene processing method, apparatus and system and related device
WO2022205102A1
Cited By
Three-dimensional scanning processing method and device based on prior data and computer equipment
CN119164319A
3D scanning processing methods, apparatus, and computer equipment based on prior data
CN119164319B
