A method and storage medium for autonomous driving scene recognition based on semantic point cloud

Semantic space features are generated through semantic segmentation and clustering, and semantic space enhancement features are generated by combining other features, which solves the accuracy problem of autonomous driving scene recognition methods in complex environments and improves positioning accuracy and robustness.

CN117542008BInactive Publication Date: 2024-10-01HARBIN INSTITUTE OF TECHNOLOGY (SHENZHEN) (INSTITUTE OF SCIENCE AND TECHNOLOGY INNOVATION HARBIN INSTITUTE OF TECHNOLOGY SHENZHEN)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311324311.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-12
Publication Date
2024-10-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing automatic driving scene recognition methods have low recognition accuracy for point cloud closed-loop frames in complex environments, and lack perception of the overall spatial environment, resulting in frequent false detections and missed detections, affecting positioning accuracy.

Method used

A scene recognition method that fuses semantic point clouds is used to generate semantic space point clouds through semantic segmentation and clustering, calculate semantic space features, and combine with other features to generate semantic space enhanced features and pseudo images, perform loop closure detection, and enhance the distinctiveness of scene descriptions. and similarity.

Benefits of technology

It improves the accuracy and robustness of scene recognition, reduces the interference of dynamic targets on recognition, and enhances positioning accuracy and loop detection reliability in complex scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117542008B_ABST
    Figure CN117542008B_ABST
Patent Text Reader

Abstract

The present invention provides an autonomous driving scene recognition method and storage medium that integrates semantic point clouds. The scene recognition method comprises: obtaining an original point cloud, generating a semantic space point cloud based on the original point cloud, and calculating the semantic space features of the semantic space point cloud; generating semantic space enhancement features based on the semantic space features and other features of the original point cloud, and generating a semantic space enhancement pseudo image based on the semantic space enhancement features; and performing loop detection based on the semantic space enhancement pseudo image. The scene recognition system is capable of executing the above scene recognition method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of robots and autonomous driving, and in particular to an autonomous driving scene recognition method and storage medium integrating semantic point clouds. Background Art

[0002] With the continuous development of autonomous driving, people hope that vehicles have the ability to fully perceive the environment. Therefore, the vehicle's mapping of the surrounding environment and real-time positioning of its own position (Simultaneous Localization and Mapping, or SLAM) has become a key issue in this field. In the process of laser radar mapping the surrounding environment and real-time positioning of its own position, loop detection is an indispensable part, and scene recognition technology is the key. For example, in the scene where the vehicle is actually running, it is often necessary to locate the vehicle for a long time and a long distance, but the pose error estimated by the front-end odometer will increase as the distance of the vehicle's movement increases. Therefore, loop detection at the back end is required to correct the error. In other words, when the vehicle returns to the same position, it is necessary to identify the current scene frame in the historical map frame through scene recognition technology, so as to calculate the relative pose between the current frame and the historical frame to optimize the historical trajectory positioning result of the vehicle. In addition, when performing high-precision positioning of the vehicle in a known map, it is also necessary to use scene recognition technology for repositioning to obtain the pose of the current frame.

[0003] At present, the most widely used loop detection in laser radar mapping the surrounding environment and real-time positioning of its own position is the Scan-Context-based algorithm. The algorithm is simple to use, easy to deploy and has high detection accuracy. The algorithm first performs polar coordinate projection on the point cloud under the top view, and then converts the three-dimensional point cloud data into two-dimensional image data for processing. The features such as the intensity or height of the point cloud are used as the pixel values ​​of the corresponding area of ​​the pseudo-image corresponding to the point cloud, and then the descriptors of the above image are calculated row by row, and then the similarity values ​​of the two frames of point clouds are measured by similarity calculation. However, the inventors have found through research that the processing of the above method loses part of the information of the point cloud, and the method of using only one feature to describe the scene is not comprehensive. In actual use, more false detections and missed detections will occur, so there are defects in the use of real autonomous driving scenarios. Therefore, it is necessary to improve the above-mentioned existing scene recognition methods. Summary of the invention

[0004] In view of the problem that the existing point cloud scene recognition methods have low accuracy in recognizing closed-loop frames of point clouds in complex environments, the main technical problem solved by the present invention is to provide a scene recognition method and system that integrates point cloud semantic space topology. The above-mentioned scene recognition method can not only robustly, distinctively and effectively describe the characteristics of each scene, but also accurately and quickly match the current scene with the map library, and can also realize scene repositioning for robots and self-driving vehicles, so as to improve the positioning accuracy of robots and self-driving vehicles under long-term motion conditions.

[0005] According to the first aspect, an embodiment provides an autonomous driving scene recognition method integrating semantic point clouds. The scene recognition method comprises: obtaining an original point cloud, generating a semantic space point cloud based on the original point cloud, calculating the semantic space features of the semantic space point cloud; generating a semantic space enhancement feature based on the semantic space feature and other features of the original point cloud, generating a semantic space enhancement pseudo image based on the semantic space enhancement feature; and performing loop detection based on the semantic space enhancement pseudo image.

[0006] In some embodiments, generating a semantic space point cloud corresponding to the original point cloud based on the original point cloud, and calculating the semantic space features of the semantic space point cloud includes:

[0007] Performing semantic segmentation on the original point cloud, clustering the original point cloud after semantic segmentation to obtain a semantic space point cloud corresponding to the original point cloud, wherein the semantic space point cloud includes a plurality of semantic point cloud clusters, each of the semantic point cloud clusters has a corresponding semantic label, and calculating and storing the centroid of each of the semantic point cloud clusters;

[0008] For each of the semantic point cloud clusters, the following steps are performed: determining the semantic point cloud cluster as a target point cloud cluster, and determining k original neighboring point cloud clusters having the same semantic label as the target point cloud cluster from other semantic point cloud clusters in the semantic space point cloud; determining a target graphic and the area or volume of the target graphic based on the target point cloud cluster and the k original neighboring point cloud clusters; and determining the semantic space features of the target point cloud cluster based on the area or volume of the target graphic.

[0009] In some embodiments, determining the target graphic and the area or volume of the target graphic based on the target point cloud cluster and the k original neighboring point cloud clusters includes: determining the target centroid of the target point cloud cluster and the neighboring centroids of the k original neighboring point cloud clusters; determining multiple target graphics based on the target centroid of the target point cloud cluster and the neighboring centroids of the k original neighboring point cloud clusters; calculating the area or volume of multiple target graphics to use the sum of the areas or volumes of multiple target graphics as the semantic spatial feature of the target point cloud cluster.

[0010] In some embodiments, determining the target graphic and the area or volume of the target graphic based on the target point cloud cluster and the k original neighboring point cloud clusters includes: determining the target centroid of the target point cloud cluster and the neighbor centroids of the k original neighboring point cloud clusters; determining a nearest neighbor centroid and (k-1) second nearest neighbor centroids from the neighbor centroids of the k original neighboring point cloud clusters; determining multiple target graphics based on the target centroid, nearest neighbor centroid, and second nearest neighbor centroid of the target point cloud cluster; respectively calculating the distances between the (k-1) second nearest neighbor centroids and the target centroid, and the area or volume of the target graphic; weighting the areas or volumes of multiple target graphics based on the distances corresponding to the target graphic, and using the weighted areas or weighted volumes obtained by weighting as the semantic spatial features of the target point cloud cluster.

[0011] In some embodiments, a semantic space enhancement feature is generated based on the semantic space feature and other features of the original point cloud, and a semantic space enhancement pseudo image is generated based on the semantic space enhancement feature, including: obtaining the original point cloud or the semantic space point cloud; setting a radius of an area of ​​interest, and spatially dividing the point cloud within the radius of the area of ​​interest according to polar coordinates on a top view to obtain a plurality of unit areas; assigning values ​​to and normalizing the unit area using other features of the point cloud corresponding to the unit area; superimposing the semantic space feature corresponding to the unit area with other features corresponding to the unit area and normalizing them again to obtain the semantic space enhancement feature corresponding to the unit area; and generating a semantic space enhancement pseudo image based on the semantic space enhancement feature corresponding to the unit area.

[0012] In some embodiments, a semantic space enhancement feature is generated based on the semantic space feature and other features of the original point cloud, and a semantic space enhancement pseudo image is generated based on the semantic space enhancement feature, including: obtaining the original point cloud or the semantic space point cloud; setting a radius of an area of ​​interest, and spatially dividing the point cloud within the radius of the area of ​​interest according to polar coordinates on a top view to obtain a plurality of unit areas; assigning values ​​to and normalizing the unit areas using other features of the point cloud corresponding to the unit areas; correcting the semantic space feature corresponding to the unit area according to the semantic label of the target point cloud cluster corresponding to the unit area to obtain a corrected semantic space feature corresponding to the unit area; superimposing the corrected semantic space feature corresponding to the unit area with other features corresponding to the unit area and normalizing them again to obtain the corrected semantic space enhancement feature corresponding to the unit area; and generating a semantic space enhancement pseudo image based on the corrected semantic space enhancement feature corresponding to the unit area.

[0013] In some embodiments, k original neighboring point cloud clusters having the same semantic label as the target point cloud cluster are determined from other semantic point cloud clusters in the spatial point cloud cluster, including: searching for multiple other semantic point cloud clusters having the same semantic label as the target point cloud cluster from other semantic point cloud clusters in the spatial point cloud cluster; respectively calculating the center of mass distances from the center of mass of the multiple other semantic point cloud clusters to the target center of mass of the target point cloud cluster; and determining, based on the center of mass distances, the k other semantic point cloud clusters closest to the target center of mass as the original neighboring point cloud clusters corresponding to the target point cloud cluster.

[0014] In some embodiments, performing subsequent loop detection based on the semantic space enhancement feature and the semantic space enhancement pseudo image includes: using the semantic space enhancement pseudo image as a first descriptor; and performing subsequent loop detection based on the first descriptor.

[0015] In some embodiments, subsequent loop detection based on the semantic space enhanced features and the semantic space enhanced pseudo image includes: calculating a global descriptor of the semantic space enhanced pseudo image; converting the global descriptor into a one-dimensional feature vector, and using the one-dimensional feature vector as a second descriptor; and performing subsequent loop detection based on the second descriptor.

[0016] In some embodiments, subsequent loop detection based on the semantic space enhancement features and the semantic space enhancement pseudo image includes: calculating a global descriptor of the semantic space enhancement pseudo image; performing weighted adaptive fusion on multiple global descriptors of the semantic space enhancement pseudo images to obtain a third descriptor, and performing subsequent loop detection based on the third descriptor.

[0017] In some embodiments, subsequent loop detection based on the first descriptor or the second descriptor or the third descriptor includes: constructing a KD-Tree based on the first descriptor or the second descriptor or the third descriptor to generate a historical atlas, and determining a key frame in the historical frames corresponding to the historical atlas according to the time interval and the similarity value; searching for a matching current frame in the historical atlas, and if the similarity value between the current frame and the key frame is greater than a preset threshold, it is determined that a loop frame is detected; if the similarity value between the current frame and the key frame is less than or equal to the preset threshold, it is determined that the current frame does not satisfy the loop, and a new key frame is generated using the KD-Tree.

[0018] According to the second aspect, in one embodiment, a computer-readable storage medium is provided. The computer-readable storage medium includes a program. The program can be executed by a processor to implement the scene recognition method described in any embodiment of the present application.

[0019] The beneficial effects of this application are:

[0020] According to some of the above-mentioned implementation schemes, compared with other loop detection algorithms, the scene recognition method provided by the present application describes the scene by introducing spatial topological information (i.e., the aforementioned target graphics and the semantic spatial features obtained based on the target graphics), so that the description and recognition between different scenes are more distinctive, and the similarity between the same scenes can also be enhanced. Then, the area or volume of the completed target graphics composed of the target centroid, the nearest neighbor centroid and the next nearest neighbor centroid is calculated, and the semantic spatial features are calculated based on the area or volume of the target graphics. After that, the semantic spatial features are superimposed / fused with other features (such as the height features or reflection intensity features of the point cloud, etc.) to obtain the semantic space enhancement features, so that the semantic space enhancement features can finally describe the global features of the point cloud while retaining the local features of the same category. In addition, the semantic space enhanced features obtained through semantic segmentation and clustering also introduce semantic constraints, and correct the semantic space features by setting different weights based on the semantic labels to obtain corrected semantic space features, and then perform subsequent detection based on the corrected semantic space features, thereby weakening the characteristics of dynamic targets, reducing the interference of dynamic targets on scene recognition, and improving the robustness of subsequent loop detection in complex scenes. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 An overall flow chart of an autonomous driving scene recognition method integrating semantic point clouds according to an embodiment;

[0022] Figure 2 is a flowchart of a scene recognition method based on a first descriptor according to an embodiment;

[0023] Figure 3 is a flowchart of a scene recognition method based on a second descriptor according to an embodiment;

[0024] Figure 4 is a flowchart of a scene recognition method based on a third descriptor according to an embodiment;

[0025] Figure 5 A flowchart of determining the semantic spatial features of a target point cloud cluster based on the area or volume of a target graphic according to an embodiment;

[0026] Figure 6 A schematic diagram of a target graphic of an embodiment;

[0027] Figure 7 A flowchart of an embodiment of generating a semantic space enhanced pseudo image based on semantic space features and other features of the original point cloud;

[0028] Figure 8 A flowchart of another embodiment of generating a semantic space enhanced pseudo image based on semantic space features and other features of the original point cloud;

[0029] Fig. 9 A flowchart of calculating a global descriptor of a semantic space enhanced pseudo image according to an embodiment;

[0030] Fig.10 The flowchart of obtaining the third descriptor by adaptive fusion according to an embodiment is shown. DETAILED DESCRIPTION

[0031] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present application better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present application are not shown or described in the specification, this is to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.

[0032] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.

[0033] The paper Gosmatch: Graph-of-semantics Matching for Detecting Loop Closures in 3D Lidar Data uses RangeNet++ (RangeNet++ is a semantic segmentation network based on laser point clouds, which can be applied in real time in the field of autonomous driving) to obtain semantic information of point clouds, clusters semantic point clouds, stores clustered point clouds in a graph structure, and uses histogram-based vertex descriptors for matching. The accuracy of this method depends on the number of categories used in semantics, but as the number of categories increases, the error of semantic segmentation will increase, and the time consumption of matching will be greatly increased.

[0034] The paper SSC: Semantic Scan Context for Large-scale Place Recognition uses the semantics of the most common objects in the area to assign values ​​to the pixels in ScanContext, and directly uses the semantics as the main features, and uses the semantics for fast ICP (Iterative Closest Point, which is used for point cloud matching in SLAM) calculation. This method uses the true value data in the dataset for semantic assignment, which is inconsistent with the actual model reasoning situation, and the accuracy cannot be guaranteed. It also ignores the spatial distribution characteristics of objects in the scene.

[0035] The paper OverLapNet: A Siamese NetworK for Computing LiDAR Scan Similarity with Applications to Loop Closing and Localization performs front view projection on the point cloud and combines multiple feature modal maps such as semantic map, distance map, reflection intensity, etc. The features are encoded and stacked through a weight-shared convolutional neural network, and the overlap rate and yaw angle of the point cloud are estimated.

[0036] The paper SGPR: Semantic Graph Based Place Recognition for 3d Point Clouds proposes a closed loop detection algorithm based on graph neural network, which models the scene as a semantic graph, retains the semantic and spatial topological information of the point cloud, models the scene recognition problem as a graph matching problem, and learns the similarity value through the graph neural network. However, the semantic labels used in the above closed loop detection algorithm come from RangeNet++, and the low mIoU (Mean Intersection over Union) in multiple categories will affect the subsequent matching of semantic graphs. In addition, this method does not distinguish between dynamic objects and static objects, and the accuracy in dynamic scenes is difficult to guarantee.

[0037] In summary, a comprehensive analysis of relevant literature and patents shows that the existing scene recognition methods cannot meet the detection requirements for scene recognition in outdoor dynamic scenes, and the robustness and real-time performance of scene recognition need to be further improved. Therefore, it is necessary to improve the above existing scene recognition methods.

[0038] The conception process of this application is as follows: Since the existing Scan-Context-based methods only use one modal feature to describe the scene, and there is data loss in the process of converting the point cloud from three-dimensional data to two-dimensional data, the Z value of the highest point in the divided point cloud (i.e., the height feature of the point cloud) or the reflection intensity feature of the point cloud cannot effectively describe the current scene, which results in more mismatches when searching and matching in the atlas through the above single feature. In addition, the existing scene recognition methods lack the perception of the overall spatial environment, isolate the relationship between the various physical objects in the space, and also introduce dynamic objects, which leads to low accuracy of scene recognition and low robustness in long-scale scenes. The inventors have found through research on existing literature that there are methods of using spatial triangles to describe scene features in point cloud registration and closed-loop detection of visual SLAM. By introducing the spatial topological relationship of point clouds, the accuracy of scene recognition is greatly improved; and in the existing point cloud closed-loop detection, some methods also consider using spatial nearest neighbors to pool point cloud features, or using spatial topological features in the form of graphs, but there is no method that directly uses the area of ​​spatial triangles as features for assignment. Therefore, this application takes increasing the spatial topological relationship in point cloud pseudo-images as the guiding ideology, introduces semantic segmentation of point clouds to improve the distinctiveness of each point cloud, and thereby weakens potential dynamic point cloud targets. That is to say, semantic segmentation is performed on the point cloud, and the point cloud clusters obtained by semantic segmentation are clustered to find neighboring point cloud clusters with the same semantic labels as the current point cloud cluster, and the area or volume of the target figure composed of the centroid of the current point cloud cluster and the centroid of the above-mentioned neighboring point cloud cluster is calculated, and the above-mentioned area or volume is weighted based on the distance between the centroid of the above-mentioned neighboring point cloud cluster and the centroid of the current point cloud cluster, and the above-mentioned area / volume or the weighted area / volume is used as the pixel value of the pseudo image corresponding to the point cloud. Since the point cloud obtained by the above-mentioned clustering focuses on local features, the above-mentioned pseudo image is superimposed and normalized with the pseudo images corresponding to other features of the point cloud (such as height features, reflection intensity features, etc.), and semantically enhanced semantic space enhancement features and semantic space enhancement pseudo images are obtained respectively. Finally, subsequent loop detection is performed based on the semantic space enhancement features and the semantic space enhancement pseudo images.

[0039] In order to better understand the present invention, some schemes and terms are first introduced.

[0040] (1)Scan-context

[0041] Scan-context is a global positioning method based on structural information. It does not rely on histogram full set descriptors or machine learning methods, and directly records the 3D structural information of the point cloud. Scan-context is a 3D point cloud descriptor based on outdoor scene recognition. It converts 3D point cloud information into a 2D matrix. It has the following advantages: efficient encoding function, retention of point cloud structural information, and a two-step matching algorithm.

[0042] (2) KD-Tree

[0043] KD-Tree (short for k-dimensional tree, i.e. KD-tree) is a tree data structure that stores instance points in k-dimensional space for fast retrieval. KD-Tree is mainly used for searching key data in multidimensional space (such as range search and nearest neighbor search). KD-Tree is a special case of binary space partition tree.

[0044] In order to solve the problem that the existing point cloud scene recognition methods have low accuracy in recognizing closed-loop frames of point clouds in complex environments, some embodiments of the present application disclose an autonomous driving scene recognition method that integrates semantic point clouds. The scene recognition method can be used for repositioning of scenes such as outdoor mobile robots and / or autonomous driving vehicles. The above scene recognition method can not only robustly, distinctively and effectively describe the characteristics of each scene, but also accurately and quickly match the current scene with the map library, and can realize scene repositioning for robots and autonomous driving vehicles, so as to improve the positioning accuracy of the above robots and autonomous driving vehicles in long-term motion.

[0045] Please refer to Figure 1 , the above-mentioned autonomous driving scene recognition method integrating semantic point cloud includes:

[0046] S100: Acquire an original point cloud, generate a semantic space point cloud based on the original point cloud, and calculate semantic space features of the semantic space point cloud;

[0047] S200: generating a semantic space enhancement feature based on the semantic space feature and other features of the original point cloud, and generating a semantic space enhancement pseudo image based on the semantic space enhancement feature;

[0048] S300: Perform loop detection based on the semantic space enhanced pseudo image.

[0049] In some embodiments, the step S100 of generating a semantic space point cloud corresponding to the original point cloud based on the original point cloud and calculating the semantic space features of the semantic space point cloud includes:

[0050] S110: performing semantic segmentation on the original point cloud, clustering the semantically segmented original point cloud to obtain a semantic space point cloud corresponding to the original point cloud, wherein the semantic space point cloud includes a plurality of semantic point cloud clusters, each of the semantic point cloud clusters has a corresponding semantic label, and calculating and storing the centroid of each of the semantic point cloud clusters;

[0051] S120: Perform the following steps on each of the semantic point cloud clusters:

[0052] S121: determining the semantic point cloud cluster as a target point cloud cluster, and determining k original neighboring point cloud clusters having the same semantic label as the target point cloud cluster from other semantic point cloud clusters in the semantic space point cloud;

[0053] S122: Determine a target graphic and an area or volume of the target graphic based on the target point cloud cluster and the k original neighboring point cloud clusters, and determine a semantic spatial feature of the target point cloud cluster based on the area or volume of the target graphic.

[0054] In some embodiments, the semantic space point cloud is composed of a plurality of semantic point cloud clusters. Each of the semantic point cloud clusters has a corresponding semantic label. The semantic space point cloud is obtained by semantic segmentation and clustering of the original point cloud. The semantic space feature is used to characterize the local features of the point cloud.

[0055] In some embodiments, step S100: obtaining the original point cloud. The above-mentioned original point cloud can be obtained by one or more devices such as a laser scanner, a depth camera and / or a binocular camera arranged on the robot / autonomous driving vehicle. The original point cloud can also be obtained through other channels, and the acquisition method of the original point cloud is not limited here. Among them, the original point cloud obtained in step S100 can be the point cloud data corresponding to a single key frame in the loop detection.

[0056] In some embodiments, the original point cloud may be semantically segmented using a Cylinder3D semantic segmentation model. Cylinder3D is an effective three-dimensional framework for driving scene lidar semantic segmentation.

[0057] In some embodiments, other semantic segmentation algorithms may be used to perform semantic segmentation on the original point cloud. For example, other semantic segmentation algorithms may include: a random sampling consensus method, conditional Euclidean clustering segmentation, region growing based segmentation, and color based region growing segmentation.

[0058] Those skilled in the art can select a suitable semantic segmentation model / algorithm according to the requirements of the actual application scenario, and the semantic segmentation model / algorithm used for semantic segmentation of the original point cloud is not limited here.

[0059] In some embodiments, the semantic segmentation of the original point cloud includes: semantic segmentation of dynamic objects and static objects. The specific types of point clouds obtained after the semantic segmentation of the original point cloud (such as dynamic objects and static objects) are not limited here.

[0060] In the semantic segmentation of dynamic objects and static objects, the KITTI semantic segmentation dataset can be used as a training set or validation set for the semantic segmentation model. The above KITTI dataset is a public dataset jointly created by the Karlsruhe Institute of Technology in Germany and Toyota Research Institute of America, which uses a fully equipped collection vehicle to collect data in actual traffic scenes.

[0061] In addition, the laser radar equipped on the robot / autonomous driving vehicle can also be used to collect the point cloud of the outdoor scene, and the point cloud of the outdoor scene can be used as a verification set for the semantic segmentation model.

[0062] Those skilled in the art can select a suitable semantic segmentation dataset according to the requirements of the actual application scenario, and the semantic segmentation dataset is not limited here.

[0063] In some embodiments, when using the Cylinder3D semantic segmentation model to perform semantic segmentation of dynamic and static classes on the original point cloud, the classification loss function in the Cylinder3D semantic segmentation model can be modified to a combination of Lovasz-Hinge (a loss function commonly used in the technical field) and weighted binary cross entropy, and then the semantic segmentation model can be trained with binary semantic segmentation networks for dynamic and static classes using data sets such as the above-mentioned KITTI semantic segmentation data set.

[0064] In some embodiments, other semantic segmentation algorithms may also be used to perform semantic segmentation of dynamic and static classes on the original point cloud to obtain semantic labels for static and dynamic targets. The dynamic class includes objects that are temporarily stationary or in motion, such as vehicles and / or pedestrians. The dynamic class may also include other objects that are temporarily stationary or in motion, and the specific types of the dynamic class are not limited here. The static class includes stationary objects such as trees and traffic lights. The static class may also include other stationary objects that are in a stationary state, and the specific types of the static class are not limited here.

[0065] In some embodiments, the original point cloud is semantically segmented into dynamic and static classes based on the point cloud semantic segmentation model obtained through the above training. The above semantic segmentation process simplifies the multi-category semantic segmentation into binary semantic segmentation, that is, the original point cloud is semantically segmented into dynamic and static classes.

[0066] It can be seen that in some embodiments, the simplified binary classification can greatly improve the accuracy of semantic segmentation and reduce the error of semantic segmentation of difficult-to-classify samples such as bicycles and trucks.

[0067] In some embodiments, the point clouds belonging to the dynamic class and / or the point clouds belonging to the static class obtained through semantic segmentation are clustered respectively to obtain the semantic space point cloud corresponding to the original point cloud. For example, the above clustering can adopt Euclidean clustering. The above clustering can also adopt other clustering methods. The specific method of clustering is not limited here. For example, when using Euclidean clustering, the search radius can be set to 0.13 meters, and the distance threshold can be set to 1 meter. Among them, the above search radius and distance threshold can be adjusted according to actual needs, and the above search radius and distance threshold are not limited here.

[0068] It can be seen that in some embodiments, by clustering the point clouds belonging to the dynamic class and / or the static class respectively, a semantic space point cloud corresponding to the original point cloud at the object level is obtained.

[0069] In some embodiments, the semantic space point cloud includes a plurality of semantic point cloud clusters. Each of the semantic point cloud clusters has a corresponding semantic label. The semantic label includes: a dynamic class label or a static class label.

[0070] In some embodiments, the above step S120 is performed on each of the semantic point cloud clusters: determining the semantic point cloud cluster as a target point cloud cluster, and searching for k original neighboring point cloud clusters with the same semantic label as the target point cloud cluster from other semantic point cloud clusters in the spatial point cloud cluster, determining the target graphic and the area or volume of the target graphic based on the target point cloud cluster and the k original neighboring point cloud clusters, and determining the semantic spatial features of the target point cloud cluster based on the area or volume of the target graphic. The above operation process can be performed on each of the semantic point cloud clusters starting from the first semantic point cloud cluster and ending with the last semantic point cloud cluster. The above operation process can also be performed on each of the semantic point cloud clusters at the same time. The timing of performing the above operation process on each semantic point cloud cluster is not restricted here.

[0071] It should be noted that designating a certain semantic point cloud cluster as a target point cloud cluster is only for the convenience of distinguishing and describing subsequent original neighboring point cloud clusters and target graphics, and does not mean that there is a specific target point cloud cluster in the point cloud.

[0072] In some embodiments, the other features include one or more of an average height feature, a reflection intensity feature, a maximum height feature, and a normal vector feature.

[0073] The other characteristic pseudo images include one or more of an average height characteristic pseudo image, an average reflection intensity characteristic pseudo image, a maximum height characteristic pseudo image and a normal vector characteristic pseudo image.

[0074] The performing semantic segmentation on the original point cloud includes: performing semantic segmentation of dynamic objects and static objects on the original point cloud.

[0075] In some embodiments, for other modalities in multimodal fusion, the average height feature on the z-axis of the point cloud or the reflection intensity feature of the point cloud can be selected, or other features can be used, such as the highest height feature on the z-axis, the point cloud normal vector, and other features.

[0076] It should be noted that, since the acquisition of the above-mentioned other features belongs to common knowledge in the technical field, the process of acquiring the above-mentioned other features will not be described in detail here.

[0077] In some embodiments, determining k original neighboring point cloud clusters having the same semantic label as the target point cloud cluster from other semantic point cloud clusters in the spatial point cloud cluster includes:

[0078] Searching for a plurality of other semantic point cloud clusters having the same semantic label as the target point cloud cluster from other semantic point cloud clusters in the spatial point cloud cluster;

[0079] Calculating the centroid distances between the centroids of the multiple other semantic point cloud clusters and the target centroid of the target point cloud cluster respectively;

[0080] Based on the centroid distance, k other semantic point cloud clusters closest to the target centroid are determined as original neighboring point cloud clusters corresponding to the target point cloud cluster.

[0081] In some embodiments, after obtaining the semantic space point cloud, the centroid of each semantic point cloud cluster in the semantic space point cloud is calculated and stored. For example, a hash table or other methods may be used to store the centroid of each semantic point cloud cluster.

[0082] In some embodiments, corresponding calculations can be performed on each semantic point cloud cluster having the same semantic label as the target point cloud cluster to obtain the centroid of each semantic point cloud cluster, and then the centroid of each semantic point cloud cluster can be stored using a hash table or an adjacency table.

[0083] In some embodiments, corresponding calculations may be performed only on the k original neighbor point cloud clusters to obtain the neighbor centroids of the k original neighbor point cloud clusters, and then the neighbor centroids of the k original neighbor point cloud clusters may be stored using a hash table or an adjacency table.

[0084] In some embodiments, multiple other semantic point cloud clusters having the same semantic label as the target point cloud cluster can be searched directly based on the semantic label of the target point cloud cluster. The above semantic label can be a dynamic class label or a static class label. For example, when the semantic label of the target point cloud cluster is a static class label, the surrounding space of the target point cloud cluster (such as within a threshold distance range) is searched to search for all semantic point cloud clusters whose semantic labels are also static class labels.

[0085] In some embodiments, since the centroid of each semantic point cloud cluster in the semantic space point cloud has been calculated and stored before determining the original neighboring point cloud cluster, the coordinates of the centroid of the target point cloud cluster and the centroids of the multiple other semantic point cloud clusters searched for that have the same semantic label as the target point cloud cluster can be directly obtained, and the centroid distance from the centroid of the other semantic point cloud clusters to the target centroid is calculated based on the coordinates. Each of the other semantic point cloud clusters has a centroid distance corresponding to the target centroid.

[0086] In some embodiments, k is a positive integer. The value of k can be flexibly adjusted according to the requirements of the actual application scenario. For example, k can be equal to 5.

[0087] In some embodiments, a certain semantic point cloud cluster in the semantic space point cloud can be designated as the first semantic point cloud cluster or the last semantic point cloud cluster according to actual application requirements.

[0088] It should be noted that specifying the first semantic point cloud cluster or the last semantic point cloud cluster here does not mean that the point cloud clusters of the semantic space point cloud have a specific order, but is only for the convenience of describing the subsequent target point cloud clusters and the original neighboring point cloud clusters.

[0089] In some embodiments, determining a target graphic and an area or volume of the target graphic based on the target point cloud cluster and the k original neighboring point cloud clusters, and determining a semantic spatial feature of the target point cloud cluster based on the area or volume of the target graphic, comprises:

[0090] Determine the target centroid of the target point cloud cluster and the neighbor centroids of the k original neighbor point cloud clusters;

[0091] Determine a plurality of target graphics based on the target centroid of the target point cloud cluster and the neighbor centroids of the k original neighbor point cloud clusters;

[0092] The areas or volumes of the plurality of target graphics are calculated, so as to use the sum of the areas or volumes of the plurality of target graphics as the semantic space feature of the target point cloud cluster.

[0093] In some embodiments, the target centroid of the target point cloud cluster and the neighbor centroids of k original neighbor point cloud clusters are determined. Since the centroid of each semantic point cloud cluster in the semantic space point cloud has been calculated and stored before the original neighbor point cloud clusters are determined, when a semantic point cloud cluster in the semantic space point cloud is determined as the target point cloud cluster, the target centroid of the target point cloud cluster is also determined; at the same time, when (k-1) semantic point cloud clusters other than the target point cloud cluster in the semantic space point cloud are determined as (k-1) original neighbor point cloud clusters, the neighbor centroids of the original neighbor point cloud clusters are also determined.

[0094] In some embodiments, a plurality of target graphics are determined based on the target centroid of the target point cloud cluster and the neighbor centroids of the k original neighbor point cloud clusters. For example, a nearest neighbor centroid and (k-1) next nearest neighbor centroids can be determined from the neighbor centroids of the k original neighbor point cloud clusters. Then, the target graphics are determined based on one or more of the target centroid, the nearest neighbor centroid, and the (k-1) next nearest neighbor centroids.

[0095] In some embodiments, the target figure may be a plane figure. For example, the target figure may be a triangle. When the target figure is a triangle, a target figure (i.e., a target triangle) may be determined based on the target centroid, the nearest neighbor centroid, and any one of the (k-1) next nearest neighbor centroids, that is, the target centroid, the nearest neighbor centroid, and any one of the (k-1) next nearest neighbor centroids are connected to form a target figure. For another example, the target figure may be a quadrilateral. When the target figure is a quadrilateral, a target figure (i.e., a target quadrilateral) may be determined based on the target centroid, the nearest neighbor centroid, and any two of the (k-1) next nearest neighbor centroids.

[0096] In some embodiments, the target figure may be a three-dimensional figure. For example, the target figure may be a triangular pyramid. When the target figure is a triangular pyramid, the bottom surface of the target figure may be determined based on the target centroid, the nearest neighbor centroid, and any one of the (k-1) next nearest neighbor centroids, and then one of the other next nearest neighbor centroids is determined as the vertex of the target figure, thereby determining the target figure.

[0097] In some embodiments, the area or volume of the plurality of target graphics is calculated, so that the sum of the area or volume of the plurality of target graphics is used as the semantic space feature of the target point cloud cluster. Since it is easy for a person skilled in the art to calculate the area or volume of each target graphics after the target graphics are determined, the calculation process of the sum of the area or volume of each target graphics will not be described in detail here.

[0098] For some examples, please refer to Figure 6, when the target shape is a triangle, (k-1) target shapes can be determined based on the target point cloud cluster and k original neighbor point cloud clusters. The sum of the areas of the above (k-1) target shapes can be directly used as the semantic spatial feature of the target point cloud cluster corresponding to the target shape. Among them, P0 represents the centroid of the current target point cloud cluster; P1 represents the nearest neighbor centroid of the nearest neighbor point cloud cluster; when k is equal to 5, Figure 6 The four next nearest neighbor centroids are P2, P3, P4 and P5. Among them, S1, S2, S3 and S4 are the areas of the first to fourth target figures respectively. That is to say, the sum of S1, S2, S3 and S4 can be directly used as the semantic space feature of the current target point cloud cluster.

[0099] It should be noted that, since the calculation of the volumes of multiple target graphics corresponding to the target point cloud cluster is similar to the principle of the above-mentioned target graphics calculation, the calculation process of the volumes of the target graphics corresponding to the target point cloud cluster will not be repeated here.

[0100] It should be noted that those skilled in the art can determine the shape and number of target graphics corresponding to the target point cloud cluster according to the requirements of the actual application scenario, and the shape and number of the target graphics are not limited here.

[0101] For some examples, please refer to Figure 5 S122: determining a target graphic and an area or volume of the target graphic based on the target point cloud cluster and the k original neighboring point cloud clusters, and determining a semantic spatial feature of the target point cloud cluster based on the area or volume of the target graphic, including:

[0102] S122a: Determine the target centroid of the target point cloud cluster and the neighbor centroids of k original neighbor point cloud clusters;

[0103] S122b: Determine a nearest neighbor centroid and (k-1) next nearest neighbor centroids from the nearest neighbor centroids of the k original nearest neighbor point cloud clusters;

[0104] S122c: Determine (k-1) target graphics based on the target centroid, the nearest neighbor centroid, and the next nearest neighbor centroid of the target point cloud cluster;

[0105] S122d: Calculate the distances between (k-1) of the next nearest neighbor centroids and the target centroid, and the areas or volumes of (k-1) of the target graphics respectively;

[0106] S122e: Weighting the areas or volumes of (k-1) target graphics based on the distances corresponding to the target graphics, and using the weighted areas or weighted volumes obtained by weighting as semantic spatial features of the target point cloud cluster.

[0107] In some embodiments, the distances from the neighbor centroids of the k original neighbor point cloud clusters corresponding to the target point cloud cluster to the target centroid can be calculated respectively, and then the neighbor centroid closest to the target centroid is determined as the nearest neighbor centroid, and the remaining (k-1) neighbor centroids are determined as the next nearest neighbor centroids. Afterwards, the target figure can be determined based on the target centroid of the target point cloud cluster and one or more of the nearest neighbor centroid and the next nearest neighbor centroid. For example, the target figure determined by the target centroid of the target point cloud cluster and one of the nearest neighbor centroid and the next nearest neighbor centroid is a triangle; the target figure determined by the target centroid of the target point cloud cluster and two of the nearest neighbor centroid and the next nearest neighbor centroid is a quadrilateral. Afterwards, a nearest neighbor centroid and (k-1) next nearest neighbor centroids can be determined from the neighbor centroids of the k original neighbor point cloud clusters. Afterwards, multiple target figures can be determined based on the target centroid, the nearest neighbor centroid and the next nearest neighbor centroid of the target point cloud cluster.

[0108] In some embodiments, the farther the point cloud (such as semantic space point cloud or original point cloud) is from the target centroid, the sparser its imaging is; at the same time, the error between the measured value and the true value of the spatial position of the point cloud farther from the target centroid is also greater. Therefore, among the multiple target graphics composed of the target centroid, the nearest neighbor centroid and the next nearest neighbor centroid, compared with the target graphics closer to the target centroid, as the distance from the target centroid increases, the measurement uncertainty of the spatial position of the point cloud or target graphics farther from the target centroid increases. Therefore, in some embodiments, it is necessary to reduce the proportion of the area or volume of the target graphics farther from the target centroid by weighting by the inverse of the distance from the center of the target graphic (such as the centroid or geometric center) to the current target centroid. Therefore, it is also necessary to calculate the distance between the centroid of (k-1) target graphics and the target centroid, as well as the area or volume of multiple target graphics. Afterwards, the areas or volumes of multiple target graphics are weighted based on the distances corresponding to the target graphics, and the weighted areas or weighted volumes obtained by weighting are used as the semantic spatial features of the target point cloud cluster. The calculation formula for weighting the area of ​​the target graphics based on the distance from the center (such as the centroid or geometric center) of the target graphics to the current target centroid is as follows:

[0109]

[0110] In the above formula (1), S spa is the weighted area obtained by weighting the areas of multiple target graphics corresponding to the target point cloud cluster; S i are the areas of the target graphics corresponding to the target point cloud clusters; d i are the distances from the centers (such as centroids or geometric centers) of (k-1) target graphics to the current target centroid; τ is the distance threshold; α is the power transformation coefficient; d minis a preset minimum value, wherein the preset minimum value is generally 0.5 meters. In addition, those skilled in the art may also adjust the preset minimum value according to actual application scenarios. min The value of is less than 5 meters. In some embodiments, k is 5, τ is 10, α is 1.5, i is a positive integer, and the value of i is 1 to (k-1) in sequence. Of course, the values ​​of k, τ, and α can also be flexibly adjusted based on the actual needs of the application scenario.

[0111] For example, see Figure 6 , when the target figure is a triangle, k is equal to 5, then a nearest neighbor centroid P1 and four next nearest neighbor centroids can be determined from the nearest neighbor centroids of the five original nearest neighbor point cloud clusters (i.e., Figure 6 Then, based on the target centroid, the nearest neighbor centroid, and the next nearest neighbor centroid of the target point cloud cluster, four target figures (i.e., target triangles) can be determined. After that, the centroids of the four target figures and the target centroid (i.e., Figure 6 The distance between the target points P0 in the figure and the areas of the four target figures are calculated. S1, S2, S3 and S4 are the areas of the first to fourth target figures respectively. Afterwards, the areas of the target figures are weighted based on the distance between the centroid of the target figure and the target centroid, and the weighted area obtained by weighting is used as the semantic spatial feature of the target point cloud cluster.

[0112] It should be noted that the purpose of setting the distance threshold τ in the above formula (1) is to only consider the distance from the next nearest neighbor centroid within the distance threshold range of the target point cloud cluster to the current target centroid. That is to say, in some embodiments, only the contribution of the weighted area or weighted volume of the target figure composed of the next nearest neighbor centroid within the distance threshold τ of the target point cloud cluster, the target centroid and the nearest neighbor centroid to the local features of the current target point cloud cluster is considered.

[0113] It should be noted that the calculation of the weighted volume is similar to the calculation of the weighted area, so the calculation of the weighted volume will not be described in detail.

[0114] It can be seen that compared with other scene recognition methods based on point clouds, some embodiments introduce the area or volume features of the target graphics as enhanced information to describe the scene for the spatial structure in the scene; while other embodiments introduce the weighted area or volume features of the target graphics as enhanced information to describe the scene. That is, by calculating the area or volume of the target graphics composed of the current target centroid, the nearest neighbor centroid and the next nearest neighbor centroid, the sum of the area or volume of the target graphics is directly used as the semantic space feature of the target point cloud cluster; or, the sum of the area or volume of the target graphics is weighted based on the distance between the center of the target graphics and the current target centroid, and the weighted area or weighted volume obtained by weighting is used as the semantic space feature of the target point cloud cluster, so as to describe the local scene information of the current target point cloud cluster through the semantic space feature of the target point cloud cluster. Afterwards, the semantic space pseudo image corresponding to the semantic space feature is superimposed with the two-dimensional pseudo image generated by the projection of the original point cloud to generate a semantic space enhanced pseudo image, so that the semantic space enhanced pseudo image has both global point cloud information and local information.

[0115] It can be seen that in the visual SLAM loop detection algorithm, the triangle composed of key points is usually not calculated as another feature, that is, in the point cloud registration algorithm, the area of ​​the triangle composed of the point cloud feature points is directly used for similarity judgment; in some embodiments of the present application, feature points are not extracted from the point cloud, but the centroid of the point cloud cluster is calculated after the point cloud is clustered, and only the nearest neighbor centroid and the second nearest neighbor centroid of other point cloud clusters with the same semantic label are selected to construct the target graphic, and then the area / volume or weighted area / weighted volume of the target graphic is calculated, and the area / volume or weighted area / weighted volume of the target graphic is used as the local feature of the scene (that is, the semantic space feature), and then subsequent calculations are performed based on the semantic space feature.

[0116] Please refer to Figure 7 In the above step S200, generating a semantic space enhancement feature based on the semantic space feature and other features of the original point cloud, and generating a semantic space enhancement pseudo image based on the semantic space enhancement feature includes:

[0117] S210a: Acquire the original point cloud or semantic space point cloud;

[0118] S220a: Setting the radius of the region of interest, and performing spatial segmentation on the point cloud within the radius of the region of interest according to the polar coordinates on the top view to obtain a plurality of unit regions;

[0119] S230a: Assigning values ​​to the unit area and normalizing the unit area using other features of the point cloud corresponding to the unit area;

[0120] S240a: Superimposing the semantic space features corresponding to the unit area with other features corresponding to the unit area respectively and normalizing them again to obtain the semantic space enhanced features corresponding to the unit area;

[0121] S250a: Generate a semantic space enhanced pseudo image based on the semantic space enhanced features corresponding to the above unit area.

[0122] In some embodiments, the point cloud obtained in step S210a may be original point cloud data of a single key frame, or may be a spatial semantic point cloud of a single key frame. The point cloud obtained in step S210a is not limited here.

[0123] It should be noted that, since the point cloud within the radius of the region of interest (i.e., the ROI radius) is spatially segmented according to the polar coordinates on the top view, the spatial position of the same point cloud cluster in the original point cloud and the semantic space point cloud is the same, and the step of spatial segmentation according to the polar coordinates on the top view is only to project the point cloud from the three-dimensional space to the two-dimensional plane on the top view, therefore, the point cloud data obtained in step S210a can be the original point cloud or the semantic space point cloud. Among them, the original point cloud contains relatively more point clouds, while the semantic space point cloud is obtained by clustering the original point cloud, so the number of point clouds it contains is relatively small.

[0124] In some embodiments, the point cloud cluster Q in the semantic space point cloud or the original point cloud k The information contained can be expressed as:

[0125] Q k =(x i ,y i , z i , l i ,m i ) (2)

[0126] Among them, Q in the above formula (2) k The subscript k of represents the number of the centroid of the point cloud cluster in the semantic space point cloud or the original point cloud. The subscript i in the above formula (2) represents the i-th point cloud cluster, and the value of k can be the same as the value of i or different from the value of i, that is, the technical personnel in this field can determine the value range of k by themselves; the above x i ,y i and z i Represents the centroid P of the point cloud cluster in the semantic space point cloud or the original point cloud respectively. k Coordinates in the initial coordinate system; l i is the semantic label of the i-th point cloud cluster in the semantic space point cloud; m i is the semantic space feature F of the i-th point cloud cluster in the semantic space point cloud spaOr other features F of the i-th point cloud cluster in the original point cloud raw .

[0127] In some embodiments, S220a: setting the radius of the region of interest, and performing spatial segmentation on the point cloud within the radius of the region of interest according to the polar coordinates on the top view to obtain multiple unit areas is generally as follows: the point cloud within the radius of the region of interest is segmented according to the set perception distance resolution L S Divide the polar angle into L equal parts and set the horizontal angle resolution N for the 360 ​​degree polar angle. S The polar coordinates are divided into N equal parts, thereby obtaining L×N unit areas. The unit area may be in a fan shape.

[0128] In some embodiments, according to the coordinates of the ith point cloud cluster in the top view of the point cloud (i.e., x in the above formula (2) i ,y i , z i ) can obtain the centroid P of the i-th point cloud cluster in the semantic space point cloud or the original point cloud k Polar coordinates. Among them, the center of mass P k The polar coordinates of can be expressed as:

[0129]

[0130]

[0131] For the preset horizontal angle resolution N S and the perceived distance resolution L S , the range of the point cloud intercepted by each unit area is:

[0132]

[0133] Among them, L in the above formula (5) ROI N is the preset radius of the region of interest; S is the horizontal angle resolution; L S is the perceptual distance resolution; i and j represent the i-th row of the semantic space enhanced pseudo image or other feature pseudo image, and the j-th column of the semantic space pseudo image or other feature pseudo image, respectively (in some embodiments, the upper limit value of i is 64, and the upper limit value of j is 900), R ij Represents a point cloud intercepted by a unit area.

[0134] It should be noted that the subscript i in the above formula (2) and R in the above formula (5) ij The meaning of i in R is different. The subscript i in the above formula (2) represents the i-th point cloud cluster; ijThe i in represents the i-th row of the pseudo image obtained by projection. For example, if there are 1000 point clouds in total, then the projection of the i-th (i.e., the subscript i in equation (2)) point cloud is not necessarily in the i-th (i.e., the subscript R in equation (5)) of the pseudo image. ij The value range of i in the point cloud (i.e., the subscript i in the above formula (2)) is between 0 and 999, but the value of i in the pseudo image (i.e., R in the above formula (5)) is between 0 and 999. ij The value range of i) is generally between 0 and 64.

[0135] It should be noted that the resolution of the above semantic space enhanced pseudo image or other feature pseudo image can be expressed as Among them, i represents the number of rows of the generated pseudo image, and the value range of i is j represents the number of columns of the generated pseudo image, and the value range of j is For example, when L ROI Take 50 meters, L S Take 1.56 meters, N S When the angle is 0.4 degrees, the resolution of the obtained pseudo image is 900×32.

[0136] In some embodiments, S230a: use other features of the point cloud corresponding to the unit area to assign values ​​to the unit area and normalize it. First, multiple modal features (such as semantic space features, modified semantic space features or other features) are normalized according to the upper and lower limits of the preset feature interest area. The normalization here can be performed in the following manner:

[0137]

[0138] Among them, F in the above formula (6) down is the lower limit of the feature area of ​​interest, F up is the upper limit of the feature region of interest, i and j represent the horizontal and vertical coordinates of the above modal feature in its corresponding two-dimensional pseudo image. In the above formula (6), f(i, j) represents the modal feature before the first normalization process (for example, the semantic space feature F spa , Modify the semantic space feature F spa or other characteristics). In the above formula (6), f * (i, j) represents the modal features after the first normalization process (such as the semantic space feature F spa , Modify the semantic space feature F spa or other features F raw ).

[0139] It should be noted that those skilled in the art can set different F up and F downFor example, when the modal feature in equation (6) is the height feature of the original point cloud, F up =10, F down is -2; when the above modal feature is the reflection intensity feature of the point cloud, F up and F down are 255 and 0 respectively; when the above modal features are semantic space features of semantic space point clouds, F up and F down They are 15 and 0 respectively.

[0140] Other features of the point cloud within the unit area (such as average height features or average reflection intensity features within the unit area) are used as pixel values ​​of the unit area in other feature pseudo images.

[0141] In some embodiments, a unit area corresponds to a pixel in the pseudo image corresponding to the unit area.

[0142] In some embodiments, S240a: the semantic space features corresponding to the unit area are respectively superimposed with other features corresponding to the unit area and normalized again to obtain semantic space enhanced features. The steps of superimposing the semantic space features with other features of the original point cloud and normalizing them may include:

[0143] First, the unit area generated by the above-mentioned spatial segmentation is assigned values ​​using other features of the original point cloud (such as height features or reflection intensity features), and normalized to obtain a two-dimensional pseudo image corresponding to the above-mentioned other features (such as height features or reflection intensity features).

[0144] It should be noted that it is common knowledge in the technical field to generate other feature pseudo images corresponding to the original point cloud using other features of the point cloud (such as height features or reflection intensity features), so the generation of corresponding pseudo images based on other features will not be described in detail here.

[0145] Then, the normalized features in each unit area are superimposed with the semantic space features corresponding to the unit area to obtain the semantic space enhanced features (such as semantic space enhanced average height features (SSE-HSC) or semantic space enhanced average reflection intensity features (SSE-ISC)) and normalized again, that is, the unit area is re-assigned by superimposing the other features of the unit area with the semantic space features corresponding to the unit area. For example, the polar diameter (i.e., ρ in the above formula (3)) k ) direction is the y-axis, and the polar angle (that is, θ in the above formula (4) k ) direction as the x-axis to establish an image coordinate system. The semantic space enhancement feature value corresponding to the semantic space enhancement feature in each unit area is used as the pixel value of the unit area in the semantic space enhancement pseudo image.

[0146] It should be noted that after the point cloud is spatially segmented, a unit area may contain multiple point cloud clusters, and a unit area only corresponds to one pixel in the two-dimensional pseudo image, so it is necessary to perform feature pooling on the multiple point clouds. For example, if other features are height features, then it is necessary to calculate the average height features of the unit area, and the height distribution of point clouds in different scenes is not the same, so it is necessary to normalize other features for the first time to unify the measurement standard and constrain them within the set height range for comparison. Then, the other features that have undergone the first normalization are added to the semantic space features, that is, they can only be added under the same measurement standard, otherwise their dimensions are different, and the normalized other features and semantic space features have the same dimension.

[0147] In some embodiments, the semantic space enhancement feature of the point cloud cluster contained in a unit area is used as the pixel value of the unit area in the semantic space enhancement pseudo image. Wherein, a unit area may correspond to a part or all of a point cloud cluster. A unit area may also correspond to a part or all of multiple point cloud clusters. A point cloud cluster may also be divided into multiple unit areas.

[0148] In some embodiments, the semantic space features or the modified semantic space features after the first normalization process are superimposed or fused with other features corresponding to the unit area. The superposition or fusion can be performed in the following manner to obtain the semantic space enhancement features corresponding to the unit area:

[0149]

[0150] In the above formula (7), F spa represents the semantic space feature or modifies the semantic space feature, F raw represents other features, and F represents the semantic space enhancement feature obtained by fusing the semantic space feature or the modified semantic space feature with other features at the pixel level.

[0151] In some embodiments, those skilled in the art may select other features according to actual needs, for example, other features may be reflection intensity features, height features or normal vector features, etc. For example, the above-mentioned semantic space enhancement feature may be SSE-HSC (semantic space enhancement average height feature) or SSE-ISC (semantic space enhancement average reflection intensity feature), etc. The semantic space enhancement average height feature is obtained by superimposing the semantic space feature and the average height feature. The semantic space enhancement average reflection intensity feature is obtained by superimposing the semantic space feature and the reflection intensity feature.

[0152] In some embodiments, a Scan-Context method may be used to generate a pseudo image. In some embodiments, a feature map calculation method such as Iris (i.e., point cloud iris descriptor) may also be selected to generate a pseudo image.

[0153] It should be noted that, since it is common knowledge in the technical field to generate semantic space enhanced pseudo images and other feature pseudo images based on the semantic space enhanced features and other features in the above step S250a, the specific process of generating semantic space enhanced pseudo images and other feature pseudo images will not be repeated here.

[0154] For some examples, please refer to Figure 8 S200: generating a semantic space enhancement feature based on the semantic space feature and other features of the original point cloud, and generating a semantic space enhancement pseudo image based on the semantic space enhancement feature, including:

[0155] S210b: Acquire the original point cloud or semantic space point cloud;

[0156] S220b: Setting a radius of the region of interest, and performing spatial segmentation on the point cloud within the radius of the region of interest according to polar coordinates on the top view to obtain a plurality of unit regions;

[0157] S230b: Assigning and normalizing the unit area using other features of the point cloud corresponding to the unit area;

[0158] S240b: Correcting the semantic space feature corresponding to the unit area according to the semantic label of the target point cloud cluster corresponding to the unit area to obtain a corrected semantic space feature corresponding to the unit area;

[0159] S250b: Superimposing the modified semantic space features corresponding to the unit area with other features corresponding to the unit area respectively and normalizing them again to obtain the modified semantic space enhanced features corresponding to the unit area;

[0160] S260b: Generate a semantic space enhanced pseudo image based on the modified semantic space enhanced features corresponding to the unit area.

[0161] It should be noted that, since the generation process of the semantic space enhanced pseudo image here is substantially the same as the generation process of the semantic space enhanced pseudo image described above, the repeated parts will not be described in detail.

[0162] In some embodiments, dynamic objects may cause great interference to loop detection. For example, when the semantic label of the next nearest neighbor point cloud cluster far from the target centroid is a dynamic object, when the shape of the target figure corresponding to the next nearest neighbor point cloud cluster changes, the distance between the target centroid and other next nearest neighbor centroids also changes more. Static objects can better characterize the invariant features of the scene. Therefore, when generating a two-dimensional pseudo image, the semantic space features are corrected based on different dynamic weights corresponding to the semantic labels to obtain the corrected semantic space features corresponding to the unit area. The corrected semantic space features corresponding to the unit area are used as the pixel values ​​of the unit area. Among them, the semantic space features Q are corrected based on different dynamic weights corresponding to different semantic labels. ij To make corrections, you can use the following methods:

[0163] P ij =(1+λ)Q ij (8)

[0164] In the above formula (8), P ij represents the corrected semantic space feature after semantic weighted correction, i and j represent the row coordinates and column coordinates of the semantic space feature in the corresponding semantic space enhanced pseudo image, respectively, and λ is the dynamic weight corresponding to the semantic label. For example, if the semantic label of the point cloud cluster represents a static object, then λ in the above formula (8) is 0.3; if the semantic label of the point cloud cluster represents a dynamic object, then λ in the above formula (8) is -0.3.

[0165] It can be seen that in some embodiments, compared with the existing lidar scene recognition algorithm, in dynamic scenes and long-distance scenes, the semantic space features are corrected based on different weights corresponding to the semantic labels to obtain the corrected semantic space features corresponding to the unit area, and the corrected semantic space features corresponding to the unit area are used as the pixel values ​​of the unit area in the corresponding pseudo-image, and the corrected semantic space features are used for subsequent loop detection, etc., so that subsequent detection can obtain more robust scene recognition results, as well as have higher recognition accuracy and anti-dynamic target interference capabilities.

[0166] It should be noted that, since generating a semantic space enhanced pseudo image based on the modified semantic space enhanced features in the above step S260b is common knowledge in the technical field, the specific process of generating the semantic space enhanced pseudo image will not be described in detail herein.

[0167] For some examples, please refer to Figure 2 S300: performing subsequent loop detection based on the semantic space enhanced pseudo image includes:

[0168] S310a: Using the semantic space enhanced pseudo image as a first descriptor;

[0169] S320a: Perform subsequent loop detection based on the first descriptor.

[0170] The subsequent loop detection based on the first descriptor includes:

[0171] constructing a KD-Tree based on the first descriptor to generate a historical atlas, and determining key frames in historical frames corresponding to the historical atlas according to time intervals and similarity values;

[0172] Searching for a matching current frame in the historical atlas, and if a similarity value between the current frame and the key frame is greater than a preset threshold, determining that a loop is detected;

[0173] If the similarity value between the current frame and the key frame is less than or equal to a preset threshold, it is determined that the current frame does not satisfy the loop, and a new key frame is generated using the KD-Tree.

[0174] In some embodiments, the semantic space enhanced pseudo image in the above step S310a may be a semantic space enhanced reflection intensity pseudo image or a semantic space enhanced average intensity pseudo image, etc.

[0175] It should be noted that the subsequent loop detection based on the first descriptor in step S320a is common knowledge in the technical field, so the specific process of the subsequent loop detection based on the first descriptor is not described in detail.

[0176] For some examples, please refer to Figure 3 S300: performing subsequent loop detection based on the semantic space enhancement feature and the semantic space enhancement pseudo image includes:

[0177] S310b: Calculate the global descriptor of the semantic space enhanced pseudo image;

[0178] S320b: convert the global descriptor into a one-dimensional feature vector, and use the one-dimensional feature vector as a second descriptor; and perform subsequent loop detection based on the second descriptor.

[0179] Subsequent loop detection based on the second descriptor includes:

[0180] constructing a KD-Tree based on the second descriptor to generate a history atlas, and determining a key frame in the history frames corresponding to the history atlas according to the time interval and the similarity value;

[0181] Searching for a matching current frame in the historical atlas, and if a similarity value between the current frame and the key frame is greater than a preset threshold, determining that a loop is detected;

[0182] If the similarity value between the current frame and the key frame is less than or equal to a preset threshold, it is determined that the current frame does not satisfy the loop, and a new key frame is generated using the KD-Tree.

[0183] In some embodiments, GIST (GIST is a global information feature of an image that can identify and classify scenes) can be used to calculate the global descriptor of the semantic space enhanced pseudo image to extract the global features of the semantic space enhanced pseudo image. The calculation method of the above GIST is as follows: First, set a Gabor filter at 4 scales and 8 directions (the Gabor function is a linear filter used for edge extraction, suitable for texture expression and separation, and its frequency and direction expression are similar to the human visual system), and filter the image to obtain 32 filtered images; then, divide the filtered image into 4*4 regions, and calculate the pixel mean in each region; finally, obtain a feature vector composed of 4*8*4*4=512 regional means, that is, 512 feature descriptors. The calculation formula of the GIST feature can be in the following form:

[0184] Gist(i, j) = cat(P(i, j)·g mn (i,j)) (9)

[0185] Wherein, P(i, j) in the above formula (9) represents the pixel value of the unit area of ​​the i-th row and j-th column in the semantic space enhanced pseudo image. For example, P(i, j) can be the modified semantic space feature P in the above formula (9): ij ; g mn (i, j) is a two-dimensional Gabor function; cat represents a cascade operation.

[0186] It should be noted that those skilled in the art may also adopt other methods (such as VFH (viewpoint feature histogram), PFH (point feature histogram) and FPFH (fast point feature histogram) etc.) to extract the global features of the semantic space enhanced pseudo image. The specific method for extracting global features is not limited here.

[0187] It should be noted that the specific process of converting the global descriptor into a one-dimensional feature vector, using the one-dimensional feature vector as the second descriptor, and performing subsequent loop detection based on the second descriptor belongs to common knowledge in the technical field.

[0188] For some examples, please refer to Figure 4 S300: performing subsequent loop detection based on the semantic space enhancement feature and the semantic space enhancement pseudo image includes:

[0189] S310c: Calculate the global descriptor of the semantic space enhanced pseudo image;

[0190] S320c: Perform weighted adaptive fusion on multiple global descriptors of the semantic space enhanced features to obtain a third descriptor, and perform subsequent loop detection based on the third descriptor.

[0191] In some embodiments, before extracting the global features of the semantic space enhanced pseudo image, the global angle of the semantic space enhanced pseudo image may be corrected first, in order to ensure that the semantic space enhanced pseudo image has a globally consistent point cloud angle. Fig. 9 , the global descriptor of the semantic space enhanced pseudo image can be calculated according to the following steps:

[0192] S311c: The global pose of the vehicle estimated by the lidar odometer, GPS (Global Positioning System), and IMU (Inertial Measurement Unit) is fused through factor graph optimization to estimate the rotation angle of the point cloud (i.e., the global correction angle);

[0193] S312c: unifying the semantic space enhanced pseudo image to the coordinate system at the initial moment based on the global correction angle, that is, shifting the pseudo image by column;

[0194] S313c: Extracting global features of semantic space enhanced pseudo images using GIST.

[0195] Among them, the data input source of the above-mentioned factor graph optimization is the global pose of the vehicle estimated from GPS, IMU and laser odometer respectively, and then the data of the above-mentioned multiple sensors (that is, the above-mentioned global pose of the vehicle) are fused through factor graph optimization to obtain the optimized global pose of the vehicle. Among them, the above-mentioned optimized global pose of the vehicle includes the global yaw angle optimized at the current moment, that is, the global correction angle. Then, based on the above-mentioned global correction angle, the yaw angle of the semantic space enhanced pseudo image is corrected. For example, the image correction amount of the pseudo image displacement can be calculated based on the angular resolution used to generate the above-mentioned pseudo image, and then the image correction amount is used to unify the reference angle of the semantic space enhanced pseudo image into the same coordinate system to ensure the rotation invariance of the point cloud features.

[0196] It should be noted that in the above-mentioned pseudo image, due to the angle difference between the scenes, the error shown in the above-mentioned pseudo image is the column displacement of the image. This is because the vehicle coordinate system has rotated, so the vehicle coordinate system needs to be corrected to the same as the coordinate system at the initial moment, so it is necessary to obtain the above-mentioned optimized global yaw angle. Then, the rotation of the vehicle coordinate system is corrected by the global yaw angle, and the column displacement of the image (that is, the above-mentioned image correction amount) is corrected. The above-mentioned process of correcting the global angle of the pseudo image belongs to the common knowledge in the technical field, so the specific process of correcting the above-mentioned global angle will not be repeated here.

[0197] Since the entire fusion process takes a long time when the global descriptors corresponding to each feature modality such as the semantic space enhancement feature are fused at the pixel level, and the global descriptor obtained by the above pixel level fusion does not significantly improve the accuracy of subsequent loop detection, etc., therefore, in some embodiments, the global descriptors corresponding to each feature modality (such as multiple semantic space enhancement features) can be fused at the feature level, so that the third descriptor obtained by the above feature level fusion has high real-time performance while taking into account the accuracy of subsequent loop detection, etc.

[0198] For some examples, please refer to Fig.10 For the one-dimensional global descriptor of each feature modality (for example, the one-dimensional global descriptor SSE-HSC-GIST of the semantic space enhanced average height feature obtained in step S313a and the one-dimensional global descriptor SSE-ISC-GIST of the semantic space enhanced average reflection intensity feature obtained in step S313b), the fused descriptor (SSE-MMSC) can be obtained by adaptive fusion using the Softmax function in step S320c, and the fused descriptor is used as the third descriptor. The above adaptive fusion can be in the following form:

[0199]

[0200] Among them, G in the above formula (10) i is a one-dimensional global descriptor corresponding to a single modality (such as the global descriptor SSE-HSC-GIST for semantic space enhanced height features and the global descriptor SSE-ISC-GIST for semantic space enhanced reflection intensity features); G k are the values ​​of the above one-dimensional vector (ie, the above one-dimensional global descriptor); and F is the third descriptor obtained by adaptive fusion.

[0201] Softmax is also called the normalized exponential function. It is a generalization of the binary classification function sigmoid to multi-classification, and its purpose is to present the results of multi-classification in the form of probability.

[0202] Subsequent loop detection based on the third descriptor includes:

[0203] constructing a KD-Tree based on the third descriptor to generate a history atlas, and determining a key frame in the history frames corresponding to the history atlas according to the time interval and the similarity value;

[0204] Searching for a matching current frame in the historical atlas, and if a similarity value between the current frame and the key frame is greater than a preset threshold, determining that a loop is detected;

[0205] If the similarity value between the current frame and the key frame is less than or equal to a preset threshold, it is determined that the current frame does not satisfy the loop, and a new key frame is generated using the KD-Tree.

[0206] It should be noted that constructing a KD-Tree based on the first descriptor, the second descriptor, or the third descriptor to generate a historical atlas is common knowledge in the technical field and will not be elaborated on herein.

[0207] In some embodiments, map key frames are selectively generated in all historical frames corresponding to the historical atlas according to time intervals and similarity values. For example, map key frames can be generated based on similarity values ​​between frames in the historical frames. Map key frames are generated when the similarity values ​​between frames in the historical frames are less than a certain threshold.

[0208] In some embodiments, the similarity value between frames in the historical frames may be calculated in the following manner:

[0209]

[0210]

[0211]

[0212]

[0213] Wherein, in the above formula (11), P represents the current frame, P′ represents the key frame; in the above formula (13), lat represents the latitude, lng represents the longitude, and r represents the radius of the earth; in the above formula (14), σ DOP represents the GPS positioning accuracy factor, ω is the GPS confidence weight, Sim F is the similarity value calculated using the feature.

[0214] It can be seen that compared with other loop detection algorithms, some embodiments introduce spatial topological information (i.e., the aforementioned target graphics and semantic spatial features obtained based on the target graphics) to describe the scene, so that the description and identification between different scenes are more distinctive, while also enhancing the similarity between the same scenes. Then, referring to the usage methods in point cloud registration and visual loop closure, the area or volume of the completed target graphics composed of the target centroid, the nearest neighbor centroid, and the next nearest neighbor centroid is calculated, and the semantic spatial features are calculated based on the area or volume of the target graphics. Afterwards, the semantic spatial features are superimposed / fused with other features (such as the height features or reflection intensity features of the point cloud, etc.) to obtain the semantic space enhancement features, so that the semantic space enhancement features can finally describe the global features of the point cloud while retaining the local features of the same category. In addition, the semantic space enhanced features obtained through semantic segmentation and clustering also introduce semantic constraints, and correct the semantic space features by setting different weights based on the semantic labels to obtain corrected semantic space features, and then perform subsequent detection based on the corrected semantic space features, thereby weakening the characteristics of dynamic targets, reducing the interference of dynamic targets on scene recognition, and improving the robustness of subsequent loop detection in complex scenes.

[0215] It should be noted that in the description of the scene, the dynamic target is not the key description of the scene, but the static target is the key description of the scene. Therefore, it is necessary to highlight the characteristics of the static target and weaken the characteristics of the dynamic target.

[0216] It can be seen that, different from the scene recognition method in the prior art that only uses one modal feature to describe the current scene, a multimodal fusion algorithm is designed in some embodiments, that is, a third descriptor is obtained by weighted adaptive fusion of multiple global descriptors of the semantic space enhancement features, and subsequent loop detection is performed based on the third descriptor, so as to enhance the scene description features by using the third descriptor that fuses multiple different modal global feature descriptors. In the above-mentioned multimodal fusion process, the fusion algorithm adopted can highlight the modal features with larger features in the current scene, so that the subsequent loop detection process can adaptively adjust the modal fusion weights according to the characteristics of different scenes, and finally achieve the technical effect of more accurately distinguishing different scenes. In addition, different from some scene recognition methods using two-dimensional descriptors in the prior art, one-dimensional multimodal fusion descriptors (i.e., the third descriptor) are used in some embodiments, thereby reducing the amount of calculation in the matching of key frames. Therefore, the scene recognition method of the present application is more adaptable to large-scale autonomous driving scenes, etc.

[0217] It can be seen that compared with some two-stage loop detection methods in the prior art that require coarse matching followed by fine matching, some embodiments of the present application use a single-stage closed-loop detection, which unifies the closed-loop frame description and similarity comparison with the search features under a globally consistent angle correction during motion, thereby avoiding a large amount of time loss caused by the brute force search in the two-stage fine matching.

[0218] It can be seen that in some embodiments, the global coordinates of GPS (i.e., the longitude and latitude in the above formula (13)) are introduced into the similarity measurement of the closed-loop keyframes, and the screening ability of the similarity measurement can be further enhanced by a priori restrictions on the real distance, which significantly reduces the occurrence of false detection.

[0219] It can be seen that compared with the prior art that only uses one point cloud feature description for loop detection, some embodiments of the present application integrate features of multiple point clouds (such as semantic space features and a variety of other features), and design a feature fusion algorithm to adaptively fuse the multimodal features obtained by feature extraction to obtain a third descriptor, so that the loop detection process based on the third descriptor can better adapt to a variety of outdoor scenes.

[0220] The above is some description of the autonomous driving scene recognition method integrating semantic point cloud. In some embodiments of the present application, a computer-readable storage medium is also disclosed. The above computer-readable storage medium includes a program. The above program can be executed by a processor to implement the autonomous driving scene recognition method as any embodiment of the present invention.

[0221] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above-mentioned functions can be implemented. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and can be downloaded or copied and saved in the memory of the local device, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.

[0222] The above specific examples are used to illustrate the present invention, which is only used to help understand the present invention and is not intended to limit the present invention. For those skilled in the art, according to the concept of the present invention, some simple deductions, modifications or substitutions can be made.

Claims

1. A scene recognition method integrating semantic point cloud spatial topology, characterized in that: include: Acquire an original point cloud, generate a semantic space point cloud based on the original point cloud, and calculate semantic space features of the semantic space point cloud; Generate a semantic space enhancement feature based on the semantic space feature and other features of the original point cloud, and generate a semantic space enhancement pseudo image based on the semantic space enhancement feature; Perform loop detection based on the semantic space enhanced pseudo image; in, The generating of semantic space enhancement features based on the semantic space features and other features of the original point cloud, and generating a semantic space enhancement pseudo image based on the semantic space enhancement features, comprises: Obtaining the original point cloud or semantic space point cloud; Setting the radius of the region of interest, and performing spatial segmentation on the point cloud within the radius of the region of interest according to the polar coordinates on the top view to obtain a plurality of unit regions; Assigning and normalizing the unit area using other features of the point cloud corresponding to the unit area; The semantic space features corresponding to the unit area are respectively superimposed with other features corresponding to the unit area and normalized again to obtain the semantic space enhanced features corresponding to the unit area; Generate a semantic space enhanced pseudo image based on the semantic space enhanced features corresponding to the unit area; in, The performing loop detection based on the semantic space enhanced pseudo image comprises: The semantic space enhanced pseudo image is used as a first descriptor, and a KD-Tree is constructed based on the first descriptor to generate a historical atlas. Alternatively, a global descriptor of the semantic space enhanced pseudo image is calculated, the global descriptor is converted into a one-dimensional feature vector, the one-dimensional feature vector is used as a second descriptor, and a KD-Tree is constructed based on the second descriptor to generate a historical atlas. Alternatively, a global descriptor of the semantic space enhanced pseudo image is calculated, and a weighted adaptive fusion is performed on the global descriptor of the semantic space enhanced pseudo image to obtain a third descriptor, and a KD-Tree is constructed based on the third descriptor to generate a historical atlas. determining a key frame in the historical frames corresponding to the historical atlas according to the time interval and the similarity value; The similarity value between the current frame and the key frame is calculated. If the similarity value between the current frame and the key frame is greater than a preset threshold, it is determined that a loop frame is detected; if the similarity value between the current frame and the key frame is less than or equal to the preset threshold, it is determined that the current frame does not satisfy the loop, and a new key frame is generated using the KD-Tree.

2. The scene recognition method according to claim 1, characterized in that: The generating a semantic space point cloud based on the original point cloud and calculating the semantic space features of the semantic space point cloud includes: Performing semantic segmentation on the original point cloud, clustering the original point cloud after semantic segmentation to obtain a semantic space point cloud corresponding to the original point cloud, wherein the semantic space point cloud includes a plurality of semantic point cloud clusters, each of the semantic point cloud clusters has a corresponding semantic label, and calculating and storing the centroid of each of the semantic point cloud clusters; For each of the semantic point cloud clusters, the following steps are performed: determining the semantic point cloud cluster as a target point cloud cluster, and determining k original neighboring point cloud clusters having the same semantic label as the target point cloud cluster from other semantic point cloud clusters in the semantic space point cloud; determining a target graphic and the area or volume of the target graphic based on the target point cloud cluster and the k original neighboring point cloud clusters; and determining the semantic space features of the target point cloud cluster based on the area or volume of the target graphic.

3. The scene recognition method according to claim 2, characterized in that: The step of determining a target graphic and an area or volume of the target graphic based on the target point cloud cluster and the k original neighboring point cloud clusters, and determining a semantic spatial feature of the target point cloud cluster based on the area or volume of the target graphic, comprises: Determine the target centroid of the target point cloud cluster and the neighbor centroids of the k original neighbor point cloud clusters; Determine a plurality of target graphics based on the target centroid of the target point cloud cluster and the neighbor centroids of the k original neighbor point cloud clusters; The areas or volumes of the plurality of target graphics are calculated, so as to use the sum of the areas or volumes of the plurality of target graphics as the semantic space feature of the target point cloud cluster.

4. The scene recognition method according to claim 2, characterized in that: The step of determining a target graphic and an area or volume of the target graphic based on the target point cloud cluster and the k original neighboring point cloud clusters, and determining a semantic spatial feature of the target point cloud cluster based on the area or volume of the target graphic, comprises: Determine the target centroid of the target point cloud cluster and the neighbor centroids of the k original neighbor point cloud clusters; Determine a nearest neighbor centroid and (k-1) next nearest neighbor centroids from the nearest neighbor centroids of the k original nearest neighbor point cloud clusters; Determine a plurality of target graphics based on the target centroid, the nearest neighbor centroid, and the next nearest neighbor centroid of the target point cloud cluster; Calculate the distances between (k-1) of the next nearest neighbor centroids and the target centroid, and the area or volume of the target figure respectively; The areas or volumes of the target graphics are weighted based on the distance corresponding to the target graphics, and the weighted area or weighted volume obtained by the weighting is used as the semantic space feature of the target point cloud cluster.

5. The scene recognition method according to any one of claims 1 to 4, characterized in that: Generating a semantic space enhancement feature based on the semantic space feature and other features of the original point cloud, and generating a semantic space enhancement pseudo image based on the semantic space enhancement feature, including: Obtaining the original point cloud or semantic space point cloud; Setting the radius of the region of interest, and performing spatial segmentation on the point cloud within the radius of the region of interest according to the polar coordinates on the top view to obtain a plurality of unit regions; Assigning and normalizing the unit area using other features of the point cloud corresponding to the unit area; Correcting the semantic space feature corresponding to the unit area according to the semantic label of the target point cloud cluster corresponding to the unit area to obtain a corrected semantic space feature corresponding to the unit area; The modified semantic space features corresponding to the unit area are respectively superimposed with other features corresponding to the unit area and normalized again to obtain the modified semantic space enhanced features corresponding to the unit area; A semantic space enhanced pseudo image is generated based on the modified semantic space enhanced features corresponding to the unit area.

6. A computer-readable storage medium, characterized in that: The method comprises a program which can be executed by a processor to implement the scene recognition method according to any one of claims 1 to 5.