Point cloud feature extraction method, device, equipment and storage medium

By performing voxel grid division and feature combination on point cloud data, combined with sparse convolution technology, the problem of insufficient feature richness and large amount of calculation in feature extraction of point cloud data is solved, and the feature extraction efficiency and recognition accuracy are improved. It is applicable for applications such as autonomous driving.

CN112184867BActive Publication Date: 2024-09-17CHINA FAW CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011008495.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-23
Publication Date
2024-09-17
Estimated Expiration
2040-09-23

AI Technical Summary

Technical Problem

The existing technology has the problems of insufficient feature richness and excessive calculation amount in point cloud data feature extraction, resulting in low feature extraction efficiency and inability to effectively utilize sparse point cloud data obtained by lidar.

Method used

By dividing the point cloud data into multiple voxel grids, convolution and pooling operations are performed to obtain the global feature vector layer, and combined with the height and density feature vector layers, sub-manifold sparse convolution and max pooling layers are used Perform convolution operation on the combined feature map and deconvolution to fuse the feature map and extract rich point cloud features.

Benefits of technology

It improves the feature extraction richness of point cloud data, reduces feature loss, improves feature extraction efficiency and recognition accuracy, and is suitable for applications such as autonomous driving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112184867B
    Figure CN112184867B
Patent Text Reader

Abstract

The present invention discloses a point cloud feature extraction method, device, equipment and storage medium. The method comprises: dividing the space of the collected point cloud data into multiple voxel grids, wherein the height of the voxel grid is determined according to the spatial height of the point cloud data; performing convolution and pooling operations on the point cloud data in each of the voxel grids to obtain a global feature vector layer of the point cloud data; calculating the height feature vector layer and the density feature vector layer of the point cloud data; combining the global feature vector layer, the height feature vector layer and the density feature vector layer to obtain a combined feature map of the point cloud data. The above technical solution extracts rich point cloud features by combining global feature vectors, density and height feature vectors, and divides the voxel grids according to the spatial height of the point cloud data, thereby reducing the number of voxel grids, effectively controlling the amount of calculation, and taking into account the feature extraction efficiency while improving the richness of feature map feature expression.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of computer vision technology, and in particular to a point cloud feature extraction method, device, equipment and storage medium. Background Art

[0002] As deep learning technology matures, research on intelligent vehicles has made certain breakthroughs in peripheral sensor component development, positioning and mapping, planning and decision-making, and environmental perception. Environmental perception, as a core technology, usually involves multi-sensor fusion. Among them, LiDAR plays an important role in environmental perception technology due to its accuracy and reliability in positioning and ranging. LiDAR can truly reflect the position and shape of the target by acquiring sparse point cloud data, but it lacks the rich texture information in the image, and has high requirements for feature extraction of point cloud data.

[0003] At present, the feature extraction method for point cloud data is usually to discretize the point cloud into a multi-channel BEV (bird's eye view), and each layer of BEV stores features such as point cloud height value or density value. Due to the number of layers and resolution, this method is not rich enough for feature extraction and will cause a certain degree of feature loss. There are also some methods that divide the point cloud into voxel grids more finely to improve the object detection effect, and use convolutional networks to extract features from a certain number of point clouds in the grid, which improves the richness of feature extraction to a certain extent, but will increase the amount of calculation and low feature extraction efficiency. Summary of the invention

[0004] The present invention provides a point cloud feature extraction method, device, equipment and storage medium to extract rich point cloud features and effectively control the amount of calculation.

[0005] In a first aspect, an embodiment of the present invention provides a point cloud feature extraction method, comprising:

[0006] Dividing the space of the collected point cloud data into a plurality of voxel grids, wherein the height of the voxel grids is determined according to the spatial height of the point cloud data;

[0007] Performing convolution and pooling operations on the point cloud data in each of the voxel grids to obtain a global feature vector layer of the point cloud data;

[0008] Calculating a height feature vector layer and a density feature vector layer of the point cloud data;

[0009] The global feature vector layer, the height feature vector layer and the density feature vector layer are combined to obtain a combined feature map of the point cloud data.

[0010] Furthermore, before dividing the space of the collected point cloud data into a plurality of voxel grids, the method further includes:

[0011] The size of the voxel grid is determined according to the effective detection range and resolution of the point cloud data.

[0012] Further, calculating the height feature vector layer of the point cloud data includes:

[0013] For each voxel grid, the statistical value of the point cloud height within the voxel grid is calculated as the corresponding eigenvalue at the grid point of the voxel grid to form a height eigenvector layer.

[0014] Further, calculating the density feature vector layer of the point cloud data includes:

[0015] For each voxel grid, the point cloud density in the voxel grid is calculated according to the number of points in the voxel grid, which is used as the corresponding eigenvalue at the grid point of the voxel grid to form a density feature vector layer.

[0016] Furthermore, before performing convolution and pooling operations on the point cloud data in each of the voxel grids, the method further includes:

[0017] For each voxel grid, the feature information of the extended dimension of each point in the voxel grid is calculated according to the coordinate mean of the points in the voxel grid;

[0018] The extended dimensions include the coordinate values ​​of the three axes of the point, the reflectivity value, and the difference between the coordinate values ​​of the three axes of the point and the mean values ​​of the coordinates on the corresponding axes.

[0019] Furthermore, if a voxel network does not include any point in the point cloud data, the values ​​of all feature vector layers of the voxel grid are 0.

[0020] Furthermore, it also includes:

[0021] A submanifold sparse convolution (SSC) and a maximum pooling layer are used to perform a convolution operation on the combined feature map, and each convolution operation obtains a first feature map;

[0022] A deconvolution operation is performed on the last first feature map, and the second feature map obtained by each deconvolution operation is fused with the corresponding first feature map during the convolution operation, and the fused feature map is output.

[0023] In a second aspect, an embodiment of the present invention provides a point cloud feature extraction device, comprising:

[0024] A division module, used for dividing the space of the collected point cloud data into a plurality of voxel grids, wherein the height of the voxel grid is determined according to the spatial height of the point cloud data;

[0025] A global extraction module, used for performing convolution and pooling operations on the point cloud data in each voxel grid to obtain a global feature vector layer of the point cloud data;

[0026] A calculation module, used for calculating a height feature vector layer and a density feature vector layer of the point cloud data;

[0027] The combination module is used to combine the global feature vector layer, the height feature vector layer and the density feature vector layer to obtain a combined feature map of the point cloud data.

[0028] In a third aspect, an embodiment of the present invention provides a device, including:

[0029] one or more processors;

[0030] A storage device for storing one or more programs;

[0031] When the one or more programs are executed by the one or more processors, the one or more processors implement the point cloud feature extraction method as described in the first aspect.

[0032] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the point cloud feature extraction method as described in the first aspect.

[0033] The embodiments of the present invention provide a point cloud feature extraction method, device, equipment and storage medium. The method includes: dividing the space of the collected point cloud data into multiple voxel grids, the height of the voxel grids is determined according to the spatial height of the point cloud data; performing convolution and pooling operations on the point cloud data in each voxel grid to obtain a global feature vector layer of the point cloud data; calculating the height feature vector layer and density feature vector layer of the point cloud data; combining the global feature vector layer, the height feature vector layer and the density feature vector layer to obtain a combined feature map of the point cloud data. The above technical solution extracts rich point cloud features by combining global feature vectors, density and height feature vectors, and divides the voxel grids according to the spatial height of the point cloud data, which can effectively control the amount of calculation. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 A flowchart of a point cloud feature extraction method provided by an embodiment;

[0035] Figure 2 A schematic diagram of an implementation of a point cloud feature extraction method provided by an embodiment;

[0036] Figure 3A schematic diagram of further extracting features from a combined feature map provided by an embodiment;

[0037] Figure 4 A flow chart of a point cloud feature extraction method provided by another embodiment;

[0038] Figure 5 A schematic diagram of implementing a point cloud feature extraction method provided by another embodiment;

[0039] Figure 6 A schematic diagram of the structure of a point cloud feature extraction device provided by an embodiment;

[0040] Figure 7 A schematic diagram of the hardware structure of a device provided in an embodiment. DETAILED DESCRIPTION

[0041] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. In addition, the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict. It is also necessary to explain that, for the convenience of description, only the parts related to the present invention are shown in the accompanying drawings, rather than all structures.

[0042] It should be mentioned before discussing the exemplary embodiments in more detail that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe the steps as sequential processes, many of the steps therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of the steps can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.

[0043] It should be noted that the concepts such as "first" and "second" mentioned in the embodiments of the present invention are only used to distinguish different devices, modules, units or other objects, and are not used to limit the order or interdependence of the functions performed by these devices, modules, units or other objects.

[0044] Figure 1The present invention is a flowchart of a point cloud feature extraction method provided by an embodiment. This embodiment can be applied to the case of extracting features from point cloud data. The extracted feature map can be further applied to target recognition. For example, a vehicle can identify obstacles based on the features of the extracted point cloud data to achieve obstacle avoidance or automatic driving. The point cloud feature extraction method can be performed by a point cloud feature extraction device, which can be implemented by software and / or hardware and integrated in a device. Furthermore, the device includes but is not limited to: electronic devices with data processing functions such as vehicles, vehicle controllers, host computers, computers, and servers.

[0045] like Figure 1 As shown, the method specifically comprises the following steps:

[0046] S110 , dividing the space of the collected point cloud data into a plurality of voxel grids, wherein the height of the voxel grids is determined according to the spatial height of the point cloud data.

[0047] Specifically, point cloud data is a data set of points on the surface of the object to be measured obtained by a three-dimensional measuring instrument, which belongs to a sparse point cloud. The data of each point contains the three-dimensional coordinates of the point, and may also contain the reflection intensity of the object surface at the point. The reflection intensity is related to the surface material, roughness, incident angle direction of the object to be measured, and the emission energy and laser wavelength of the instrument. For example, sparse and continuous point cloud data can be collected by sensing components such as laser radar, and the point cloud data can truly reflect the position, shape and other information of the object to be measured.

[0048] Point cloud data is the coordinate data of a series of original points, which is read into the memory of the device in the form of an array or other form. For example, the point cloud data can be [N 0 ,4]-dimensional array, where N 0 Represents the total number of points in the point cloud data. 4 means that the point data includes four dimensions, such as the three-dimensional coordinates and the reflectivity value of the point.

[0049] In this embodiment, the space of the point cloud data is divided into multiple voxel grids. The voxel grid can be understood as a volume element (Volume Pixel), which is the smallest unit of the point cloud data based on the three-dimensional space. The height of the voxel grid is determined according to the spatial height of the point cloud data. Preferably, the height of the voxel grid is less than or equal to the spatial height of the point cloud data, and the height of the voxel grid is greater than a certain threshold, for example, greater than 1 / 2 of the spatial height of the point cloud data. When the height of the voxel grid is equal to the spatial height of the point cloud data, it is equivalent to dividing the grid only in the x-axis and y-axis directions, and there is no layering in the z-axis direction of the point cloud data. The voxel grid is a column with the same height as the space of the point cloud data; when the height of the voxel grid is equal to 1 / 2 of the spatial height of the point cloud data, it is equivalent to dividing the space of the point cloud data into two layers in the z-axis direction, and the voxel grid is a column with a height of 1 / 2 of the spatial height of the point cloud data.

[0050] It should be noted that in some embodiments, the point cloud data can be divided into grids along the x-axis and y-axis directions and divided into multiple layers along the z-axis direction. In this case, the voxel grid is a block cube, and the feature extraction method of this embodiment is also applicable, but there are more layers along the z-axis direction, which will increase the amount of calculation to a certain extent.

[0051] S120 , performing convolution and pooling operations on the point cloud data in each of the voxel grids to obtain a global feature vector layer of the point cloud data.

[0052] Exemplarily, for a voxel grid, the data of all the points in the voxel grid constitute a two-dimensional array of [N, 4], and these arrays are input into a one-dimensional (1D) convolution layer for convolution operation, and output data of [N, 32]; then they are input into a 1D convolution layer for convolution operation, and output data of [N, 64]; then a pooling operation is performed, and the feature dimension can be changed to [1, 64]; then two 1D convolution operations are performed to form a four-dimensional global feature vector. For all points in the voxel grid, the corresponding four-dimensional global feature vector can be generated in the above manner. It should be noted that this embodiment does not limit the number of convolution layers, the size of the convolution kernel, and the output size. Other networks, such as fully connected networks, can also be introduced during the convolution and pooling operations, all for the purpose of extracting global features through convolution operations. By extracting the global features of each voxel grid, feature loss can be reduced and feature quality can be improved.

[0053] S130, calculating a height feature vector layer and a density feature vector layer of the point cloud data.

[0054] Specifically, when the space of point cloud data is divided into voxel grids, the height eigenvalues ​​and density eigenvalues ​​of the points in the voxel grid can be recorded at the grid points of each voxel grid. For example, the height eigenvalue of the voxel grid is obtained by counting the height of the highest point in the voxel grid, or the average of the heights of all points in the voxel grid; the density eigenvalue of the voxel grid is obtained by counting the ratio of the total number of points in the voxel grid to the voxel grid, etc. The height eigenvalues ​​at all grid points are combined together to form a height eigenvector layer for describing the height characteristics of the overall point cloud data, and the density eigenvalues ​​at all grid points are combined together to form a height eigenvector layer for describing the density characteristics of the overall point cloud data.

[0055] S140, combining the global feature vector layer, the height feature vector layer, and the density feature vector layer to obtain a combined feature map of the point cloud data.

[0056] Specifically, the global feature vector layer, the height feature vector layer, and the density feature vector layer are combined together and superimposed in the z-axis direction. The same grid point corresponds to the global feature value, the height feature value, and the density feature value in different layers, respectively, so as to obtain a combined feature map of the point cloud data. This embodiment makes the extracted features richer by fusing the global features, height features, and density features of the point cloud data, effectively reducing feature loss, thereby providing high-quality features and improving recognition accuracy when the combined feature map is applied to target recognition. Exemplarily, the combined feature map can be input into a pre-trained neural network for identifying obstacles. Since the input combined feature map has a high quality, it is conducive to the accurate extraction of comprehensive features by the neural network, thereby improving the accuracy of identifying obstacles. For example, a vehicle can collect point cloud data of obstacles through a laser radar, etc., and use the above method to extract features from the point cloud data to obtain a combined feature map, and then use the neural network to further accurately identify obstacles based on the feature information in the combined feature map, thereby effectively reminding the vehicle or user to actively avoid obstacles or control the vehicle to complete automatic driving, etc., to ensure safety.

[0057] Figure 2 FIG. 1 is a schematic diagram of an implementation of a point cloud feature extraction method provided by an embodiment. Figure 2As shown, the space of the point cloud data is divided into a 6*6 voxel grid, and the height of the voxel grid is equal to the spatial height of the point cloud data, that is, there is no layering in the z-axis direction, and the width of the voxel grid can be determined according to the effective detection range and resolution of the point cloud data. Taking N=5 points (5 points in the dotted ellipse area) in the voxel grid in the upper right corner as an example, the data of these 5 points (including three-dimensional coordinates and reflectivity values, and in some embodiments, the difference between the coordinate values ​​of the three axes of the points and the coordinate mean values ​​of the corresponding axes) are convolution and pooling operations are performed, and the data of each point is a two-dimensional array of [N,7]. These point cloud data are input into the 1D convolution layer for convolution operation, and the data of [N,32] is output; then they are input into the 1D convolution layer for convolution operation, and the data of [N,64] is output; then the pooling operation is performed, and the feature dimension can be changed to [1,64]; then two 1D convolution operations can be performed to form a 4-dimensional global feature vector, and 4 global feature vector layers can be formed.

[0058] The 4 global feature vector layers of the above 5 points correspond to the upper 4 layers in the upper right corner of the combined feature map (shown as a dotted cube). For point cloud data in all voxel grids, the corresponding 4-dimensional global feature vectors can be generated in the above manner. The 4-dimensional global feature vectors of all voxel grids constitute the 4 layers in the combined feature map. The height eigenvalues ​​at the grid points of each voxel grid of the point cloud data constitute the height feature vector layer, corresponding to the 5th layer in the combined feature map; the density eigenvalues ​​at the grid points of each voxel grid of the point cloud data constitute the density feature vector layer, corresponding to the 6th layer in the combined feature map ( Figure 2 The bottom layer of the combined feature map).

[0059] It should be noted that the number of layers of the global feature vector is at least 1. The size of the voxel grid is [H, W, 6], where H and W are determined according to the effective recognition range of the point cloud data and the resolution of the voxel grid. Preferably, the size of the voxel grid is consistent with the form of the point cloud data voxel grid division, which is easy to expand.

[0060] In one embodiment, before dividing the space of the collected point cloud data into a plurality of voxel grids, the method further includes: determining the size of the voxel grid according to the effective detection range and resolution of the point cloud data.

[0061] Specifically, the effective detection range of the point cloud data can be set according to actual needs. For example, the detection range in the three directions of the x-axis, y-axis and z-axis is set to: X∈[a,b],Y∈[-c,c],Z∈[d,e], a,b,c,d,e∈positive integers, in meters. Point cloud data outside this range will be filtered out.

[0062] The resolution of the voxel grid is recorded as (Δx, Δy), Δx, Δy∈[0,1], Δx and Δy can be the same. According to the resolution, the voxel grid is divided within the effective detection range, and the entire point cloud data is divided into grids of size [(ba) / Δx, 2c / Δx] in the plane of the x-axis and y-axis; the point cloud data is divided into C layers along the Z-axis direction, and the shape of the voxel grid can be expressed as [(ba) / Δx, 2c / Δx, C]. Preferably, C=1, and the number of voxel grids is ((ba) / Δx)*(2c / Δy).

[0063] In this embodiment, the resolution satisfies: (ba) and 2c can be divided by Δx and Δy respectively, so that an integer voxel grid is obtained for easy calculation. If this condition is not met, there may be an incomplete voxel grid, and when calculating the characteristic value of such voxel grid, it is necessary to transform and normalize the measurement with other voxel grids to analyze the characteristics of the point cloud data in a balanced manner.

[0064] In one embodiment, calculating the height feature vector layer of point cloud data includes: for each voxel grid, calculating the statistical value of the point cloud height within the voxel grid as the corresponding eigenvalue at the grid point of the voxel grid to form a height feature vector layer.

[0065] Specifically, the height values ​​of the points inside each voxel grid are counted. For example, the height feature value at the corresponding grid point of each voxel grid is set to the height value of the highest point in the voxel grid, or it can be set to the average value of the height values ​​of all points in the voxel grid, thereby forming a height feature vector map. If there is no point cloud data in a voxel grid, the corresponding height feature value is set to 0.

[0066] In one embodiment, the density feature vector layer of the point cloud data is calculated, including: for each voxel grid, the point cloud density in the voxel grid is calculated according to the number of points in the voxel grid, as the corresponding eigenvalue at the grid point of the voxel grid, to form a density feature vector layer.

[0067] Specifically, the number of point clouds in each voxel grid is counted. For example, the density feature value at the corresponding grid point of each voxel grid is set to the point cloud density d in the voxel grid. p , thus forming a density feature vector graph, the calculation formula can be expressed as: Where N is the number of points in the voxel grid. If there is no point cloud data in a voxel grid, the corresponding density eigenvalue is set to 0.

[0068] In one embodiment, before performing convolution and pooling operations on the point cloud data in each voxel grid, it also includes: for each voxel grid, according to the coordinate mean of the points in the voxel grid, calculating the feature information of the extended dimension of each point in the voxel grid; wherein the extended dimension includes the coordinate values ​​of the three axes of the point, the reflectivity value, and the difference between the coordinate values ​​of the three axes of the point and the coordinate mean of the corresponding axis.

[0069] In this embodiment, for each non-empty voxel grid, the coordinate mean of all points in the voxel grid is calculated to expand the dimension of the feature information of each point, thereby extracting richer features. For the coordinates of each point in the voxel grid, the feature information before the dimension expansion can be expressed as four dimensions: V = {p i =[x i ,y i z i ,r i ]∈R 4}, i = 1, 2, ..., N. The feature information of the extended dimension can be expressed as seven dimensions: V = {p i =[x i ,y i z i ,r i ,x i -v x ,y i -v y ,z i -v z ]∈R 7}i=1,2,...,N, or, Among them, p i is the new point feature vector after the feature dimension is expanded, which is a seven-dimensional vector, x i ,y i ,z i Respectively represent the x-axis, y-axis, and z-axis coordinate values ​​of a point, r i is the reflectivity value of a point, v x , v y , v z are the mean coordinates of all points in the voxel grid in the x-axis, y-axis, and z-axis directions, respectively. i -v x ,y i -v y ,z i -v z are the differences between a point and the mean coordinates in the corresponding direction; N represents the number of point clouds in the voxel grid.

[0070] On the basis of expansion to seven-dimensional vectors, all point cloud data in the voxel grid are composed of a two-dimensional array of shape [N,7]. The array data is sent to the first 1D convolution layer for convolution operation to form an [N,32] output; the second 1D convolution operation forms an [N,64] output; a pooling operation is performed to change the feature dimension to [1,64]; then two more 1D convolution operations are performed to form a 4-dimensional global feature vector. All non-empty voxel grids generate 4-dimensional global feature vectors inside each grid in the above manner to form 4 layers of the combined feature map. The empty voxel grid sets the vector to 0. The above feature maps are combined along the Z axis to form a combined feature map, and its shape conforms to [H,W,6].

[0071] In one embodiment, if a voxel grid does not include any point in the point cloud data, the values ​​of all feature vector layers of the voxel grid are 0.

[0072] In one embodiment, it also includes: using SSC and maximum pooling layers to perform a convolution operation on the combined feature map, and obtaining a first feature map in each convolution operation; performing a deconvolution operation on the last first feature map, and fusing the second feature map obtained by each deconvolution operation with the corresponding first feature map during the convolution operation, and outputting the fused feature map.

[0073] In this embodiment, a sparse convolution scheme is used to further extract point cloud features from the combined feature map to improve the calculation speed and improve the problem of data distortion. Specifically, SSC (n, m, s) and the maximum pooling layer are used to perform convolution operations on the combined feature map, and then deconvolution (DC) is performed to effectively avoid morphological distortion of the feature map and improve calculation efficiency. Among them, in the SSC parameters, n is the number of input channels, m is the number of output channels, and s is the convolution kernel size; the parameters of the maximum pooling layer include the size of the pooling window, the step size, etc.

[0074] Figure 3 A schematic diagram of further feature extraction of a combined feature map provided by an embodiment. Exemplarily, after performing the above-mentioned SSC and convolution operations of the maximum pooling layer three times, DC (deconvolution) and feature fusion are performed three times. Figure 3As shown, the first deconvolution (D-SSC) operation is performed on the output of the third convolution operation (i.e., a second feature map), the second deconvolution operation is performed on the fusion result of the output of the first deconvolution operation (i.e., another second feature map) and the output of the second convolution operation (i.e., a first feature map), and the third deconvolution operation is performed on the fusion result of the output of the second deconvolution operation (i.e., another second feature map) and the output of the first convolution operation (i.e., another first feature map), and the fused feature map is obtained, which has richer and more accurate features. It should be noted that this embodiment does not limit the relevant parameters of the convolution operation and the deconvolution operation.

[0075] Figure 4 A flowchart of a point cloud feature extraction method provided for another embodiment. This embodiment involves the process of dividing voxel grids, expanding dimensions, calculating combined feature maps, and further fusing features using SSC and pooling layers. It should be noted that the technical details not described in detail in this embodiment can be referred to any of the above embodiments.

[0076] like Figure 4 As shown, the method includes:

[0077] S210 , determining the size of the voxel grid according to the effective detection range and resolution of the point cloud data.

[0078] S220 , dividing the space of the collected point cloud data into a plurality of voxel grids, wherein the height of the voxel grids is equal to the spatial height of the point cloud data.

[0079] S230 . For each voxel grid, calculate feature information of the extended dimension of each point in the voxel grid according to the coordinate mean of the points in the voxel grid.

[0080] S240, performing convolution and pooling operations on the point cloud data in each voxel grid to obtain a global feature vector layer of the point cloud data.

[0081] S250 . For each voxel grid, calculate the statistical value of the point cloud height within the voxel grid as the corresponding eigenvalue at the grid point of the voxel grid, and form a height eigenvector layer.

[0082] S260 . For each voxel grid, calculate the point cloud density in the voxel grid according to the number of points in the voxel grid, and use it as the eigenvalue corresponding to the grid point of the voxel grid to form a density feature vector layer.

[0083] S270, combining the global feature vector layer, the height feature vector layer, and the density feature vector layer to obtain a combined feature map of the point cloud data.

[0084] S280, using submanifold sparse convolution and maximum pooling layer to perform convolution operation on the combined feature map, and each convolution operation obtains a first feature map.

[0085] S290, performing a deconvolution operation on the last first feature map, fusing the second feature map obtained by each deconvolution operation with the corresponding first feature map during the convolution operation, and outputting the fused feature map.

[0086] It should be noted that this embodiment does not limit the execution order of S240 - S260 .

[0087] The combined feature map in this embodiment, on the one hand, retains the spatial position information of the point cloud data of the point through the height eigenvalue and the density eigenvalue, and on the other hand, performs convolution operation on all points in the voxel grid to extract the global features of all points in the voxel grid, which can reduce feature loss and improve feature richness. In addition, on the basis of dividing the voxel grid, the position information of the small target existence point can be extracted, and the global feature extraction of the small target position at the entire height can improve the feature richness of the small target, improve the small target detection effect, and enhance the detection capability.

[0088] Figure 5 FIG. 1 is a schematic diagram of implementing a point cloud feature extraction method provided by another embodiment. Figure 5 As shown, first, the effective detection range and resolution of the point cloud data are set, and the voxel grid is divided accordingly, and each voxel grid is traversed to perform feature extraction, wherein the point cloud data is collected by sensing components such as laser radar.

[0089] If a voxel grid is empty, all eigenvalues ​​corresponding to the voxel grid are 0; if it is not empty, the number of point clouds in the voxel grid is counted, and the height eigenvalue, density eigenvalue and point coordinate mean are calculated, where the height eigenvalue corresponding to the grid points of each voxel grid constitutes a height feature vector layer; the density eigenvalue corresponding to the grid points of each voxel grid constitutes a density feature vector layer; the point coordinate mean is used to expand the dimension of the feature information, and the expanded feature information is extracted through convolution and pooling operations to obtain a global feature vector layer. The height feature vector layer, density feature vector layer and global feature vector layer are combined (superimposed along the z-axis direction) to obtain a combined feature map.

[0090] Optionally, if all voxel grids are traversed, that is, feature extraction is completed for each voxel grid, more accurate features are further extracted from the combined feature map through SSC and deconvolution operations. The obtained combined feature map or the features further extracted through SSC and deconvolution operations have high richness and can be applied to target recognition to improve the accuracy of target recognition.

[0091] Figure 6FIG. 1 is a schematic diagram of a point cloud feature extraction device provided by an embodiment. Figure 6 As shown, the point cloud feature extraction device provided in this embodiment includes:

[0092] A division module 310 is used to divide the space of the collected point cloud data into a plurality of voxel grids, wherein the height of the voxel grid is determined according to the spatial height of the point cloud data;

[0093] A global extraction module 320, configured to perform convolution and pooling operations on the point cloud data in each of the voxel grids to obtain a global feature vector layer of the point cloud data;

[0094] A calculation module 330, used to calculate a height feature vector layer and a density feature vector layer of the point cloud data;

[0095] The combination module 340 is used to combine the global feature vector layer, the height feature vector layer and the density feature vector layer to obtain a combined feature map of the point cloud data.

[0096] The present embodiment provides a point cloud feature extraction device, which extracts rich point cloud features by combining global feature vectors, density and height feature vectors, and divides voxel grids according to the spatial height of point cloud data, thereby effectively controlling the amount of calculation.

[0097] Based on the above embodiment, it also includes:

[0098] The size determination module is used to determine the size of the voxel grid according to the effective detection range and resolution of the point cloud data before dividing the space of the collected point cloud data into multiple voxel grids.

[0099] Furthermore, the calculation module 330 includes:

[0100] The first calculation unit is used to calculate the statistical value of the point cloud height in each voxel grid as the corresponding eigenvalue at the grid point of the voxel grid to form a height eigenvector layer.

[0101] Furthermore, the calculation module 330 includes:

[0102] The second calculation unit is used to calculate the point cloud density in each voxel grid according to the number of points in the voxel grid as the corresponding eigenvalue at the grid point of the voxel grid to form a density feature vector layer.

[0103] Furthermore, it also includes:

[0104] A dimension expansion module, used for calculating, for each voxel grid, feature information of the expanded dimension of each point in the voxel grid according to the coordinate mean of the points in the voxel grid before performing convolution and pooling operations on the point cloud data in each voxel grid;

[0105] The extended dimensions include the coordinate values ​​of the three axes of the point, the reflectivity value, and the difference between the coordinate values ​​of the three axes of the point and the mean values ​​of the coordinates on the corresponding axes.

[0106] Furthermore, if a voxel network does not include any point in the point cloud data, the values ​​of all feature vector layers of the voxel grid are 0.

[0107] Furthermore, it also includes:

[0108] A convolution module, used for performing a convolution operation on the combined feature map by using a submanifold sparse convolution and a maximum pooling layer, and obtaining a first feature map by each convolution operation;

[0109] The fusion module is used to perform a deconvolution operation on the last first feature map, fuse the second feature map obtained by each deconvolution operation with the corresponding first feature map during the convolution operation, and output the fused feature map.

[0110] The point cloud feature extraction device provided in this embodiment can be used to execute the point cloud feature extraction method provided in any of the above embodiments, and has corresponding functions and beneficial effects.

[0111] Figure 7 The hardware structure diagram of a device provided in an embodiment. The device includes but is not limited to: a vehicle, a vehicle controller, a host computer, a computer, a mobile phone, a tablet computer, a server and other electronic devices with data processing functions. Figure 7 As shown, a device provided in this embodiment includes: a processor 410 and a storage device 420. The processor in the device may be one or more, Figure 7 Taking a processor 410 as an example, the processor 410 and the storage device 420 in the device may be connected via a bus or other means. Figure 7 The example of connecting through bus is taken in the following.

[0112] The one or more programs are executed by the one or more processors 410 , so that the one or more processors implement the point cloud feature extraction method described in any of the above embodiments.

[0113] The storage device 420 in the device is a computer-readable storage medium that can be used to store one or more programs, which can be software programs, computer executable programs, and modules, such as program instructions / modules corresponding to the point cloud feature extraction method in the embodiment of the present invention (for example, the attached Figure 6 The modules in the point cloud feature extraction device shown include: a division module 310, a global extraction module 320, a calculation module 330 and a combination module 340). The processor 410 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the storage device 420, that is, the point cloud feature extraction method in the above method embodiment is implemented.

[0114] The storage device 420 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required for a function; the data storage area can store data created according to the use of the device, etc. (such as point cloud data, global feature vectors, etc. in the above embodiment). In addition, the storage device 420 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the storage device 420 may further include a memory remotely arranged relative to the processor 410, and these remote memories can be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0115] Furthermore, when one or more programs included in the above-mentioned device are executed by the one or more processors 410, the following operations are performed: the space of the collected point cloud data is divided into multiple voxel grids, and the height of the voxel grid is determined according to the spatial height of the point cloud data; convolution and pooling operations are performed on the point cloud data in each voxel grid to obtain a global feature vector layer of the point cloud data; the height feature vector layer and the density feature vector layer of the point cloud data are calculated; the global feature vector layer, the height feature vector layer and the density feature vector layer are combined to obtain a combined feature map of the point cloud data.

[0116] The device proposed in this embodiment and the point cloud feature extraction method proposed in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to any of the above embodiments, and this embodiment has the same beneficial effects as executing the point cloud feature extraction method.

[0117] On the basis of the above embodiments, this embodiment also provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a point cloud feature extraction device, the point cloud feature extraction method in any of the above embodiments of the present invention is implemented, the method comprising: dividing the space of the collected point cloud data into multiple voxel grids, wherein the height of the voxel grids is determined according to the spatial height of the point cloud data; performing convolution and pooling operations on the point cloud data in each of the voxel grids to obtain a global feature vector layer of the point cloud data; calculating a height feature vector layer and a density feature vector layer of the point cloud data; and combining the global feature vector layer, the height feature vector layer and the density feature vector layer to obtain a combined feature map of the point cloud data.

[0118] Of course, the storage medium containing computer executable instructions provided by an embodiment of the present invention, whose computer executable instructions are not limited to the operations of the point cloud feature extraction method as described above, can also execute related operations in the point cloud feature extraction method provided by any embodiment of the present invention, and have corresponding functions and beneficial effects.

[0119] Through the above description of the implementation methods, technicians in the relevant field can clearly understand that the present invention can be implemented with the help of software and necessary general-purpose hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform the point cloud feature extraction method described in each embodiment of the present invention.

[0120] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A point cloud feature extraction method, It is characterized in that include: Dividing the space of the collected point cloud data into a plurality of voxel grids, wherein the height of the voxel grids is determined according to the spatial height of the point cloud data; Performing convolution and pooling operations on the point cloud data in each of the voxel grids to obtain a global feature vector layer of the point cloud data; Calculating a height feature vector layer and a density feature vector layer of the point cloud data; Combining the global feature vector layer, the height feature vector layer, and the density feature vector layer to obtain a combined feature map of the point cloud data; The step of calculating the height feature vector layer of the point cloud data includes: For each voxel grid, calculating the statistical value of the point cloud height within the voxel grid as the height characteristic value corresponding to the grid point of the voxel grid; Combining the height eigenvalues ​​at all grid points together to form a height eigenvector layer of the point cloud data; Calculating the density feature vector layer of the point cloud data, including: For each voxel grid, according to the number of points in the voxel grid, the point cloud density in the voxel grid is calculated as the density characteristic value corresponding to the grid point of the voxel grid; The density feature values ​​at all grid points are combined together to form a density feature vector layer of the point cloud data.

2. The method according to claim 1, It is characterized in that Before dividing the space of the collected point cloud data into a plurality of voxel grids, the method further includes: The size of the voxel grid is determined according to the effective detection range and resolution of the point cloud data.

3. The method according to claim 1, It is characterized in that Before performing convolution and pooling operations on the point cloud data in each of the voxel grids, the method further includes: For each voxel grid, the feature information of the extended dimension of each point in the voxel grid is calculated according to the coordinate mean of the points in the voxel grid; The extended dimensions include the coordinate values ​​of the three axes of the point, the reflectivity value, and the difference between the coordinate values ​​of the three axes of the point and the mean values ​​of the coordinates on the corresponding axes.

4. The method according to claim 1, Features: If a voxel network does not include any point in the point cloud data, the values ​​of all feature vector layers of the voxel grid are 0.

5. The method according to any one of claims 1 to 4, It is characterized in that Also includes: Using submanifold sparse convolution and maximum pooling layer to perform convolution operation on the combined feature map, each convolution operation obtains a first feature map; A deconvolution operation is performed on the last first feature map, and the second feature map obtained by each deconvolution operation is fused with the corresponding first feature map during the convolution operation, and the fused feature map is output.

6. A point cloud feature extraction device, It is characterized in that include: A division module, used for dividing the space of the collected point cloud data into a plurality of voxel grids, wherein the height of the voxel grid is determined according to the spatial height of the point cloud data; A global extraction module, used for performing convolution and pooling operations on the point cloud data in each voxel grid to obtain a global feature vector layer of the point cloud data; A calculation module, used for calculating a height feature vector layer and a density feature vector layer of the point cloud data; A combination module, used for combining the global feature vector layer, the height feature vector layer and the density feature vector layer to obtain a combined feature map of the point cloud data; Wherein, the calculation module includes a first calculation unit and a second calculation unit; The first computing unit is used for: For each voxel grid, calculating the statistical value of the point cloud height within the voxel grid as the height characteristic value corresponding to the grid point of the voxel grid; Combining the height eigenvalues ​​at all grid points together to form a height eigenvector layer of the point cloud data; The second computing unit is used for: For each voxel grid, according to the number of points in the voxel grid, the point cloud density in the voxel grid is calculated as the density characteristic value corresponding to the grid point of the voxel grid; The density feature values ​​at all grid points are combined together to form a density feature vector layer of the point cloud data.

7. A device, It is characterized in that include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the point cloud feature extraction method as described in any one of claims 1-5.

8. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the point cloud feature extraction method as described in any one of claims 1 to 5 is implemented.