A method and device for constructing dense point cloud maps by multi-robot collaboration
By using the ORB-SLAM3 algorithm and the two-layer filtering algorithm in multi-robot SLAM, combined with the bag-of-words model to construct dense point cloud maps, the problems of large calculations and high memory consumption of traditional algorithms are solved, and efficient multi-robot SLAM map construction is achieved. and high precision, suitable for multi-robot navigation and obstacle avoidance.
Patent Information
- Application Number
- CN202210611705.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-31
- Publication Date
- 2024-10-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing multi-robot SLAM algorithms require high computational platform computing power and memory when constructing dense point cloud maps, and have poor real-time performance on non-GPU platforms. They cannot continue to run when communication signals are unstable, making it difficult to meet the requirements of multi-robot navigation and obstacle avoidance. need.
The ORB-SLAM3 algorithm is used combined with the two-layer filtering algorithm to filter map points, and the bag-of-words model is used for indirect registration of map key frame images, and voxel filtering and statistical filtering are used to reduce the amount of calculation and memory consumption, and improve real-time performance and Accuracy.
It achieves efficient and high-precision construction of multi-robot SLAM maps in different scenarios, reduces computing power and memory requirements, improves real-time performance, and is suitable for multi-robot navigation and obstacle avoidance.
Smart Images

Figure CN115018999B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method for constructing a dense point cloud map by multi-robot collaboration, a device for constructing a dense point cloud map by multi-robot collaboration, a computer device and a storage medium. Background Art
[0002] Visual Simultaneous Localization And Mapping (V-SLAM) is an important research direction in the field of computer vision. The technology has been widely used in 3D reconstruction, autonomous driving, augmented reality and other scenarios. At present, V-SLAM has developed many relatively mature open source algorithms, such as MonoSLAM, PTAM, ORB-SLAM, LSD-SLAM, SVO, DTAM, DVO, DSO, VINS, RGBD-SLAM-V2, DSM, etc. These algorithms have good efficiency and accuracy for single-robot SLAM, but have not yet been used for multi-robot SLAM. Among the many SLAM algorithms, ORB-SLAM3 is one of the algorithms with the best comprehensive performance, with high feature extraction efficiency, high positioning accuracy, support for multiple sensors, support for loop detection, relocation, and multi-map management. However, there are also disadvantages, such as the small amount of information in the constructed sparse point cloud map and the low efficiency of single-robot mapping.
[0003] Although sparse point clouds can describe the surrounding environment to a certain extent and meet the positioning needs of robots in certain scenarios, they cannot meet the needs of robot navigation and obstacle avoidance due to the large distance between points. The difference between dense point clouds and sparse point clouds is that dense point clouds have more and denser map points, which can describe the environment in more detail. After further processing, they can meet the navigation and obstacle avoidance needs of robots. However, traditional algorithms for constructing dense point clouds have disadvantages such as high computing power and memory requirements for computing platforms.
[0004] The research on single-robot SLAM algorithms is relatively mature, but multi-robot SLAM has higher efficiency and robustness, so the research on multi-robot SLAM has gradually become a hot topic. Early multi-robot SLAM was mainly based on filtering algorithms, such as the Constrained Local Submap Filter (CLSF), but the algorithm has shortcomings such as low accuracy and limitation to indoor environments. The distributed multi-robot SLAM algorithm based on the Kimera algorithm has high accuracy and robustness, but has high requirements on computing power and poor real-time performance on non-GPU platforms. The solution to this problem is to use cloud computing, but there is also the problem of being unable to continue running when the communication signal is unstable. Summary of the invention
[0005] In view of the above problems, embodiments of the present invention are proposed to provide a multi-robot collaborative dense point cloud map construction method, a multi-robot collaborative dense point cloud map construction device, a computer device and a storage medium that overcome the above problems or at least partially solve the above problems.
[0006] In order to solve the above problems, an embodiment of the present invention discloses a method for constructing a dense point cloud map by multi-robot collaboration, comprising:
[0007] Obtaining RGB-D images of key frames respectively collected by two robots, extracting ORB feature data according to the RGB-D images, and solving the pose relationship between the key frames;
[0008] The extracted RGB-D image is downsampled and filtered to filter the map points, and the keyframe dense point cloud map is constructed using the pinhole camera model. The keyframe map is added to the local map through the keyframe pose relationship;
[0009] The local maps are processed by voxel filtering to construct dense point cloud maps of the two robots respectively;
[0010] The bag-of-words model constructed using ORB features is used to calculate and match the distance between the key frame image word vectors of the two dense point cloud maps. The ICP algorithm is used to estimate the transformation relationship between the two maps. The two maps are fused and subjected to voxel filtering and statistical filtering to construct a multi-robot dense point cloud map.
[0011] Preferably, the downsampling and filtering of the extracted RGB-D image to filter the map points, and then using the pinhole camera model to construct the key frame dense point cloud map, and adding the key frame map to the local map through the key frame pose relationship, includes:
[0012] The RGB-D image is downsampled and filtered by using the alternate row and column sampling method;
[0013] Convert the downsampled and filtered data into a dense point cloud map of this key frame, and transform the map into a local map using the pose of this key frame;
[0014] Voxel filtering is performed on the local map.
[0015] Preferably, the bag-of-words model constructed using ORB features calculates and matches the distance between the key frame image word vectors of the two dense point cloud maps, estimates the transformation relationship between the two maps using the ICP algorithm, fuses the two maps and performs a voxel filtering and statistical filtering process to construct a multi-robot dense point cloud map, including:
[0016] Construct a K-ary tree dictionary model;
[0017] Match word vectors based on image features;
[0018] The transformation relationship between the two maps is estimated through the ICP algorithm for registration.
[0019] Preferably, the constructing of a K-ary tree dictionary model includes:
[0020] Extract ORB features;
[0021] Use K-means clustering method to cluster features and generate words;
[0022] Construct a K-ary tree dictionary model to store words.
[0023] Preferably, the word vector matching for image features includes:
[0024] Extract image features, determine the words they belong to, and count the categories and frequencies of the words that appear;
[0025] Calculate weights using the TF-IDF method;
[0026] Build word vectors;
[0027] The word vector similarity is scored and Gaussian filtered to identify image pairs with similarity scores above a preset threshold.
[0028] Preferably, the estimating the transformation relationship between the two maps by using an ICP algorithm and performing registration includes:
[0029] Extract and match ORB features;
[0030] Constructing the error function
[0031] The constructed error function is solved by the ICP algorithm for registration.
[0032] The embodiment of the present invention discloses a multi-robot collaborative dense point cloud map construction device, comprising:
[0033] An acquisition module is used to acquire RGB-D images of key frames collected by two robots respectively, extract ORB feature data according to the RGB-D images, and calculate the pose relationship between the key frames;
[0034] The local map adding module is used to downsample and filter the extracted RGB-D image to filter the map points, use the pinhole camera model to construct the keyframe dense point cloud map, and add the keyframe map to the local map through the keyframe pose relationship;
[0035] The dense point cloud map construction module is used to process the local map through voxel filtering and complete the construction of dense point cloud maps of the two robots respectively;
[0036] The multi-robot dense point cloud map construction module is used to calculate and match the distance between the key frame image word vectors of two dense point cloud maps using the bag-of-words model constructed with ORB features, estimate the transformation relationship between the two maps using the ICP algorithm, fuse the two maps, and perform voxel filtering and statistical filtering to construct a multi-robot dense point cloud map.
[0037] Preferably, the local map adding module includes:
[0038] A downsampling filter submodule is used to perform downsampling filtering on the RGB-D image by adopting an alternate row and alternate column sampling method;
[0039] The local map transformation submodule is used to convert the downsampled and filtered data into a dense point cloud map of this key frame, and transform the map into a local map using the pose of this key frame;
[0040] The voxel filtering submodule is used to perform voxel filtering on the local map.
[0041] An embodiment of the present invention discloses a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned multi-robot collaborative dense point cloud map construction method when executing the computer program.
[0042] An embodiment of the present invention discloses a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the above-mentioned multi-robot collaborative dense point cloud map construction method are implemented.
[0043] The embodiments of the present invention include the following advantages:
[0044] In the embodiment of the present invention, based on the mapping scheme of the ORB-SLAM3 algorithm, a two-layer filtering algorithm is proposed to screen the map points, and the dense point cloud map of a single robot is constructed efficiently, which solves the problem that the traditional dense point cloud map construction algorithm has high requirements for computing power and memory; combined with the bag-of-words model, a scheme for indirectly registering the dense point cloud map by matching the map keyframe image is proposed, and finally the map is filtered and denoised using voxel filtering and statistical filtering. Compared with the comparative algorithm, the experimental results show that the algorithm in this paper can more reliably realize the construction of multi-robot SLAM maps in different scenarios, and has better real-time performance and accuracy, and has better application prospects. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0046] Figure 1 It is a flowchart of the steps of an embodiment of a method for constructing a dense point cloud map by multi-robot collaboration according to an embodiment of the present invention;
[0047] Figure 2 It is a framework diagram of an embodiment of a method for constructing a dense point cloud map by multi-robot collaboration according to an embodiment of the present invention;
[0048] Figure 3 It is a process step diagram of building a dense point cloud map according to an embodiment of the present invention;
[0049] Figure 4 is a schematic diagram of a dictionary construction process according to an embodiment of the present invention;
[0050] Figure 5 is a schematic diagram of a three-dimensional coordinate transformation according to an embodiment of the present invention;
[0051] Figure 6 It is a structural block diagram of an embodiment of a multi-robot collaborative dense point cloud map construction device according to an embodiment of the present invention;
[0052] Figure 7 The diagram is a diagram of the internal structure of a computer device according to an embodiment. DETAILED DESCRIPTION
[0053] In order to make the technical problems, technical solutions and beneficial effects solved by the embodiments of the present invention more clearly understood, the embodiments of the present invention are 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 invention and are not used to limit the present invention.
[0054] Reference Figure 1 , shows a flowchart of a method for constructing a dense point cloud map by multi-robot collaboration according to an embodiment of the present invention, which may specifically include the following steps:
[0055] Step 101, obtaining RGB-D images of key frames respectively collected by two robots, extracting ORB feature data according to the RGB-D images, and solving the pose relationship between the key frames;
[0056] The framework diagram of the multi-robot collaborative dense point cloud map construction method of the present invention is as follows Figure 2As shown. First, let two robots carrying RGB-D cameras run the ORB-SLAM3 algorithm respectively, extract the RGB-D images, poses and ORB feature data of all key frames from the key frame database, then downsample and filter the extracted RGB-D images to filter the map points, and then use the pinhole camera model to build the key frame dense point cloud map. The key frame map is added to the local map through the key frame pose relationship, and finally the local map is processed by voxel filtering to complete the construction of two single robot dense point cloud maps. The bag of words model constructed by ORB features is used to calculate and match the distance between the word vectors of the key frame images of the two maps, and then the ICP algorithm is used to estimate the transformation relationship between the two maps. Finally, the two maps are fused and a voxel filtering and statistical filtering process is performed, finally realizing the construction of multi-robot dense point cloud maps.
[0057] Step 102, downsampling and filtering the extracted RGB-D image to filter map points, using the pinhole camera model to construct a keyframe dense point cloud map, and adding the keyframe map to the local map through the keyframe pose relationship;
[0058] In the embodiment of the present invention, the pinhole camera model can be abstracted into a mathematical model formula (1);
[0059]
[0060] After transformation, formula (1) can be obtained as formula (2);
[0061] P C =ZK -1 P uv (2)
[0062] Where P uv is the homogeneous coordinate of any pixel in the RGB image; K -1 is the inverse matrix of the camera internal parameters; Z is the depth of this pixel, P C is the coordinate of the point in this camera coordinate system.
[0063] The two-layer filtering composition algorithm proposed in this paper can ensure that the map is not seriously distorted, improve the composition speed to a certain extent, and reduce memory consumption.
[0064] The process of constructing the dense point cloud map of the present invention is as follows: Figure 3 As shown, the following steps are included:
[0065] Step 11: Downsampling filtering. Downsampling filtering can fundamentally reduce the amount of data. When traversing the RGB image and the depth image, an alternate row and alternate column sampling scheme is adopted. This method can reduce the number of map points by more than 75% without serious impact on the composition effect; that is, the RGB-D image is downsampled and filtered by alternate row and alternate column sampling;
[0066] Step 12: Local dense point cloud map construction. Use formula (2) to convert the downsampled and filtered data into a dense point cloud map of this key frame, and use the pose of this key frame to transform the map into the local map; that is, convert the downsampled and filtered data into a dense point cloud map of this key frame, and use the pose of this key frame to transform the map into the local map;
[0067] Step 13: voxel filtering is performed on the local map. Voxel filtering can achieve the effect of downsampling without destroying the geometric structure of the point cloud itself. When more key frame maps are added to the local map, the point cloud is rasterized, and the centroid of all points in the voxel grid is used to represent all points in the grid. This method requires a large amount of calculation, but after downsampling filtering in step 1, voxel filtering can also ensure a certain degree of real-time performance.
[0068] Step 103, processing the local map by voxel filtering, and completing the construction of dense point cloud maps of the two robots respectively;
[0069] Step 104, using the bag-of-words model constructed using ORB features to calculate and match the distance between the key frame image word vectors of the two dense point cloud maps, using the ICP algorithm to estimate the transformation relationship between the two maps, merging the two maps and performing voxel filtering and statistical filtering processing to construct a multi-robot dense point cloud map.
[0070] In an embodiment of the present invention, the following steps are included: constructing a K-ary tree dictionary model; performing word vector matching based on image features; and estimating the transformation relationship between two maps through an ICP algorithm for registration.
[0071] Furthermore, the Bag of Words model (BoW) is a method for describing complex information. The visual bag of words model classifies image feature descriptions into words through a clustering algorithm and constructs a K-tree dictionary for easy retrieval. The categories and frequencies of words appearing in the image to be matched are counted, the word weights are calculated, and all word weights are converted into a word vector to describe the image. The similarity of the images can be determined by calculating the word vector distance between the two images.
[0072] The construction of the K-ary tree dictionary model includes the following steps:
[0073] Step 21: Feature extraction. In the embodiment of the present invention, ORB features are used. Other common image features include SITF, SURF, etc.
[0074] Step 22: Word generation. Use K-means clustering method to cluster the features and generate words, such as Figure 4 part (a) of
[0075] Step 23: Dictionary construction. Construct a KD-tree (K-ary tree dictionary model) to store words for easy word retrieval, such as Figure 4 Part (b) of the
[0076] The word vector matching for image features includes the following steps:
[0077] Step 31: Word statistics. Extract image features, determine the words to which they belong, and count the categories and frequencies of the words that appear;
[0078] Step 32: Calculate word weights. Use the TF-IDF method to calculate weights;
[0079] TF i Refers to the frequency of the i-th word appearing in this image, defined as the number of times this word appears in this image n i Compared with the total number of words N in this image, as shown in formula (3);
[0080]
[0081] IDF i Refers to the number of features n of the leaf node where the i-th word is located i The negative logarithm of the ratio of the number of all features n, as shown in formula (4);
[0082]
[0083] The weight w of the i-th word i For TF i With IDF i The product of is as shown in formula (5);
[0084] w i =TF i *IDF i (5)
[0085] Step 33: Word vector construction. Define the word vector V of the nth image n As formula (6);
[0086] V n =[w1,w2,w3,......,w j ] (6)
[0087] Step 34: Calculate similarity score. Common similarity scoring methods include dot product, L1 norm, L2 norm, KL divergence / relative entropy, Bhattacharyya distance, chi-square distance, etc. In order to ensure the matching speed, this paper adopts the L1 norm which is relatively simple to calculate. The similarity score S is calculated as shown in formula (7), where V ij The word vector representing the image of the i-th map at the j-th moment.
[0088]
[0089] Step 35: Similarity score Gaussian filtering. Because RGB-D images are sampled at continuous time intervals, it can be assumed that the source image is similar to the target image and its adjacent images. By weighting the adjacent similarity scores through the Gaussian filtering algorithm, false matches can be reduced. The similarity score S after Gaussian filtering is guass The calculation formula is as shown in formula (8);
[0090]
[0091] Step 36: Image matching. Image pairs with similarity scores above a threshold are selected.
[0092] Furthermore, the estimating the transformation relationship between the two maps by using the ICP algorithm and performing registration includes the following steps:
[0093] Step 41: Extract and match ORB features;
[0094] ORB feature extraction and matching. Obtain a set of matched 3D points P and P' in similar images, as shown in formula (9)
[0095]
[0096] Step 42: construct an error function;
[0097] (1) Assume that the rotation matrix of the matching image’s pose transformation is R 3×3 , the translation phase is t 3×1 , then the i-th pair of matching points has the constraint relationship of formula (10);
[0098]
[0099] (2) Define the error term of the i-th pair of points as shown in formula (11);
[0100] e i =p i -(Rp′ i +t) (11)
[0101] Step 43: Solve the constructed error function through the ICP algorithm to perform registration.
[0102] The ICP solution can construct a least squares problem as shown in Equation (12), and the SVD method is used to solve R, t so that the sum of squared errors is minimized.
[0103]
[0104] The calculation steps are as follows:
[0105] (1) Calculate the centroids of the two groups of point clouds, denoted as μ and μ', respectively, as shown in Equations (13) and (14);
[0106]
[0107]
[0108] (2) Construct the matrix H after removing the centroid, as shown in formula (15);
[0109]
[0110] (3) Perform SVD decomposition on the matrix H to obtain equation (16);
[0111] H=UΣV T (16)
[0112] (4) Calculation results: The rotation matrix R is as shown in equation (17), and the translation phase quantity t is as shown in equation (18). R and t are integrated into a homogeneous transformation matrix as shown in equation (19).
[0113] R=VU T (17)
[0114] t=μ'-Rμ (18)
[0115]
[0116] Further applied to the present invention, the steps of fusing the two maps and performing voxel filtering and statistical filtering to construct a multi-robot dense point cloud map include:
[0117] Step 51: Calculate the coordinate transformation relationship T between the two maps m . Use the bag-of-words model to obtain two similar images, assuming that the camera extrinsics of the images are T c1 and T c2 , the transformation matrix T between images is calculated by the ICP algorithm cc . Assume that the coordinates of a point on the map in the two map coordinate systems are p and p' respectively, such as Figure 5 shown.
[0118] The constraints of the two map coordinate systems are as follows:
[0119] p=T m p' (20)
[0120] The constraint conditions between the two images are as follows:
[0121]
[0122] Integrating equation (20) and equation (21), we can get equation (22);
[0123]
[0124] Step 52: RANSAC algorithm optimization. Because there are more than one pair of images that are judged to be similar by the bag-of-words model, there may be mismatches, so the T m It is not unique and to ensure its correctness, it is necessary to filter out the outliers through the RANSAC algorithm and calculate the optimal T m .
[0125] Step 53: Voxel filtering. After the map is fused, there must be overlapping parts between the two maps. Voxel filtering is required to remove the duplicate parts to reduce memory consumption. For the specific steps of voxel filtering, please refer to step 13.
[0126] Step 54: Statistical filtering. Since the infrared light of the RGB-D camera is easily affected by natural light, there are a certain number of noisy outliers in the data, and statistical filtering is required to remove the noise points. Statistical filtering assumes that the average distance between all points and the nearest K nearest points satisfies the Gaussian distribution. The variance of the average distance can be calculated to determine the threshold. When the average distance of a point is greater than this threshold, the point can be judged as an outlier. Because statistical filtering has a large amount of calculation and its effect is only to remove noise points with little impact, this article only uses it before the final output map.
[0127] In the embodiment of the present invention, based on the mapping scheme of the ORB-SLAM3 algorithm, a two-layer filtering algorithm is proposed to screen the map points, and the dense point cloud map of a single robot is constructed efficiently, which solves the problem that the traditional dense point cloud map construction algorithm has high requirements for computing power and memory; combined with the bag-of-words model, a scheme for indirectly registering the dense point cloud map by matching the map keyframe image is proposed, and finally the map is filtered and denoised using voxel filtering and statistical filtering. Compared with the comparative algorithm, the experimental results show that the algorithm in this paper can more reliably realize the construction of multi-robot SLAM maps in different scenarios, and has better real-time performance and accuracy, so it has better application prospects.
[0128] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0129] Reference Figure 6 , shows a structural block diagram of an embodiment of a multi-robot collaborative dense point cloud map construction device according to an embodiment of the present invention, which may specifically include the following modules:
[0130] An acquisition module 301 is used to acquire RGB-D images of key frames respectively collected by two robots, extract ORB feature data according to the RGB-D images, and calculate the pose relationship between the key frames;
[0131] The local map adding module 302 is used to perform downsampling filtering on the extracted RGB-D image to filter the map points, construct a keyframe dense point cloud map using a pinhole camera model, and add the keyframe map to the local map through the keyframe pose relationship;
[0132] A dense point cloud map construction module 303 is used to process the local map through voxel filtering to complete the construction of dense point cloud maps of the two robots respectively;
[0133] The multi-robot dense point cloud map construction module 304 is used to calculate and match the distance between the key frame image word vectors of the two dense point cloud maps using the bag-of-words model constructed by the ORB feature, estimate the transformation relationship between the two maps using the ICP algorithm, fuse the two maps and perform voxel filtering and statistical filtering processing to construct a multi-robot dense point cloud map.
[0134] Preferably, the local map adding module includes:
[0135] A downsampling filter submodule is used to perform downsampling filtering on the RGB-D image by adopting an alternate row and alternate column sampling method;
[0136] The local map transformation submodule is used to convert the downsampled and filtered data into a dense point cloud map of this key frame, and transform the map into a local map using the pose of this key frame;
[0137] The voxel filtering submodule is used to perform voxel filtering on the local map.
[0138] Preferably, the multi-robot dense point cloud map construction module includes:
[0139] K-ary tree dictionary construction submodule, used to construct a K-ary tree dictionary model;
[0140] The word vector matching submodule is used to match word vectors based on image features;
[0141] The registration submodule is used to estimate the transformation relationship between two maps through the ICP algorithm and perform registration.
[0142] Preferably, the K-ary tree dictionary construction submodule includes:
[0143] A feature extraction unit, used to extract ORB features;
[0144] A word generation unit, used to cluster features using a K-means clustering method to generate words;
[0145] A construction unit is used to construct a K-ary tree dictionary model for storing words.
[0146] Preferably, the word vector matching submodule includes:
[0147] A statistical unit is used to extract image features, determine the words to which they belong, and count the categories and frequencies of the words that appear;
[0148] A weight calculation unit, used to calculate weights using the TF-IDF method;
[0149] A word vector construction unit, used to construct word vectors;
[0150] The computing unit is used to perform score calculation for word vector similarity and perform Gaussian filtering on the score to identify image pairs with similarity scores higher than a preset threshold.
[0151] Preferably, the registration submodule comprises:
[0152] Extraction and matching unit, used to extract and match ORB features;
[0153] Error function building unit, used to build the error function
[0154] The registration unit is used to solve the constructed error function through the ICP algorithm to perform registration.
[0155] Each module in the above multi-robot collaborative dense point cloud map construction device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.
[0156] The multi-robot collaborative dense point cloud map construction device provided above can be used to execute the multi-robot collaborative dense point cloud map construction method provided in any of the above embodiments, and has corresponding functions and beneficial effects.
[0157] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 7As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for constructing a dense point cloud map of multi-robot collaboration is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0158] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0159] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, Figure 1 to Figure 2 The steps of the embodiment.
[0160] In one embodiment, a computer-readable storage medium is provided on which a computer program is stored. When the computer program is executed by a processor, the following is achieved: Figure 1 to Figure 2 The steps of the embodiment.
[0161] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0162] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0163] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0164] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0165] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0166] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0167] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0168] The above is a detailed introduction to a multi-robot collaborative dense point cloud map construction method, a multi-robot collaborative dense point cloud map construction device, a computer device and a storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the ideas of the present invention, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A multi-robot collaborative dense point cloud map construction method, characterized in that: include: Obtaining RGB-D images of key frames respectively collected by two robots, extracting ORB feature data according to the RGB-D images, and solving the pose relationship between the key frames; The extracted RGB-D image is downsampled and filtered to filter the map points, and the keyframe dense point cloud map is constructed using the pinhole camera model. The keyframe map is added to the local map through the keyframe pose relationship; The local maps are processed by voxel filtering to construct dense point cloud maps of the two robots respectively; The bag-of-words model constructed using ORB features is used to calculate and match the distance between the key frame image word vectors of the two dense point cloud maps. The ICP algorithm is used to estimate the transformation relationship between the two maps. The two maps are fused and subjected to voxel filtering and statistical filtering to construct a multi-robot dense point cloud map.
2. The method for constructing a dense point cloud map by multi-robot collaboration according to claim 1, characterized in that: The extracted RGB-D image is downsampled and filtered to filter the map points, and then the key frame dense point cloud map is constructed using the pinhole camera model, and the key frame map is added to the local map through the key frame pose relationship, including: The RGB-D image is downsampled and filtered by using the alternate row and column sampling method; Convert the downsampled and filtered data into a dense point cloud map of this key frame, and transform the map into a local map using the pose of this key frame; Voxel filtering is performed on the local map.
3. The method for constructing a dense point cloud map by multi-robot collaboration according to claim 1, characterized in that: The bag-of-words model constructed using ORB features calculates and matches the distance between the key frame image word vectors of the two dense point cloud maps, estimates the transformation relationship between the two maps using the ICP algorithm, fuses the two maps and performs a voxel filtering and statistical filtering process to construct a multi-robot dense point cloud map, including: Construct a K-ary tree dictionary model; Match word vectors based on image features; The transformation relationship between the two maps is estimated through the ICP algorithm for registration.
4. The method for constructing a dense point cloud map by multi-robot collaboration according to claim 3, characterized in that: The construction of the K-ary tree dictionary model includes: Extract ORB features; Use K-means clustering method to cluster features and generate words; Construct a K-ary tree dictionary model to store words.
5. The method for constructing a dense point cloud map by multi-robot collaboration according to claim 3, characterized in that: The word vector matching for image features includes: Extract image features, determine the words they belong to, and count the categories and frequencies of the words that appear; Calculate weights using the TF-IDF method; Build word vectors; The word vector similarity is scored and Gaussian filtered to identify image pairs with similarity scores above a preset threshold.
6. The method for constructing a dense point cloud map by multi-robot collaboration according to claim 3, characterized in that: The transformation relationship between the two maps is estimated by the ICP algorithm to perform registration, including: Extract and match ORB features; Constructing the error function The constructed error function is solved by the ICP algorithm for registration.
7. A multi-robot collaborative dense point cloud map construction device, characterized in that: include: An acquisition module is used to acquire RGB-D images of key frames collected by two robots respectively, extract ORB feature data according to the RGB-D images, and solve the pose relationship between the key frames; The local map adding module is used to downsample and filter the extracted RGB-D image to filter the map points, use the pinhole camera model to construct the keyframe dense point cloud map, and add the keyframe map to the local map through the keyframe pose relationship; The dense point cloud map construction module is used to process the local map through voxel filtering and complete the construction of dense point cloud maps of the two robots respectively; The multi-robot dense point cloud map construction module is used to calculate and match the distance between the key frame image word vectors of two dense point cloud maps using the bag-of-words model constructed with ORB features, estimate the transformation relationship between the two maps using the ICP algorithm, fuse the two maps, and perform voxel filtering and statistical filtering to construct a multi-robot dense point cloud map.
8. The multi-robot collaborative dense point cloud map construction device according to claim 7, characterized in that: The local map adding module includes: A downsampling filter submodule is used to perform downsampling filtering on the RGB-D image by adopting an alternate row and alternate column sampling method; The local map transformation submodule is used to convert the downsampled and filtered data into a dense point cloud map of this key frame, and transform the map into a local map using the pose of this key frame; The voxel filtering submodule is used to perform voxel filtering on the local map.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the multi-robot collaborative dense point cloud map construction method described in any one of claims 1 to 6 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the multi-robot collaborative dense point cloud map construction method described in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
ORBSLAM2-based octree mapping method
CN110264563A
Real-time semantic map construction method based on semantic inverse depth filtering
CN111325843A
