CN109118564B - A three-dimensional point cloud marking method and device based on fused voxels - Google Patents

A three-dimensional point cloud marking method and device based on fused voxels Download PDF

Info

Publication number
CN109118564B
CN109118564B CN201810861715.4A CN201810861715A CN109118564B CN 109118564 B CN109118564 B CN 109118564B CN 201810861715 A CN201810861715 A CN 201810861715A CN 109118564 B CN109118564 B CN 109118564B
Authority
CN
China
Prior art keywords
voxel
point cloud
feature
dimensional
voxels
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201810861715.4A
Other languages
Chinese (zh)
Other versions
CN109118564A (en
Inventor
马燕新
鲁敏
涂兵
郭裕兰
雷印杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
National University of Defense Technology
Original Assignee
Shandong Jiayin Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Jiayin Information Technology Co ltd filed Critical Shandong Jiayin Information Technology Co ltd
Priority to CN201810861715.4A priority Critical patent/CN109118564B/en
Publication of CN109118564A publication Critical patent/CN109118564A/en
Application granted granted Critical
Publication of CN109118564B publication Critical patent/CN109118564B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/00Three-dimensional [3D] image rendering
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computer Graphics (AREA)
  • Health & Medical Sciences (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Image Analysis (AREA)

Abstract

The embodiment of the invention provides a three-dimensional point cloud marking method and device based on fusion voxels. The three-dimensional point cloud marking method based on the fusion voxels comprises the steps of carrying out voxelization on a three-dimensional point cloud data set, and carrying out voxel feature extraction in the voxels based on a processing result to form a first voxel feature matrix; taking the first voxel feature matrix as the input of a three-dimensional convolutional neural network to calculate multi-scale features of voxels, and carrying out feature series fusion on the multi-scale features to obtain a second voxel feature matrix; expanding voxel features in the second voxel feature matrix into points in the three-dimensional point cloud data set based on a feature interpolation algorithm to obtain a point cloud feature matrix; and inputting the point cloud characteristic matrix into a multi-layer sensor to realize attribute marking of the three-dimensional point cloud. The method can realize finer point-by-point classification and identification so as to further improve the point cloud marking performance.

Description

Three-dimensional point cloud marking method and device based on fusion voxels
Technical Field
The invention relates to the technical field of data marking, in particular to a three-dimensional point cloud marking method and device based on fusion voxels.
Background
With the wide application of three-dimensional sensors (such as LiDAR, microsoft Kinect, ASUS Xtion, etc.) in various fields (such as mobile robot, autopilot, remote sensing interpretation, virtual reality, augmented reality, battlefield situation awareness, etc.), three-dimensional data is also growing significantly in recent years, and three-dimensional point cloud labeling is an important means for processing three-dimensional data, which is to identify the category attribute of each point in observed scene point cloud data and assign a unique category label to each point, such as a building, a road, an automobile, etc. However, the traditional semantic labeling based on the voxel convolutional neural network requires that all points in a voxel share the same semantic label, and regular data input is required, and meanwhile, the obtained labeling result is also a rough labeling result at the voxel level.
Disclosure of Invention
In view of the above, the present invention provides a three-dimensional point cloud labeling method and apparatus based on fusion voxels to solve the above-mentioned problems.
In one aspect, a preferred embodiment of the present invention provides a three-dimensional point cloud labeling method based on fused voxels, the method comprising:
voxel processing is carried out on the three-dimensional point cloud data set, and voxel feature extraction is carried out in voxels based on a processing result to form a first voxel feature matrix;
Taking the first voxel feature matrix as the input of a three-dimensional convolutional neural network to calculate multi-scale features of voxels, and carrying out feature series fusion on the multi-scale features to obtain a second voxel feature matrix;
expanding voxel features in the second voxel feature matrix into points in the three-dimensional point cloud data set based on a feature interpolation algorithm to obtain a point cloud feature matrix;
and inputting the point cloud characteristic matrix into a multi-layer sensor to realize attribute marking of the three-dimensional point cloud.
On the other hand, the preferred embodiment of the invention also provides a three-dimensional point cloud marking device based on the fusion voxels, which comprises:
the voxel processing and feature extraction module is used for carrying out voxelization processing on the three-dimensional point cloud data set and carrying out voxel feature extraction in the voxels based on the processing result to form a first voxel feature matrix;
the multi-scale voxel feature calculation module is used for taking the first voxel feature matrix as the input of a three-dimensional convolutional neural network to calculate multi-scale features of voxels, and carrying out feature series fusion on the multi-scale features to obtain a second voxel feature matrix;
the feature expansion module is used for expanding the voxel features in the second voxel feature matrix to each point in the three-dimensional point cloud data set based on a feature interpolation algorithm to obtain a point cloud feature matrix;
And the point cloud marking module is used for inputting the point cloud characteristic matrix into the multi-layer sensor so as to mark the attribute of the three-dimensional point cloud.
Compared with the prior art, the three-dimensional point cloud marking method and device based on the fusion voxels, provided by the embodiment of the invention, have the advantages that the multi-scale space is built on the regularized voxel model based on the voxel convolution neural network to extract multi-scale voxel characteristics, then the voxel characteristics are expanded to the point characteristics in a characteristic interpolation mode, and further finer point-by-point classification identification and point cloud marking are realized.
In addition, the invention also utilizes CRF-RNN to optimize the marking result of the marked point cloud data so as to improve the marking precision.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an application scenario of a three-dimensional point cloud marking device based on fusion voxels according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart of a three-dimensional point cloud labeling method based on fusion voxels according to an embodiment of the present invention.
Fig. 3 is a schematic view of the sub-flow of step S11 shown in fig. 2.
Fig. 4 is a schematic diagram of a three-dimensional point cloud labeling method framework structure based on a voxel convolutional neural network according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a local and global feature fusion module according to an embodiment of the present invention.
Fig. 6 is a schematic diagram of a voxel feature extraction network according to an embodiment of the present invention.
Fig. 7 is a schematic view of the sub-flow of step S12 shown in fig. 2.
Fig. 8 is a schematic diagram of a three-dimensional convolution operation according to an embodiment of the present disclosure.
FIG. 9 is a two-dimensional schematic of convolution and deconvolution provided by an embodiment of the present invention.
Fig. 10 is a schematic diagram of a multi-scale feature extraction structure based on 3D CNN according to an embodiment of the present invention.
Fig. 11 is a schematic diagram of point cloud feature interpolation based on voxel features according to an embodiment of the present invention.
Fig. 12 is a schematic diagram of a full-connection CRF connection according to an embodiment of the present invention.
Fig. 13 is a schematic diagram of a CRF implementation structure based on RNN according to an embodiment of the present invention.
Fig. 14 is a schematic diagram of a three-dimensional point cloud label network structure for fusing voxel convolutional neural network and CRF back-end optimization provided in an embodiment of the present invention.
Fig. 15 is a schematic diagram of a labeling result on an S3DIS dataset based on XYZ coordinate information according to an embodiment of the present invention.
Fig. 16 is a schematic diagram of a labeling result on a vKITTI data set based on XYZ coordinate information according to an embodiment of the present invention.
Fig. 17 is a class confusion matrix for Point-VoxelNet on two data sets provided by an embodiment of the present invention.
Fig. 18 is a class confusion matrix for PVCRF provided in an embodiment of the present invention on two data sets.
Fig. 19 is a schematic block structure diagram of a three-dimensional point cloud labeling device based on fusion voxels according to an embodiment of the present invention.
Icon: 10-an electronic terminal; 100-a three-dimensional point cloud marking device based on fusion voxels; 110-voxel processing and feature extraction module; a 111-voxel dividing unit; 112-a point cloud classifying unit; 113-a point cloud sampling unit; 120-a multi-scale voxel feature calculation module; 130-feature extension module; 140-a point cloud marking module; 200-memory; 300-a memory controller; 400-processor.
Detailed Description
The inventor has found that on the global context information modeling of existing scene point clouds, the representation capability of graph models (graphic models) can be generally utilized to be solved, as a more common way is to combine classifiers with conditional random fields (Conditional Random Fields, CRF) to estimate semantic labels for each data point. However, the classifier classification stage and the CRF optimization stage are usually operated independently as separate modules, and have no interaction with each other, so that information exchange between the modules is limited.
Among these, three-dimensional voxel convolutional neural networks are a good choice for the classifier. The three-dimensional voxel convolution neural network is expanded from a two-dimensional convolution neural network, has good performance in the three-dimensional target classification and identification task, and has the advantages of clear network structure, easy acceleration implementation and the like compared with a depth neural network based on point cloud. However, the voxel neural network requires a regularized data input and its labeling results are also rough labeling at the voxel level.
Aiming at the problems in the prior art, the embodiment of the invention provides a three-dimensional point cloud marking method and a three-dimensional point cloud marking device based on fusion voxels, wherein a multi-scale space is built on a regularized voxel model based on a voxel convolution neural network to extract multi-scale voxel characteristics, and then the voxel characteristics are expanded to point characteristics by utilizing a characteristic interpolation mode, so that finer point-by-point classification and identification are realized, and the marking performance is further improved. For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
Fig. 1 is a schematic diagram of an application scenario of a three-dimensional point cloud labeling apparatus 100 based on fusion voxels according to an embodiment of the present invention. The electronic terminal 10 includes, among other things, a fused voxel-based three-dimensional point cloud marking apparatus 100, a memory 200, a memory controller 300, and a processor 400. The electronic terminal 10 may be, but not limited to, an electronic device having a processing function such as a computer or a mobile internet device (mobile Internet device, MID), or may be a server.
Optionally, the memory 200, the memory controller 300, and the processor 400 are electrically connected directly or indirectly to each other to realize data transmission or interaction. For example, the components may be electrically connected by one or more communication buses or signal lines. The fused voxel based three-dimensional point cloud marking apparatus 100 comprises at least one software functional module that may be stored in the memory 200 in the form of software or firmware or cured in the operating system of the electronic terminal 10. The processor 400 accesses the memory 200 under the control of the memory controller 300 for executing executable modules stored in the memory 200, such as software functional modules and computer programs included in the fused voxel-based three-dimensional point cloud marking apparatus 100.
It is to be understood that the configuration shown in fig. 1 is merely illustrative and that the electronic terminal 10 may also include more or fewer components than those shown in fig. 1 or have a different configuration than that shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
Further, referring to fig. 2 in combination, the embodiment of the present invention further provides a three-dimensional point cloud labeling method based on a fused voxel, and the three-dimensional point cloud labeling method based on the fused voxel is described below in combination with fig. 2.
Step S11, voxelization processing is carried out on the three-dimensional point cloud data set, and voxel feature extraction is carried out in voxels based on a processing result to form a first voxel feature matrix;
step S12, taking the first voxel feature matrix as the input of a three-dimensional convolutional neural network to calculate multi-scale features of voxels, and carrying out feature series fusion on the multi-scale features to obtain a second voxel feature matrix;
step S13, extending voxel features in the second voxel feature matrix to points in the three-dimensional point cloud data set based on a feature interpolation algorithm to obtain a point cloud feature matrix;
and S14, inputting the point cloud feature matrix into the multi-layer sensor to realize attribute marking of the three-dimensional point cloud.
In the embodiment, the three-dimensional point cloud is subjected to voxelization firstly, then the feature extraction is performed on the point cloud in the voxels, then the voxels model taking the voxels feature as the element is input into the three-dimensional convolutional neural network to perform multi-scale feature extraction and fusion, and then the feature interpolation algorithm is utilized to expand the voxels feature to the point cloud feature, so that the marking of the three-dimensional point cloud is realized, and the marking precision of the point cloud can be effectively improved.
In detail, referring to fig. 3, the process of voxelization of the point cloud in step S11 may be implemented by the following steps S111-S113:
step S111, dividing a point cloud coordinate space into a plurality of voxels according to a preset voxel size;
step S112, classifying each point in the three-dimensional point cloud data set into a corresponding voxel according to the grid parameters of the voxel;
step S113, sampling the points in each voxel after classification so that the number of points in the voxels reaches a first preset value.
In this embodiment, a point cloud voxelization model is introduced in the steps S111 to S113 to voxelize the point cloud. Specifically, as shown in FIG. 4, the point cloud is voxelized, i.e., in terms of a given voxel sizeThe point cloud coordinate space is segmented into a plurality of voxels. Wherein, the size of the input point cloud in three coordinate axes, namely X, Y, Z axis direction is W, H, E, and the size of each voxel is lambda W 、λ H 、λ E The model after voxelization is of size W' =w/λ W 、H'=H/λ H 、E'=E/λ E . In this embodiment, W ', H ', E ' may be integers and powers of 2 in order to facilitate the subsequent convolution operation.
After the voxel grid is implemented in the point cloud coordinate space in step S111, each point in the point cloud may be further classified according to the grid parameters of each voxel, so that each point is assigned to each voxel. However, when the point cloud is classified, the acquired point cloud is often uneven due to the influence of measurement errors, distance, shielding and other factors when the three-dimensional point cloud data is acquired, for example, the point cloud of a part of areas is concentrated, and the point cloud of the part of areas is sparse. In addition, the collection of the point cloud data is equivalent to the sampling of the surface of the target, so that the interior of the target is empty, the point cloud data does not exist, and therefore, after the voxel is formed in the point cloud space, the distribution of the point cloud in each voxel is uneven, as shown in fig. 4, wherein the voxels in the lower left corner do not contain the point cloud, and the voxels in the upper right corner contain fewer points. Therefore, in order to facilitate the subsequent unified voxel feature extraction, the same number of points need to be sampled from each voxel after the point cloud segmentation, such as the first preset value T (T is determined according to the point cloud resolution and the storage capacity).
It should be noted that, when sampling is performed, if the number of points included in a voxel is greater than a first preset value, randomly sampling the first preset value of points from the current voxel so that the number of points in the voxel reaches the first preset value; if the number of points contained in the voxel is smaller than the first preset value, randomly selecting one or more points from the current voxel to copy so that the number of points in the voxel reaches the first preset value. For example, assuming that the first preset value is T, for voxels with the number of points in the voxel exceeding T, randomly sampling T points, for voxels with the number of points in the voxel being less than T, randomly copying the corresponding number of points to obtain a set of T points, performing point cloud blocking and sampling to obtain a set of voxels containing T points, and further performing feature learning by using point cloud data in the voxels to obtain effective feature expression of each voxel containing point cloud.
Further, the step of extracting the point cloud feature in the voxel based on the processing result in the step S11 to form a first voxel feature matrix includes: calculating the center coordinates of the point cloud aiming at the point cloud in each voxel, and carrying out center normalization processing on the point cloud data in the voxels based on the center coordinates to obtain an initial data matrix; inputting the initial data matrix into an LGAB module to realize point-by-point local feature description, and carrying out point-by-point pooling operation on the local feature set in the voxel by adopting maximum pooling to obtain the global feature of the voxel and taking the global feature as a first voxel feature matrix.
Specifically, in the embodiment of the present invention, a local and global feature fusion module (LGAB) as shown in fig. 5 is used to stack to build a feature learning network for voxel sign extraction. Wherein, as shown in FIG. 6, suppose V x For non-empty voxels containing T points, i.e. V x ={p i =(x i ,y i ,z i (v) i=1, 2,3, …, T), then center normalization is performed before the point cloud data (initial data matrix) is input to the LGAB module, i.e. the center coordinates (c) of the point cloud in the voxel are calculated first x ,c y ,c z ) Using the central coordinates (c x ,c y ,c z ) Performing center normalization on the point cloud data to obtain a final initial data matrix of the input dataThat is, the input to the voxel feature extraction module is a t×6-dimensional initial data matrix.
Further, the stacked LGAB modules can be used for obtaining point-by-point local feature description, and the maximum value Pooling (MP) is used for Pooling the point-by-point feature set in the voxels, so that the global features of the voxels can be obtained. An example of feature extraction for non-empty voxels is given in fig. 6, where the remaining non-empty voxels may share the same network parameters in performing feature extraction in order to reduce the number of parameters. In practical implementation, because the LGAB module can well integrate the local neighborhood sharing information of the point cloud and the respective difference information, in this embodiment, the point cloud information inside the voxel can be effectively extracted by using cascade connection of a plurality of LGAB modules.
Further, as shown in fig. 7, the process of taking the first voxel feature matrix as an input of the three-dimensional convolutional neural network to calculate the multi-scale feature of the voxel in step S12 may be implemented by the following steps.
Step S120, converting the voxel feature matrix into 4-dimensional tensors, and respectively inputting the 4-dimensional tensors into three-dimensional convolution neural networks with convolution kernels of different sizes to calculate voxel features under different scales;
step S121, respectively inputting the voxel features under different scales into three-dimensional deconvolution neural networks with convolution kernels of different sizes to obtain a plurality of voxel features with different scales, wherein the convolution kernel size of each three-dimensional deconvolution neural network during convolution is correspondingly the same as the convolution kernel size of each three-dimensional deconvolution neural network during deconvolution.
In detail, because the space geometric information is important information of the three-dimensional object, the three-dimensional data is directly processed to extract effective feature description of the object, the invention uses the great success of the two-dimensional convolution neural network in image processing to expand the two-dimensional convolution neural network into the three-dimensional convolution neural network, namely, when the three-dimensional convolution neural network is adopted to process the three-dimensional data, the three-dimensional data needs to be subjected to regularization processing, namely, voxel processing, and two-dimensional convolution operation, pooling operation and the like need to be expanded to the three-dimensional voxel data. Wherein, the three-dimensional convolution formula is:
In the formula (1), the components are as follows,for the input three-dimensional voxel data, +.>In the form of a three-dimensional convolution kernel template,for which a response is output. Similar to the two-dimensional convolution operation, the three-dimensional convolution operation simply expands the two-dimensional convolution kernel to the three-dimensional convolution kernel, and includes three dimensions of length, width and height, and correspondingly, as shown in fig. 8, the local sense of the three-dimensional convolution kernel is also converted from a local neighborhood on the two-dimensional plane to a local neighborhood in the three-dimensional space. In practical implementation, the three-dimensional convolution operation reduces the spatial size of the three-dimensional data, i.e. the spatial size of the three-dimensional feature map is smaller than the size of the input voxel data. However, for three-dimensional data labeling, feature information of each data point needs to be acquired, that is, features of each voxel need to be acquired when voxel feature extraction is performed, so that a feature map after a convolution operation needs to be mapped back into an original input voxel. To solve this problem, the present embodiment uses deconvolution (deconvolution) to process the obtained three-dimensional voxel feature map to obtain a feature map of the same size as the input voxel data. The core of deconvolution operation is still convolution operation, but the edge 0-supplementing operation is carried out on the input characteristic data before the convolution operation so as to ensure the size requirement of the output characteristic diagram. For example, FIG. 9 shows a two-dimensional example of a convolution and deconvolution operation, where blue mark data is the input data for both operations, gray mark data is the convolution kernel (the same size), and green mark data is the response output for both. It can be seen that the input to the deconvolution layer is the output of the convolution layer, which has the same size as the input to the convolution layer.
Further, after processing all non-empty voxels based on the foregoing operations, a series of D-dimensional voxel features can be obtained. Since each voxel feature uniquely corresponds to voxel coordinates in three-dimensional space, the acquired feature can be expressed as a 4-dimensional tensor whose size is W ' x H ' x E ' x D, (for empty voxels, a D-dimensional zero vector is used as its feature description). After the feature representation is converted into the feature representation based on the 4-dimensional tensor, a three-dimensional convolutional neural network (3D CNN) can be adopted for further feature optimization. Considering that feature extraction under a fixed scale (convolution kernel size) is insufficient to completely express local neighborhood structure information of voxels, the method adopts multi-scale feature extraction and fusion to extract more abundant local neighborhood information.
As shown in fig. 10, the three-dimensional convolutional neural network structure is a specific three-dimensional convolutional neural network structure, that is, the 3D CNN-based multi-scale feature extraction mainly includes a three-dimensional convolutional operation (Conv 3D), a three-dimensional deconvolution operation (DeConv 3D), and a feature tandem operation (Concat). For the input W ' ×H ' ×E ' ×D dimensional feature, three different convolution kernels were used to perform convolution and deconvolution operations, denoted Conv3D (f in ;f out ;ker;st;pad),DeConv3D(f in ;f out The method comprises the steps of carrying out a first treatment on the surface of the A ker; st; pad), where f in 、f out Representing the dimension of the input-output characteristic matrix, and the ker; st; the pad represents the size of the convolution kernel, the moving step size of the convolution kernel during convolution and the data filling size during data expansion, and are all three-dimensional vectors. To obtain features at different scales, the three convolution kernels may be, but are not limited to, (1; 2); (2; 1; 2); (2; 1) the convolution uses the same convolution kernel as in the deconvolution operation, in which the corresponding edge-fill 0 operation is performed. In addition, the convolution layer and the deconvolution layer not only comprise convolution and deconvolution operations, but also comprise a normalization layer (Batch Normalization layer, BN) and a ReLU activation operation after each convolution operation.
The 3D CNN-based multi-scale feature extraction adopts different convolution kernels to extract and fuse voxel features along three mutually perpendicular directions (namely X, Y, Z directions) of a three-dimensional space, so that the learned features can contain more local structure information, and more complete expression of point cloud is realized.
Further, in step S13, since the feature description of each point needs to be acquired when the labeling of the three-dimensional point cloud is implemented, and the three-dimensional convolutional neural network just can acquire the feature description of each voxel, the feature description of each point in the input point cloud is acquired by interpolating the voxel features. As shown in FIG. 11 For a given target point p, a nearest preset number (such as 8) of neighborhood voxels in the voxel space formed by the second voxel feature matrix is found, and the feature descriptions corresponding to the neighborhood voxels are respectivelyWhere j=1, 2, …,8, then the target point p is characterized as:
in the formula (2), the amino acid sequence of the compound,representing the center point c in the voxels according to the target point p and the jth neighborhood j Weight parameter derived from Euclidean distance between them, < ->And representing the voxel characteristics of the jth neighborhood voxel, and repeatedly executing the process on each point in the three-dimensional point cloud, so that the voxel characteristics in the second voxel characteristic matrix can be expanded to each point in the three-dimensional point cloud data set to obtain the point cloud characteristic matrix.
Further, in step S14, the point cloud feature matrix of each point obtained in step S13 is input into a multi-layer perceptron (MLP) to realize point classification, i.e. three-dimensional point cloud labeling, and the specific network structure thereof is shown in fig. 4 again.
According to the actual requirement, in order to further optimize the point cloud marking result obtained by adopting the convolutional neural network and improve the marking precision, the invention further comprises a step S15.
And S15, inputting the three-dimensional point cloud with the completed attribute mark into a CRF-RNN network to perform point cloud attribute mark optimization.
Specifically, in the embodiment, the FC-CRF realized based on the CNN basic operation is embedded into the point cloud marking network based on the three-dimensional convolutional neural network, so that the three-dimensional point cloud fine marking network which is end-to-end and integrates coarse marking and rear end optimization is realized, and the accuracy of the point cloud marking, particularly the smoothness of the target boundary and the contour, is further improved.
In the embodiment, the CRF for the three-dimensional point cloud mark is modeled first, then CRF based on CNN operation is approximately realized, and finally the CRF optimized three-dimensional point cloud mark is fused.
The traditional semantic marks are modeled as point-by-point classification and identification, and the classification and identification are carried out by adopting local features and deep neural networks. However, point-by-point classification usually brings about some clearly unacceptable marking errors, for example, a part of points inside a certain target may be identified as other categories, because point-by-point classification does not consider the point-to-point adjacency relationship, and only uses the neighborhood information of the part and small size of the point to be marked. If the object structure information can be modeled in advance (for example, all objects are continuous, and adjacent points with similar characteristics should be marked as the same kind of objects), and the marking result is optimized and limited based on the modeling result, some obvious errors can be effectively removed, and then the marking result with high precision is obtained. Conditional Random Fields (CRFs) are efficient methods of modeling object continuity and its neighborhood structure information, and have been widely used in two-dimensional image labeling. Wherein the conditional random field is a model for calculating the conditional probability distribution of a given set of random variables for another set of output random variables, the main feature of which is to assume that the output variables constitute a markov random field (Markov Random Field, MRF).
In detail, the CRF is a discriminant probability undirected graph model, can model global context information and cross characteristics in data, and is a probability graph model capable of well processing sequence data segmentation and marking. Let x= { X given a set of random variables 1 ,X 2 ,…,X N And p= { P 1 ,P 2 ,…,P N (wherein X is i ∈L={l 1 ,l 1 ,…,l M For a three-dimensional point cloud label, P is an input point cloud containing N points, P j For the observation vector of the j-th point, X is the semantic mark of the input point cloudAs a result, X i For the semantic label of the ith point, which takes one of M semantic labels, the corresponding CRF model can be represented by Gibbs probability distribution, namely:
in the formula (3), G is a probability undirected graph constructed on a random variable set X, O is a group in the graph G, wherein, ο each pair of nodes in the network is adjacent, OG then it is the set of all groups in G, Z (P) is a normalization function, Λ (x ο P) is an energy function on a radical, also known as a potential function.
For any marking result x ε L N The overall potential function of (2) is:
solving based on the maximum posterior probability algorithm to obtain an optimal marking result:
from the foregoing optimal solution, it can be seen that the maximization of the posterior probability of the labeling result, i.e., the minimization of the overall potential function. It can be seen that the conditional random field firstly realizes modeling of local context information through the group potential function, and then utilizes the graph structure to transfer the context information, so that modeling of the context information in a large range is realized.
For the fully connected CRF model, each node in graph G is connected to the rest of the nodes, as shown in FIG. 12, corresponding groups O As a group containing a single node or containing paired nodes, the overall potential function corresponding to x can be expressed as:
wherein, for convenience of description, the condition P part in the conditional posterior probability is removed in the formula (6), that is, Λ (x) =Λ (x|p),as a unit potential function>I, j=1, 2, …, N as a pairwise binary potential function. Elementary potential function->Indicating that the ith node in graph G is marked as x i At the cost, the function is usually defined by the probability output of a discriminant classifier, the estimation result at this time often contains more noise points, and the segmentation result often is discontinuous at the edge of the target. The paired binary potential function gives the simultaneous marking of the ith observation point and the j observation points as x i 、x j The cost of the method is that the method has the effects of keeping the consistency of marks of adjacent observation points and reducing inconsistency, and the smoothness of marking results can be improved.
The idea of gaussian weighting is used to define a pair binary potential function as:
in equation (7), the function ψ (x) i ,x j ) Calculating a function, w, for consistency between different labels (m) As the weight value of the weight value,for a gaussian kernel based smoothing filter function, there is a total of M G A Gaussian kernel function f i ,f j Feature vectors representing observation points i, j, respectively, and have +.>Each Gaussian kernel function->Can pass through a symmetrical positive definite matrix lambda m Is defined. So far, the full-connection CRF modeling for the three-dimensional point cloud mark is completed, and the next step is how to solve to obtain the optimal mark result.
The three-dimensional point cloud label optimization process based on the full-connection CRF is a process of maximizing posterior probability phi (X) based on input point cloud data. Solving the accurate posterior probability is difficult and has huge calculation amount, and the average field-based approximation method can convert the posterior probability phi (X) into a series of mutually independent products of marginal probabilities, namely phi (X) and theta (X) and II i=1 Θ i (X i ) Any labeling result x can be obtained by combining formulas (3) - (7) i Is (are) marginal probability theta i The method comprises the following steps:
based on equation (8), an iterative inference algorithm for CRF can be constructed, as shown in algorithm 5.1. The convergence of the iterative algorithm is mainly measured by the difference between the estimated Q and the estimated P, and can be obtained by evaluating the convergence of the algorithm, and when the iteration number is 10, the estimation error is small, so that the algorithm has good convergence.
Algorithm 1: CRF iterative inference algorithm based on average field approximation
1. Initializing: initializing all nodes
While is convergence do
3. Information transfer: calculate all Gaussian filter results
4. And (5) weighted filtering:
5. and (3) consistency detection:
6. adding a unitary potential function:
7. normalization:
8.end while
how the above algorithm can be implemented by using correlation operations in the CNN to iterate the CRF is described below. The biggest problem in reconstructing the algorithm based on CNN operation is that whether the back propagation of errors can be realized or not, namely, the BP algorithm is adopted for parameter learning training.
(1) Initializing operations
The initialization operation in algorithm 1 is:
wherein,,i.e. all values may be summed. Recording deviceThere is->Z i =∑ l exp(U i (l) It can be seen that this operation is equivalent to marking the results U for all possible sites i (l) An activation operation based on the Softmax function is performed. The Softmax function is a commonly used activation function in CNN networks, which does not contain any parameters, whose error derivatives can be counter-propagatedThus, the Back-Propagation (BP) algorithm can also be utilized for learning training.
(2) Information transfer
As shown in algorithm 1, the information transfer in CRF is performed by M G A Gaussian filter pair Θ j Smoothing filtering is performed. The kernel function of the Gaussian filter is obtained according to the characteristics of the point cloud, such as coordinate information or color and intensity information of points, and expresses the association relation between the points of each scene. In the fully-connected CRF model, each filter needs to cover all points in the point cloud, and the data volume and the calculation amount of each filter are large, so that each filter cannot be directly implemented. The method (permutohedral laTTice) based on the full-freedom polyhedral lattice is adopted to realize the rapid Gaussian convolution, the calculated amount is O (N), N is the number of points for filtering, and compared with the traditional Gaussian convolution, the method has the advantages of higher speed and better filtering effect. The fast gaussian convolution based on the full-degree-of-freedom polyhedral lattice method comprises four stages, namely a polyhedral lattice construction stage, an extended (splat) mapping, a slice (slice) mapping, a fuzzy (blur) stage and the like.
In back propagation, the input (error derivative) of the current convolution layer is the output of the previous filter passing M in the opposite direction G And outputting results after the Gaussian filters. In gaussian convolution based on the full-degree-of-freedom polyhedral lattice method, this back propagation can be achieved by reversing the order of filters in the blur stage on the basis of maintaining the same polyhedral lattice construction, expansion mapping and slice mapping as in the forward propagation. The calculated amount of the implementation method is still O (N), so that the calculated amount is obviously reduced, and the calculation efficiency is improved.
(3) Weighted filtering
The following calculation is the aforementioned M for each semantic label/ G The output results are weighted and summed. In the point cloud label, each semantic label is independent, so that the weighted filtering operation can be realized through M G A convolution operation with a convolution kernel of l×l is implemented, wherein the input of the convolution operation is a convolution operation containing M G The feature matrix of each channel is output as a feature matrix containing l channels. In the back propagation, due to thisThe input and output of the step operation are known, and the convolution kernels are mutually independent, so that error derivatives of the convolution kernel parameters and the input data can be calculated, and further the BP algorithm can be utilized to learn and train the convolution kernel parameters.
(4) Consistency detection
In the consistency detection, compatibility calculation is carried out on the output results of different labels in the last step by using a PoTTs model. The compatibility calculation is mainly to compare whether the labels of two similar observation points are the same, wherein the consistency detection is 0 when the semantic labels of the two points are the same, and the penalty item sigma is introduced when the semantic labels of the two points are different, and the calculation is as follows:
compared to using a fixed penalty term σ, the present invention contemplates using a penalty value learned based on data because the degree of association between different labels is different and thus the effect of marking different labels at adjacent points on the overall marking result is different. Therefore, the consistency detection can also be regarded as a convolution layer, the number of input and output channels of the layer is M (label number), the convolution kernel size is l×l, and the learned neuron connection weight parameter is the value of the conversion function. This step is also back-propagated, since it is implemented using a basic convolution operation.
(5) Increasing the unitary potential function
By applying a unitary potential functionAnd combining the output result obtained in the consistency detection element by element to obtain a complete potential function result. In the step of adding the unitary potential function, no parameter is included, so that the error in the output can be simply copied to the input end to realize back propagation.
(6) Normalization
Similar to the initialization procedure, the normalization step can also be implemented by an activation operation based on a Softmax function, whose back propagation is consistent with the back propagation in CNN based on the Softmax function. So far, the basic operation in the CNN network is adopted to realize each step of single iteration in the algorithm 1, and the steps are stacked to realize the solving algorithm of multiple iterations.
Based on the above description, in this embodiment, the CRF model is first approximately modeled by using an average field approximation method, and then each step in the average field approximation method is equivalently implemented by using the basic operation in the CNN, that is, the average field approximation algorithm of a single iteration is implemented. For the iterative average field approximation method, only related steps are needed to be stacked, namely iterative average field approximation calculation can be realized by adopting a recursive CNN structure (RNN), the structure is shown in fig. 13, the given input point cloud data is P, and the point-by-point unitary potential function is U=U i (l) The marginal probability obtained in the previous iteration is H 1 The marginal probability obtained by the current iteration is H 2 The single average field approximation is denoted as f Ω (U,P,H 1 ) Ω is its parameter set (including all parameters in weighted filtering and consistency detection) and Ω= { w (m) ψ (l, l'). For H 1 Initializing the output as a softmax function with U as input at the beginning of the iteration, equal to H in subsequent iterations 2 The outputs of (1) are:
wherein T' is the number of iterations.
After obtaining H 1 Then H is performed based on the average field approximation algorithm 2 Namely:
H 2 (t')=f Ω (U,P,H 1 (t')),0<t'≤T'
for output Y, the estimation result is output only at the last iteration, i.e., y=h 2 (T')。
Based on the above analysis, it can be known that the error derivative about the parameter in the whole network structure (denoted CRF-RNN) is available, so that it can be solved by using standard BP algorithm, and thus can be embedded into other neural networks for learning training.
Further, a three-dimensional Point cloud labeling network (Point voxelnet+crf-RNN, PVCRF) fused with the three-dimensional voxel convolution neural network and CRF back-end optimization is constructed based on the aforementioned Point cloud labeling network Point-VoxelNet network, and the specific structure is shown in fig. 14, wherein, for an input Point cloud, voxelNet is first voxelized according to the scene size of the input Point cloud and a fixed number of Point clouds are randomly selected in the voxels for subsequent feature extraction, then feature extraction is performed in the voxels based on the LGAB module to obtain simple voxel features, after all non-empty voxel features are obtained (the features of empty voxels adopt the complementary 0 operation), multi-scale voxel feature extraction and fusion are performed based on the three-dimensional convolution neural network (Conv 3D, deConv 3D), then the multi-scale voxel features are expanded to all points by an interpolation method to obtain Point-by-Point feature, then the Point feature is input into a multi-layer perceptron to obtain a preliminary Point cloud labeling result, and finally back-end optimization is performed based on the CRF-n network structure. The network structure well realizes information interaction between the classification and identification stage and the CRF optimization stage in the point cloud marking, and has obvious effect on improving the precision of the point cloud marking.
Based on the description of the three-dimensional point cloud marking method based on the fusion voxels, the inventor also verifies the performance of the three-dimensional point cloud marking method based on the fusion voxels, such as evaluation indexes of point set intersection ratio (Intersection over Union, ioU), overall Accuracy (OA) and the like, and evaluates the point cloud marking performance.
(1) Network implementation and parameter setting
In the point cloud data rasterization and sampling stage, different data sets need to be processed differently.
S3DIS: for the S3DIS dataset, the maximum size range of the scene along the Z, Y, X axis direction is e=8m, h=16m, and w=50m, respectively. To cover the entire scene, the size of the entire grid is 8×16×50, and the size of each voxel is λ E =0.5m、λ H =0.25m、λ W The voxel model sizes constructed were E ' =16, h ' =64, w ' =256, with more voxels being empty, =0.2m. T=32 points were chosen for each voxel.
vKITTI: for the vKITTI data set, the maximum size ranges of the scenes along the Z, Y, X axis direction are E=33m, H=193 m and W=148 m respectively. Here, the size of each voxel is set to lambda E =2m、λ H =1.6m、λ W The voxel model sizes constructed are E ' =16, h ' =128, w ' =128, =1.2m. Likewise, t=32 points are selected in each voxel.
For the CRF-RNN network, to prevent overfitting and gradient lapse, the number of iterations is set to T '=5 in the training phase, and T' =10 in the testing phase. The gaussian filter size is consistent with the point cloud data size.
The invention adopts a strategy of two-step training, wherein the first step is to train the Point-VoxelNet independently, and the second step is to finely tune the PVCRF of the network combining the Point-VoxelNet and the CRF-RNN. In the Point-VoxelNet network, an Adam optimization algorithm with a dynamic value of 0.9 is adopted for training and optimization, the initial learning rate is 0.001, and the training batch size is 16. For the PVCRF network, an Adam optimization algorithm with a dynamic value of 0.6 is adopted for training and optimization, the initial learning rate is 0.0001, and the training batch size is 16. During training, an early-stop strategy is also employed to obtain optimal network parameters, the maximum number of training rounds being 100, and training is stopped if the network parameters remain un-updated after 10 consecutive rounds of training. In the test phase, the algorithm is verified by adopting 6-fold cross verification, and the grouping situation of the training data and the test data is shown in table 1.
The proposed three-dimensional voxel neural network structure and CRF-RNN network structure are realized by adopting a Tensorflow deep learning framework based on Python language. The experimental hardware environment is as follows: intel Core i76700KCPU,48G memory, GTX 1080Ti graphic card (supporting CUDA 8.0, cuDNN 5.1).
(2) Quantitative result analysis
Based on the two data sets, the application effect of the deep neural network model (Point VoxelNet and PVCRF) in the three-dimensional Point cloud marking is compared, and the comparison analysis is carried out with the currently better marking algorithms PointNet, MS+CU (2), SEGCloud and 3 DContextNet. The rectangular coordinate information of the point cloud, namely the XYZ coordinates, is only adopted for processing.
TABLE 1
TABLE 2
The statistics marking results of different network models on two small data sets are shown in tables 1 and 2, wherein the PVCRF model provided by the embodiment obtains better average IoU on S3DIS and vKITTI data sets, namely 51.8% and 39.1% respectively, and obtains better results on the overall marking accuracy OA, namely 81.2% and 82.6% respectively, which shows that the PVCRF model can better acquire the complete feature expression of the point cloud, and proves that the multi-scale feature extraction based on the three-dimensional voxel space has equivalent functions to the multi-scale feature extraction based on the European space, and can provide the detail information of the point cloud scene for the three-dimensional point cloud marking.
Comparing PVCRF with SEGCLloud, SEGCLloud, directly adopting binary voxel model to make voxel feature learning, using rasterized point cloud voxel model for PVCRF, and utilizing point cloud in the voxels to make voxel feature learning. Both add back-end optimization based on fully connected CRF model. In addition, the PVCRF comprises a multi-scale feature extraction module based on a three-dimensional voxel space, so that the PVCRF obtains higher average IoU, and the processing by utilizing the point cloud data in the voxels and the feature description with stronger characterization capability can be extracted by the multi-scale feature extraction module are fully described.
Comparing the Point-VoxelNet with the PVCRF model, the PVCRF achieves better performance in both average IoU and overall accuracy OA, because the fully connected CRF model can model a larger range of context information, and has stronger characterization capability for Point cloud adjacencies.
On different data sets, taking PointNet as a benchmark, because the point clouds in the S3DIS data set are concentrated, the point cloud density is generally higher, the network model PVCRF provided by the embodiment obtains larger performance improvement, and in the vKITTI data set, the performance improvement is smaller because the point cloud distribution is generally sparse.
The marking results obtained by the different algorithms on the S3DIS and vKITTI data sets and the true marking results are shown in fig. 15 and 16. The steps are as follows from left to right: and inputting a color point cloud, and truly marking the result based on the marking result of PointNet, point-VoxelNet, PVCRF. As can be seen from the labeling results in fig. 15 and 16, the results obtained based on PVCRF are better than the points net and the Point-VoxelNet, and the labeling results are closer to the real results, thus proving the effectiveness of multi-scale feature learning and CRF back-end optimization in PVCRF. Compared with PointNet and Point-VoxelNet, the marking result obtained based on Point-VoxelNet is superior to PointNet, which is mainly because the introduction of multi-scale feature learning in Point-VoxelNet improves the feature learning capability of the network model.
In indoor and outdoor scenarios, the Point-VoxelNet, PVCRF model is still difficult to separate for objects with high overlap or tight connection, such as the wall panel (board) and window (window) in fig. 15, the road (road) and terrain (terrain) in fig. 16. Because the Point-VoxelNet and PVCRF models both consider multi-scale feature extraction, objects larger than the object size in the scene can be marked well, such as a table in fig. 15 and a building in fig. 16.
Compared with Point-VoxelNet and PVCRF, the full-connection CRF can extract large-scale context information in the scene Point cloud, so that details in the labeling result are more prominent, as shown by the segmentation result of chair (chair) and sofa (sofa) in the first row of fig. 15, and road (road) and terrain (terrain) in fig. 16.
(4) Category confusion matrix analysis
Fig. 17 and fig. 18 respectively show category confusion matrices obtained by two network models of Point-VoxelNet and PVCRF on the S3DIS and vKITTI data sets, wherein the numerical values in the matrix grids are category marking accuracy, and the grid colors also represent the accuracy. Comparing the results of the two results can find that for the indoor data set S3DIS, the segmentation precision of the Point-VoxelNet model and the PVCRF model on various targets is equivalent, and the introduction of the CRF model mainly reduces confusion between tables and floors and the like. For the outdoor data set vKITTI, the introduction of the CRF model mainly reduces the confusion between buildings (building) and trucks (van) and the like.
As can be seen from fig. 17 (a), in the S3DIS data set, the recognition accuracy of the Point-VoxelNet network model on ceilings (ceilings), floors (floor), doors (door), columns (columns), beams (beams), windows (windows), bookcases (book case), wallboards (board) and chairs (chair) is above 52%, the accuracy of the marks is low, namely sofas (sofa), walls (wall) and shadows (cluTTer), the accuracy is between 35% and 46%, and the worst of 13 targets is tables (table), and the accuracy is 22%. The average class accuracy obtained by PVCRF on S3DIS dataset is similar to the Point-VoxelNet network model, but the general accuracy is improved, wherein the accuracy of the table is improved to 30%, as shown in fig. 18 (a).
Similar comparisons are also found in vKITTI data sets, as shown in FIGS. 17 (b) and 18 (b). This comparison demonstrates the accurate knowledge and modeling of the CRF model for the target details in the scene. Comparing the different results in the two data sets in fig. 17 and fig. 18, the marking precision on the vKITTI data set is generally lower, mainly because the point cloud in the vKITTI data set is generally sparse and uneven relative to the point cloud data in the S3DIS data set, the neighborhood structure of the point is not obvious, and thus, the information extraction is insufficient, and the realization of high-precision point cloud marking is not facilitated.
(5) Calculation time statistical analysis
Experimental analysis was performed on the calculation efficiency of the different algorithms on the S3DIS dataset. The S3DIS dataset contains 272 independent point clouds, each point cloud is labeled by using different algorithms, and the average test time (only the time consumed by the neural network calculation and the time consumed by the data preparation stage are not counted) is counted, and the statistical result is shown in table 3. As can be seen from the statistics in Table 3, the calculation time of PointNet is about 1.8s. The time consumed by the calculation of the PVCRF, which is a network model for fusing the three-dimensional voxel convolutional neural network and the back-end optimization of the CRF, is maximum and is 4.52s, and the calculated amount is obviously increased due to the introduction of the CRF.
TABLE 3 Table 3
And finally, further optimizing by adopting FC-CRF realized based on convolutional neural network to obtain a fine marking result.
Further, referring to fig. 19 in combination, the page building apparatus 100 provided in the embodiment of the present invention includes a voxel processing and feature extraction module 110, a multi-scale voxel feature calculation module 120, a feature expansion module 130, and a point cloud labeling module 140.
The voxel processing and feature extracting module 110 is configured to voxel a three-dimensional point cloud data set, and perform voxel feature extraction in a voxel based on a processing result to form a first voxel feature matrix; in this embodiment, the step S11 may be performed by the voxel processing and feature extraction module 110, that is, the specific description of the voxel processing and feature extraction module 110 may refer to the step S11, and the description of this embodiment is omitted herein. Alternatively, as shown in fig. 19, in the present embodiment, the voxel processing and feature extraction module 110 includes a voxel dividing unit 111, a point cloud classifying unit 112, and a point cloud sampling unit 113.
A voxel dividing unit 111, configured to divide the point cloud coordinate space into a plurality of voxels according to a preset voxel size; in this embodiment, the step S111 may be performed by the voxel dividing unit 111, that is, the specific description of the voxel dividing unit 111 refers to the step S111, and the embodiment is not repeated here.
A point cloud classifying unit 112, configured to classify each point in the three-dimensional point cloud dataset into a corresponding voxel according to a grid parameter of the voxel; in this embodiment, the step S112 may be performed by the point cloud classifying unit 112, that is, the specific description of the point cloud classifying unit 112 may refer to the step S112, and the description of this embodiment is omitted herein.
And the point cloud sampling unit 113 is configured to sample the points in each voxel after classification so that the number of points in the voxels reaches a first preset value. In this embodiment, the step S113 may be performed by the point cloud sampling unit 113, that is, the specific description of the point cloud sampling unit 113 may refer to the step S113, and the description of this embodiment is omitted herein.
The multi-scale voxel feature calculation module 120 is configured to take the first voxel feature matrix as an input of the three-dimensional convolutional neural network to calculate a multi-scale feature of the voxel, and perform feature series fusion on the multi-scale feature to obtain a second voxel feature matrix; in this embodiment, the step S12 may be performed by the multi-scale voxel feature calculation module 120, that is, the specific description of the multi-scale voxel feature calculation module 120 refers to the step S12, and the description of this embodiment is omitted herein.
The feature expansion module 130 is configured to expand voxel features in the second voxel feature matrix into points in the three-dimensional point cloud data set based on a feature interpolation algorithm to obtain a point cloud feature matrix; in this embodiment, the step S13 may be performed by the feature expansion module 130, that is, the specific description of the feature expansion module 130 refers to the step S13, and the description of this embodiment is omitted here.
The point cloud marking module 140 is configured to input the point cloud feature matrix into the multi-layer sensor to implement attribute marking of the three-dimensional point cloud. In this embodiment, the step S14 may be performed by the point cloud marking module 140, that is, the specific description of the point cloud marking module 140 refers to the step S14, and the description of this embodiment is omitted herein.
In summary, the three-dimensional point cloud marking method and device based on the fused voxels provided by the embodiment of the invention are characterized in that a multi-scale voxel characteristic is extracted by constructing a multi-scale space based on a voxel convolution neural network on a regularized voxel model, and then the voxel characteristic is expanded to a point characteristic by utilizing a characteristic interpolation mode, so that finer point-by-point classification identification and point cloud marking are realized.
In the description of the present invention, the terms "configured," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art. In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus and method embodiments described above are merely illustrative, for example, flow charts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to preset numbers of embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code. The modules, segments, or portions of code contain one or a predetermined number of logic functions for achieving the specified functions.
It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. A three-dimensional point cloud labeling method based on fusion voxels, the method comprising:
voxel processing is carried out on the three-dimensional point cloud data set, and voxel feature extraction is carried out in voxels based on a processing result to form a first voxel feature matrix;
Taking the first voxel feature matrix as the input of a three-dimensional convolutional neural network to calculate multi-scale features of voxels, and carrying out feature series fusion on the multi-scale features to obtain a second voxel feature matrix;
expanding voxel features in the second voxel feature matrix into points in the three-dimensional point cloud data set based on a feature interpolation algorithm to obtain a point cloud feature matrix;
inputting the point cloud feature matrix into a multi-layer sensor to realize attribute marking of the three-dimensional point cloud;
the step of extracting the point cloud features in the voxels based on the processing results to form a first voxel feature matrix comprises the following steps:
calculating the center coordinates of the point cloud aiming at the point cloud in each voxel, and carrying out center normalization processing on the point cloud data in the voxels based on the center coordinates to obtain an initial data matrix;
inputting the initial data matrix into an LGAB module to realize point-by-point local feature description, and carrying out point-by-point pooling operation on a local feature set in a voxel by adopting maximum pooling to obtain a global feature of the voxel and taking the global feature as a first voxel feature matrix;
the step of expanding the voxel features in the second voxel feature matrix into points in the three-dimensional point cloud data set based on a feature interpolation algorithm comprises the following steps:
Each point in the three-dimensional point cloud data set is used as a target point, and a preset number of voxels closest to the target point are searched in a voxel space formed by the second voxel characteristic matrix to be used as neighborhood voxels;
and performing extension calculation on the voxel characteristics of the neighborhood voxels to obtain the point cloud characteristics of the target point.
2. The method for labeling a three-dimensional point cloud based on fused voxels according to claim 1, wherein the step of voxelizing the point cloud comprises:
dividing the point cloud coordinate space into a plurality of voxels according to the preset voxel size;
classifying each point in the three-dimensional point cloud data set into a corresponding voxel according to the grid parameters of the voxel;
and sampling the points in each voxel after classification so that the number of the points in the voxels reaches a first preset value.
3. The fused voxel-based three-dimensional point cloud labeling method of claim 2, wherein the step of sampling points in each of the categorized voxels comprises:
if the number of the points contained in the voxel is larger than a first preset value, randomly sampling the first preset value points from the current voxel to enable the number of the points in the voxel to reach the first preset value;
If the number of points contained in the voxel is smaller than a first preset value, randomly selecting one or more points from the current voxel to copy so that the number of points in the voxel reaches the first preset value.
4. The method of claim 1, wherein the step of using the first voxel feature matrix as an input to a three-dimensional convolutional neural network to calculate multi-scale features of voxels comprises:
converting the voxel characteristic matrix into 4-dimensional tensors, and respectively inputting the 4-dimensional tensors into three-dimensional convolution neural networks with convolution kernels of different sizes to calculate voxel characteristics under different scales;
and respectively inputting the voxel features under different scales into three-dimensional deconvolution neural networks with convolution kernels of different sizes to obtain a plurality of voxel features with different scales, wherein the convolution kernel size of each three-dimensional deconvolution neural network during convolution is correspondingly the same as the convolution kernel size of each three-dimensional deconvolution neural network during deconvolution.
5. The fusion voxel-based three-dimensional point cloud labeling method of claim 1, wherein the point cloud features F of the target point p p Is thatWherein (1)>Representing the center point c in the voxels according to the target point p and the jth neighborhood j Weight parameter obtained from Euclidean distance between F v j Representing the voxel characteristics of the jth neighborhood voxel.
6. The fused voxel-based three-dimensional point cloud labeling method of claim 1, further comprising:
and inputting the three-dimensional point cloud with the completed attribute mark into a CRF-RNN network to perform point cloud attribute mark optimization.
7. A three-dimensional point cloud marking device based on fused voxels, the device comprising:
the voxel processing and feature extraction module is used for carrying out voxelization processing on the three-dimensional point cloud data set and carrying out voxel feature extraction in the voxels based on the processing result to form a first voxel feature matrix;
the multi-scale voxel feature calculation module is used for taking the first voxel feature matrix as the input of a three-dimensional convolutional neural network to calculate multi-scale features of voxels, and carrying out feature series fusion on the multi-scale features to obtain a second voxel feature matrix;
the feature expansion module is used for expanding the voxel features in the second voxel feature matrix to each point in the three-dimensional point cloud data set based on a feature interpolation algorithm to obtain a point cloud feature matrix;
The point cloud marking module is used for inputting the point cloud characteristic matrix into the multi-layer sensor so as to mark the attribute of the three-dimensional point cloud;
the voxel processing and feature extraction module is specifically configured to calculate a center coordinate of a point cloud in each voxel for the point cloud, and perform center normalization processing on point cloud data in the voxel based on the center coordinate to obtain an initial data matrix; inputting the initial data matrix into an LGAB module to realize point-by-point local feature description, and carrying out point-by-point pooling operation on a local feature set in a voxel by adopting maximum pooling to obtain a global feature of the voxel and taking the global feature as a first voxel feature matrix;
the feature expansion module is specifically configured to, for each point in the three-dimensional point cloud data set, respectively serve as a target point, and search a voxel space formed by the second voxel feature matrix for a preset number of voxels closest to the target point to serve as neighborhood voxels; and performing extension calculation on the voxel characteristics of the neighborhood voxels to obtain the point cloud characteristics of the target point.
8. The fused voxel-based three-dimensional point cloud labeling apparatus of claim 7, wherein the voxel processing and feature extraction module comprises:
The voxel dividing unit is used for dividing the point cloud coordinate space into a plurality of voxels according to the preset voxel size;
the point cloud classifying unit is used for classifying each point in the three-dimensional point cloud data set into a corresponding voxel according to the grid parameters of the voxel;
and the point cloud sampling unit is used for sampling the points in each voxel after classification so that the number of the points in the voxels reaches a first preset value.
CN201810861715.4A 2018-08-01 2018-08-01 A three-dimensional point cloud marking method and device based on fused voxels Expired - Fee Related CN109118564B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810861715.4A CN109118564B (en) 2018-08-01 2018-08-01 A three-dimensional point cloud marking method and device based on fused voxels

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810861715.4A CN109118564B (en) 2018-08-01 2018-08-01 A three-dimensional point cloud marking method and device based on fused voxels

Publications (2)

Publication Number Publication Date
CN109118564A CN109118564A (en) 2019-01-01
CN109118564B true CN109118564B (en) 2023-09-19

Family

ID=64863798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810861715.4A Expired - Fee Related CN109118564B (en) 2018-08-01 2018-08-01 A three-dimensional point cloud marking method and device based on fused voxels

Country Status (1)

Country Link
CN (1) CN109118564B (en)

Families Citing this family (52)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109816714B (en) * 2019-01-15 2023-03-21 西北大学 Point cloud object type identification method based on three-dimensional convolutional neural network
CN109829399B (en) * 2019-01-18 2022-07-05 武汉大学 Vehicle-mounted road scene point cloud automatic classification method based on deep learning
CN109978888B (en) * 2019-02-18 2023-07-28 平安科技(深圳)有限公司 Image segmentation method, device and computer-readable storage medium
CN110060288A (en) * 2019-03-15 2019-07-26 华为技术有限公司 Generation method, device and the storage medium of point cloud characteristic pattern
CN110097077B (en) * 2019-03-26 2021-12-10 深圳市速腾聚创科技有限公司 Point cloud data classification method and device, computer equipment and storage medium
CN110046561A (en) * 2019-03-29 2019-07-23 贵阳铝镁设计研究院有限公司 A kind of electrolytic aluminium anode carbon block surface steel seal recognition methods based on 3D vision
CN110059608B (en) 2019-04-11 2021-07-06 腾讯科技(深圳)有限公司 Object detection method, device, electronic device and storage medium
CN112115744B (en) * 2019-06-20 2024-05-21 北京京东叁佰陆拾度电子商务有限公司 Point cloud data processing method and device, computer storage medium and electronic equipment
EP3767521A1 (en) * 2019-07-15 2021-01-20 Promaton Holding B.V. Object detection and instance segmentation of 3d point clouds based on deep learning
CN112446227B (en) * 2019-08-12 2025-02-25 浙江菜鸟供应链管理有限公司 Object detection method, device and equipment
CN111027581A (en) * 2019-08-23 2020-04-17 中国地质大学(武汉) A 3D target detection method and system based on learnable coding
CN114450870A (en) 2019-09-23 2022-05-06 卡诺科技公司 Fractional slot electric motor comprising coil elements with rectangular cross-section
CN110675488B (en) * 2019-09-24 2023-02-28 电子科技大学 Construction method of the modeling system of creative 3D voxel model based on deep learning
WO2021056516A1 (en) * 2019-09-29 2021-04-01 深圳市大疆创新科技有限公司 Method and device for target detection, and movable platform
CN111104641B (en) * 2019-12-10 2023-07-21 重庆大学 A method for identifying crystal grains by computer in three-dimensional space
CN111144242B (en) * 2019-12-13 2023-09-29 中国科学院深圳先进技术研究院 A three-dimensional target detection method, device and terminal
CN111223101B (en) * 2020-01-17 2023-08-11 湖南视比特机器人有限公司 Point cloud processing method, point cloud processing system and storage medium
CN111340935A (en) * 2020-01-23 2020-06-26 北京市商汤科技开发有限公司 Point cloud data processing method, intelligent driving method, related device and electronic equipment
CN111260775B (en) * 2020-01-23 2022-05-20 清华大学 Three-dimensional reconstruction method and device based on multi-scale perception of occlusion information
CN111339871B (en) * 2020-02-18 2022-09-16 中国电子科技集团公司第二十八研究所 A method and device for judging the distribution pattern of target groups based on convolutional neural network
CN111414802B (en) * 2020-02-21 2023-06-27 青岛海洋科技中心 Protein data characteristic extraction method
CN111368733B (en) * 2020-03-04 2022-12-06 电子科技大学 Three-dimensional hand posture estimation method based on label distribution learning, storage medium and terminal
CN113763465A (en) * 2020-06-02 2021-12-07 中移(成都)信息通信科技有限公司 Garbage determination system, model training method, determination method, and device
CN114930401B (en) * 2020-07-20 2025-07-29 深圳元戎启行科技有限公司 Three-dimensional reconstruction method and device based on point cloud and computer equipment
CN112085066B (en) * 2020-08-13 2022-08-26 南京邮电大学 Voxelized three-dimensional point cloud scene classification method based on graph convolution neural network
CN111951368B (en) * 2020-08-31 2023-08-08 广州大学 Deep learning method for point cloud, voxel and multi-view fusion
CN112184867B (en) * 2020-09-23 2024-09-17 中国第一汽车股份有限公司 Point cloud feature extraction method, device, equipment and storage medium
CN112257605B (en) * 2020-10-23 2021-07-23 中国科学院自动化研究所 3D target detection method, system and device based on self-labeled training samples
CN113759338B (en) * 2020-11-09 2024-04-16 北京京东乾石科技有限公司 Target detection method, device, electronic device and storage medium
CN112541535B (en) * 2020-12-09 2024-01-05 中国科学院深圳先进技术研究院 Three-dimensional point cloud classification method based on complementary multi-branch deep learning
CN112884723B (en) * 2021-02-02 2022-08-12 贵州电网有限责任公司 Insulator string detection method in three-dimensional laser point cloud data
US11875424B2 (en) 2021-03-15 2024-01-16 Shenzhen University Point cloud data processing method and device, computer device, and storage medium
CN112990010B (en) * 2021-03-15 2023-08-18 深圳大学 Point cloud data processing method, device, computer equipment and storage medium
CN113033655B (en) * 2021-03-23 2025-05-16 广州虎牙科技有限公司 Classification method, device, electronic device and storage medium of 3D voxel model
CN113378854A (en) * 2021-06-11 2021-09-10 武汉大学 Point cloud target detection method integrating original point cloud and voxel division
CN113487713B (en) * 2021-06-16 2022-09-02 中南民族大学 Point cloud feature extraction method and device and electronic equipment
CN113706710B (en) * 2021-08-11 2024-03-08 武汉大学 Virtual point multi-source point cloud fusion method and system based on FPFH feature differences
CN113780446A (en) * 2021-09-16 2021-12-10 广州大学 A Reparameterizable Lightweight Voxel Deep Learning Approach
CN114022525B (en) * 2021-11-09 2024-11-26 中国联合网络通信集团有限公司 Point cloud registration method, device, terminal equipment and medium based on deep learning
CN114707609B (en) * 2022-04-15 2025-05-09 佛山大学 A universal three-dimensional point cloud model classification method and system
CN115393842B (en) * 2022-05-06 2026-01-30 北京信息科技大学 Methods and devices for intelligent cognition of FOD targets based on voxel feature fusion
CN117523524A (en) * 2022-07-26 2024-02-06 腾讯科技(深圳)有限公司 Object recognition method and device, electronic equipment, computer-readable storage medium
CN115457111B (en) * 2022-08-30 2025-07-25 燕山大学 Unordered point cloud volume measurement method based on voxelization and filling algorithm
CN116259029B (en) * 2023-05-15 2023-08-15 小米汽车科技有限公司 Target detection method, device and vehicle
CN116310149B (en) * 2023-05-18 2023-07-21 深圳优立全息科技有限公司 A voxel merging method, device, equipment and storage medium
CN116597022A (en) * 2023-05-26 2023-08-15 宁波路特斯机器人有限公司 Vehicle data calibration method, data calibration system and vehicle
CN116843908B (en) * 2023-07-14 2026-03-03 大连海事大学 Point cloud characteristic learning self-coding network method based on voxel grid fusion mechanism
CN117496086B (en) * 2023-10-12 2024-05-07 南京林业大学 A semantically aware indoor geometry reconstruction method
CN118887100B (en) * 2024-07-09 2025-03-28 重庆第二师范学院 A 3D point cloud fusion method based on manifold embedding
CN119672344B (en) * 2024-12-13 2025-11-25 重庆大学 A method, apparatus, device and medium for identifying sparse point cloud data
CN120633942B (en) * 2025-07-15 2025-12-16 合肥印月空间建筑设计有限责任公司 An Artificial Intelligence-Based Method for Civil Engineering Cost Management
CN121214424B (en) * 2025-11-28 2026-03-13 季华实验室 Point cloud classification method, device, equipment and storage medium based on multi-scale parallel quantum convolution

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104700451A (en) * 2015-03-14 2015-06-10 西安电子科技大学 Point cloud registering method based on iterative closest point algorithm
CN105005995A (en) * 2015-07-29 2015-10-28 武汉大学 Method used for calculating three-dimensional point cloud model bone
CN106600622A (en) * 2016-12-06 2017-04-26 西安电子科技大学 Point cloud data partitioning method based on hyper voxels
CN107067470A (en) * 2017-04-05 2017-08-18 东北大学 Portable three-dimensional reconstruction of temperature field system based on thermal infrared imager and depth camera
CN108154192A (en) * 2018-01-12 2018-06-12 西安电子科技大学 High Resolution SAR terrain classification method based on multiple dimensioned convolution and Fusion Features

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104700451A (en) * 2015-03-14 2015-06-10 西安电子科技大学 Point cloud registering method based on iterative closest point algorithm
CN105005995A (en) * 2015-07-29 2015-10-28 武汉大学 Method used for calculating three-dimensional point cloud model bone
CN106600622A (en) * 2016-12-06 2017-04-26 西安电子科技大学 Point cloud data partitioning method based on hyper voxels
CN107067470A (en) * 2017-04-05 2017-08-18 东北大学 Portable three-dimensional reconstruction of temperature field system based on thermal infrared imager and depth camera
CN108154192A (en) * 2018-01-12 2018-06-12 西安电子科技大学 High Resolution SAR terrain classification method based on multiple dimensioned convolution and Fusion Features

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Point Cloud Registration Algorithm Based on NDT with Variable Size Voxel";LU Jun;《Proceedings of the 34th Chinese Control Conference》;20150728;全文 *
"基于体素化网格下采样的点云简化算法研究";袁华;《数字视频》;20151231;全文 *

Also Published As

Publication number Publication date
CN109118564A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
CN109118564B (en) A three-dimensional point cloud marking method and device based on fused voxels
CN111489358B (en) Three-dimensional point cloud semantic segmentation method based on deep learning
CN112488210B (en) A method for automatic classification of 3D point clouds based on graph convolutional neural networks
CN112633350B (en) A multi-scale point cloud classification implementation method based on graph convolution
CN109829399B (en) Vehicle-mounted road scene point cloud automatic classification method based on deep learning
CN109584248B (en) Infrared target instance segmentation method based on feature fusion and dense connection network
Yousefhussien et al. A multi-scale fully convolutional network for semantic labeling of 3D point clouds
CN112288086A (en) Neural network training method and device and computer equipment
CN111310666A (en) High-resolution image ground feature identification and segmentation method based on texture features
CN112101430A (en) Anchor frame generation method for image target detection processing and lightweight target detection method
Wang et al. A novel GCN-based point cloud classification model robust to pose variances
CN114495089A (en) Three-dimensional target detection method based on multi-scale heterogeneous characteristic self-adaptive fusion
CN112634149A (en) Point cloud denoising method based on graph convolution network
CN118277770B (en) Obstacle sensing method, device, electronic device and storage medium
CN111783779A (en) Image processing method, apparatus and computer-readable storage medium
CN113516019B (en) Hyperspectral image unmixing method, device and electronic equipment
CN114663880A (en) Three-dimensional target detection method based on multi-level cross-modal self-attention mechanism
CN110111365B (en) Training method and device based on deep learning and target tracking method and device
CN109712150A (en) Optical microwave image co-registration method for reconstructing and device based on rarefaction representation
CN104156943A (en) Multi-target fuzzy cluster image variance detecting method based on non-control-neighborhood immune algorithm
CN114693923A (en) Three-dimensional point cloud semantic segmentation method based on context and attention
CN118097162A (en) Optimization of cloth simulation filtering algorithm based on PointNet++ network model
CN110188621B (en) Three-dimensional facial expression recognition method based on SSF-IL-CNN
CN115565115A (en) An intelligent identification method for outfitting parts and computer equipment
CN113379653A (en) Image enhancement for reality

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230817

Address after: Room 402, 4th Floor, Old Book Office Building, Shandong Vocational College of Science and Technology, No. 1567 Xinhua Road, Kuiwen District, Weifang City, Shandong Province, 261035

Applicant after: Shandong Jiayin Information Technology Co.,Ltd.

Address before: 3 / F, building 19, phase I, Changsha Zhongdian Software Park, 39 Jianshan Road, Changsha, Hunan 410000

Applicant before: HUNAN VISUALTOURING INFORMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231218

Address after: No.109, Deya Road, Kaifu District, Changsha, Hunan 410000

Patentee after: National University of Defense Technology

Address before: Room 402, 4th Floor, Old Book Office Building, Shandong Vocational College of Science and Technology, No. 1567 Xinhua Road, Kuiwen District, Weifang City, Shandong Province, 261035

Patentee before: Shandong Jiayin Information Technology Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20230919