A three-dimensional point cloud processing method and device, storage medium, and equipment

Aligned copies are generated through approximate interior point simplification and PCA analysis, combined with the deep learning model of multi-channel structure, to solve the problem of rotation invariance of the three-dimensional point cloud and improve the rotation robustness and generalization ability of the model.

CN118135289BActive Publication Date: 2024-09-10QINGHAI NORMAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410161868.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-02
Publication Date
2024-09-10
Estimated Expiration
2044-02-02

AI Technical Summary

Technical Problem

Existing 3D point cloud deep learning technology is difficult to achieve breakthroughs in rotation invariance, resulting in insufficient model processing and recognition capabilities for point cloud data, especially poor adaptability at different angles and postures.

Method used

The approximate interior point simplification method is used to homogenize the point cloud data. Point cloud principal component analysis (PCA) is used to calculate feature data to generate multiple aligned copies, and a point cloud deep learning model with a multi-channel structure is constructed to achieve parameter sharing and rotation invariance. Target vector of attributes.

Benefits of technology

It avoids the complex feature encoding process, achieves rotation invariance, improves the performance of the deep learning model on randomly rotated point cloud data, and enhances the robustness and generalization ability of the model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118135289B
    Figure CN118135289B
Patent Text Reader

Abstract

The present invention provides a three-dimensional point cloud processing method and device, storage medium, and equipment, wherein the method includes obtaining original point cloud data, homogenizing the original point cloud data based on an approximate interior point simplification method to obtain an input point cloud; using the point cloud to run a principal component analysis PCA method to calculate the feature data of the input point cloud, and generating multiple point cloud alignment copies corresponding to the input point cloud based on the feature data; constructing a point cloud deep learning model with a multi-channel structure; the multi-channel structure is used to simultaneously perform parameter sharing model prediction on multiple point cloud alignment copies; and multiple point cloud alignment copies are input into the point cloud deep learning model to obtain a target vector with a rotation invariant property. Thus, a complex feature encoding process is avoided, and rotation invariance is achieved in subsequent analysis. Moreover, the scheme is compatible with various types of deep neural networks, and the performance of the deep learning model on randomly rotated point cloud data is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of deep learning technology, and in particular to a three-dimensional point cloud processing method and device, storage medium, and equipment. Background Art

[0002] With the advancement of 3D scanning technology and deep learning theory, deep neural networks based on 3D point clouds have gained widespread attention in the fields of 3D vision and computer graphics. Compared with 2D images, 3D point clouds contain comprehensive geometric information and can perform more accurate feature analysis and semantic learning. Especially when used in combination with deep learning frameworks, many studies based on point clouds have made significant progress in related application fields. These studies use statistical knowledge obtained from large-scale data sets to perform data analysis in an intelligent way. At present, the research on deep learning of 3D point clouds focuses on point cloud representation, point cloud feature extraction, point cloud classification, point cloud segmentation, point cloud detection, etc. Although 3D point cloud deep learning technology has made great progress, there are still some challenges and difficulties: (1) Images are Euclidean data uniformly distributed in discrete space, while point cloud data is non-Euclidean data unevenly distributed in continuous space. Therefore, it is challenging to extend the convolution operator in Euclidean space to non-Euclidean point cloud data. (2) Point cloud data is disordered, and the designed neural network needs to have permutation invariance with respect to the order of the input point cloud. (3) Rigid transformations in three-dimensional space will cause changes in the coordinates of the point cloud. The most difficult to eliminate rotation transformation in rigid transformation will bring huge consumption to the model performance, so it is extremely important to ensure that the neural network has rotation invariance.

[0003] However, 3D point clouds present unique challenges to deep learning models due to their irregular structure and lack of inherent rotation invariance. This means that the same object can be represented by different point clouds depending on the angle at which it is captured. How to ensure that the point cloud models acquired from different angles have the same features for deep learning tasks is a problem that needs to be solved. Solving the problem of rotation invariance is particularly important for point cloud deep learning tasks, because point cloud data is usually not constrained by the rotation of the object, and the model needs to have the ability to adapt to different postures and angles. To meet this challenge, researchers have proposed various methods to enhance the rotation invariance of 3D point clouds. The main method is to apply traditional data enhancement techniques such as rotation, translation, and scaling to point cloud data during training, hoping to help deep neural networks learn to recognize objects from multiple angles and directions. However, due to the irregular structure of point clouds, it is impossible for deep neural networks to clearly determine the neighborhood structure of point clouds like 2D image data. Traditional data enhancement techniques can only increase the diversity of data, but cannot improve the model's ability to process and recognize point cloud data, especially the rotation invariance of point clouds. At the same time, traditional data enhancement methods may encounter overfitting problems, because deep neural networks will rely too much on test samples, resulting in the inability to solve the problem of point cloud rotation. Another approach is to design rotation-invariant features for 3D point clouds. This involves converting the point cloud into a fixed representation that is rotation-invariant. However, this approach results in a lot of preprocessing, and deep neural networks often have difficulty extracting such features. Summary of the invention

[0004] To this end, the present invention provides a three-dimensional point cloud processing method and device, storage medium, and equipment, aiming to solve the technical problem that the existing technology cannot solve the problem of being unable to improve the model's processing and recognition capabilities for point cloud data due to point cloud rotation.

[0005] To achieve the above objectives, the present invention adopts the following technical solutions:

[0006] According to a first aspect of the present invention, the present invention provides a three-dimensional point cloud processing method, the method comprising:

[0007] Acquire original point cloud data, and perform homogenization processing on the original point cloud data based on an approximate interior point simplification method to obtain an input point cloud;

[0008] Using the point cloud to run a principal component analysis (PCA) method to calculate feature data of the input point cloud, and generating a plurality of point cloud alignment copies corresponding to the input point cloud based on the feature data;

[0009] Constructing a point cloud deep learning model with a multi-channel structure; the multi-channel structure is used to simultaneously perform parameter-sharing model prediction on multiple point cloud alignment copies;

[0010] Multiple aligned copies of the point cloud are input into the point cloud deep learning model to obtain a target vector with rotation invariance properties.

[0011] Optionally, the method of preprocessing the input point cloud based on the approximate interior point simplification AIVS method to obtain the input point cloud includes:

[0012] Preprocessing the original point cloud data to obtain point cloud data; the preprocessing includes at least one of denoising and downsampling;

[0013] voxelize the point cloud data, and divide the point cloud data into different voxel frames of AIVS structure by using octree method;

[0014] Point cloud simplification operations are performed on point cloud data in different voxel boxes to obtain input point clouds with uniform density; the point cloud simplification includes isotropic simplification and / or flexible simplification based on an AIVS structure.

[0015] Optionally, the step of calculating feature data of the input point cloud by running a principal component analysis method using the point cloud, and generating a point cloud copy corresponding to the input point cloud based on the feature data, comprises:

[0016] Get the three-dimensional unordered point set {p i |i=1…,n}; where p i is the position coordinate of point i;

[0017] Based on the covariance matrix C, the principal component analysis PCA method is used to calculate the eigenvectors e1, e2, ..., e of the input point cloud P. n ;

[0018] The eigenvectors e max and e min As the alignment axes of the input point cloud P; each of the alignment axes has two directions;

[0019] The input point cloud P generates four corresponding alignment postures based on the alignment axis as four point cloud copies;

[0020] The local coordinate systems of the four point cloud copies are:

[0021]

[0022] Among them, the covariance matrix C = XX T ; p1 is the first point of the input point cloud P; p i is the i-th point of the input point cloud P, p n is the nth point of the input point cloud P; is the center point of the input point cloud P; XT is the transposed matrix of X; e max is the maximum eigenvector of the input point cloud P; e min is the minimum eigenvector of the input point cloud P; the symbols + and - represent directions.

[0023] Optionally, the point cloud deep learning model includes an input module, a PCA data enhancement module, a maximum probability selection module and an output module.

[0024] Optionally, inputting the plurality of aligned point cloud copies into the point cloud deep learning model to obtain a target vector having a rotation invariant property comprises:

[0025] The point cloud copy is input into the PCA data enhancement module through the input module, and the PCA data enhancement module packages the point cloud copy into 4 times tensors to perform model prediction of parameter sharing based on the multi-channel structure respectively, and obtain a mixed output vector;

[0026] The mixed output vector is input to the maximum probability selection module, and the maximum probability selection module selects the target point with the maximum feature probability distribution as the result with rotation invariance property based on the maximum pooling layer;

[0027] The target vector corresponding to the target point in the mixed output vector is outputted through the output module.

[0028] Optionally, the maximum probability selection module selects a target point with the largest feature probability distribution as a result with rotation invariance based on a maximum pooling layer, including:

[0029] For each point in the point cloud copy, generating a feature representation of the point through an MLP multi-layer perceptron network;

[0030] The feature representation of each point is converted into a probability distribution using the Softmax function; the probability distribution is the probability data of each point being selected;

[0031] The probability distribution is weighted averaged, and the target point with the largest feature probability distribution is selected based on the maximum pooling layer as a result with rotation invariance properties.

[0032] According to a second aspect of the present invention, the present invention provides a three-dimensional point cloud processing device, the device comprising:

[0033] A data acquisition module is used to acquire original point cloud data, and perform homogenization processing on the original point cloud data based on an approximate interior point simplification method to obtain an input point cloud;

[0034] A data calculation module, used to use the point cloud to run a principal component analysis (PCA) method to calculate feature data of the input point cloud, and generate a plurality of point cloud alignment copies corresponding to the input point cloud based on the feature data;

[0035] A model building module, used to build a point cloud deep learning model with a multi-channel structure; the multi-channel structure is used to simultaneously perform parameter-sharing model prediction on multiple point cloud alignment copies;

[0036] A model prediction module is used to input multiple point cloud aligned copies into the point cloud deep learning model to obtain a target vector with rotation invariance properties.

[0037] According to a third aspect of the present invention, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes a three-dimensional point cloud processing method as described in any one of the first aspects of the present invention.

[0038] According to the fourth aspect of the present invention, the present invention provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements a three-dimensional point cloud processing method as described in any one of the first aspects of the present invention when executing the computer program.

[0039] The present invention adopts the above technical solution and has at least the following beneficial effects:

[0040] Through the scheme of the present invention, the original point cloud data is obtained, and the original point cloud data is homogenized based on the approximate interior point simplification method to obtain the input point cloud; the point cloud is used to run the principal component analysis PCA method to calculate the feature data of the input point cloud, and multiple point cloud alignment copies corresponding to the input point cloud are generated based on the feature data; a point cloud deep learning model with a multi-channel structure is constructed; the multi-channel structure is used to simultaneously perform parameter sharing model prediction on multiple point cloud alignment copies; multiple point cloud alignment copies are input into the point cloud deep learning model to obtain a target vector with rotation invariance properties. In this way, the complex feature encoding process is avoided, and rotation invariance is achieved in subsequent analysis. The point cloud processing method proposed by the present invention is compatible with various types of deep neural networks, improving the performance of the deep learning model on randomly rotated point cloud data.

[0041] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0043] Figure 1 A schematic diagram of a process of a three-dimensional point cloud processing method provided by an embodiment of the present invention is shown;

[0044] Figure 2 A brief schematic diagram of a local coordinate system provided by an embodiment of the present invention is shown;

[0045] Figure 3 A brief schematic diagram of a point cloud copy provided by an embodiment of the present invention is shown;

[0046] Figure 4 A flowchart of a PCA data enhancement module provided in one embodiment of the present invention is shown;

[0047] Figure 5 A flowchart of a maximum probability selection module provided by an embodiment of the present invention is shown;

[0048] Figure 6 A first performance evaluation data diagram provided by an embodiment of the present invention is shown;

[0049] Figure 7 A second performance evaluation data diagram provided by an embodiment of the present invention is shown;

[0050] Figure 8 A third performance evaluation data diagram provided by an embodiment of the present invention is shown;

[0051] Fig. 9 A schematic diagram showing the structure of a three-dimensional point cloud processing device provided by another embodiment of the present invention is shown;

[0052] Fig.10 A schematic diagram of the physical structure of a computer device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0053] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0054] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0055] The embodiment of the present invention provides a three-dimensional point cloud processing method, such as Figure 1 As shown, at least the following steps S101 to S104 may be included:

[0056] Step S101, obtaining original point cloud data, and performing homogenization processing on the original point cloud data based on an approximate interior point simplification method to obtain an input point cloud.

[0057] Specifically, the input point cloud is preprocessed based on the approximate interior point simplification AIVS method to obtain the input point cloud, which may include: preprocessing the original point cloud data to obtain point cloud data; the preprocessing includes at least one of denoising and downsampling; voxelizing the point cloud data, and dividing the point cloud data into different voxel frames of the AIVS structure using the octree method; performing point cloud simplification operations on the point cloud data in different voxel frames to obtain an input point cloud with uniform density; point cloud simplification includes isotropic simplification and / or flexible simplification based on the AIVS structure.

[0058] It should be noted that the density of the acquired raw point cloud data is non-uniform, and the non-uniform density of the raw point cloud data will introduce uncontrollable factors and affect the point cloud analysis. In addition, inconsistent point numbers and random outliers will have a negative impact on the deep feature analysis of the point cloud. Therefore, a preprocessing method is needed to improve the quality of the input point cloud. Traditional solutions usually use farthest point sampling (FPS) to achieve uniform density and point number of point clouds. However, this sampling method does not consider the manifold distribution that may reduce geometric consistency. When the number of points in the input point cloud reaches the order of 100,000, the computational efficiency is relatively low. Taking the above factors into account, the embodiment of the present invention adopts Approximate Intrinsic Voxel Structure (AIVS) to achieve uniform processing. The specific process of AIVS can be: first, preprocess the input point cloud, such as denoising and downsampling; divide the points of the preprocessed given point cloud into different voxel frames of AIVS based on voxelization and octree methods; based on the AIVS structure, perform point cloud simplification, including isotropic simplification and flexible simplification based on AIVS. It is understandable that, since the embodiment of the present invention requires point cloud alignment based on feature vectors, random outliers need to be removed to avoid errors. Therefore, the embodiment of the present invention can also delete these outliers based on the outlier removal method of geometric resampling. These preprocessing steps help improve the quality of the input point cloud for subsequent data enhancement and deep feature analysis.

[0059] Step S102, using the point cloud to run a principal component analysis (PCA) method to calculate feature data of the input point cloud, and generating multiple point cloud alignment copies corresponding to the input point cloud based on the feature data.

[0060] Specifically, we can obtain the three-dimensional unordered point set {p i |i=1…,n}; where p i is the position coordinate of point i; based on the covariance matrix C, the principal component analysis PCA method is used to calculate the eigenvectors e1, e2, …, e of the input point cloud P. n ; The eigenvectors e max and e min As the alignment axis of the input point cloud P; each alignment axis has two directions; the input point cloud P generates four corresponding postures based on the alignment axis as four point cloud copies.

[0061] That is, the embodiment of the present invention first calculates the feature vectors from the point cloud, and then generates four aligned point cloud copies based on these feature vectors. These four copies cover all standard postures and greatly reduce the impact of different rotations. The embodiment of the present invention runs principal component analysis on the point cloud and builds a local coordinate system to align the point cloud. By using four-way parallel technology, the data in four different directions based on PCA are input into the model in parallel, and then one of the data is selected to train and test the model. The specific steps are:

[0062] First, the principal component analysis (PCA) of the present invention calculates the initial alignment axis for alignment. In line with other point cloud deep learning, an unordered point set is used as input. The point cloud is represented as a set of 3D points {p i |i=1…,n}, where each point p i It can be expressed as: (x, y, z, F), where x, y, z are coordinate vectors; F is an additional feature channel, such as color (R, G, B), normal vector ((nx, ny, nz)), etc. For simplicity and clarity, unless otherwise specified, only (x, y, z) is generally used as the input of the 3D point cloud model. The covariance matrix C can be expressed as:

[0063] C=XX T

[0064]

[0065] p1 is the first point of the input point cloud P; p i is the i-th point of the input point cloud P, p n is the nth point of the input point cloud P; is the center point of the input point cloud P; X T is the transposed matrix of X; e max is the maximum eigenvector of the input point cloud P; e min is the minimum eigenvector of the input point cloud P; the symbols + and - represent directions.

[0066] Furthermore, principal component analysis (PCA) can be performed based on the covariance matrix C to obtain eigenvectors and eigenvalues. Assume that the eigenvalues ​​of C are λ1,λ2,...,λ n , the corresponding eigenvectors are e1,e2,…,e n .e i represents the i-th eigenvector, λ i represents the i-th eigenvalue. The largest eigenvector is e max , and its corresponding maximum eigenvalue can be expressed as λ max ; The smallest eigenvector is e min , the corresponding minimum eigenvalue can be expressed as λmin .e max and e min The two eigenvectors are considered as the initial alignment axes. Note that if Figure 2 As shown, each alignment axis has two directions According to the combination of emax and emin, there are four possible combinations corresponding to the four aligned postures, such as Figure 3 As shown, four local coordinate systems can be established to generate four aligned point cloud copies: These local coordinate systems Localcord can be expressed as:

[0067]

[0068] In the above formula, the symbols + and - represent directions, and the third axis is calculated by the cross product of the directed axes. Based on these four local coordinate systems, the input point cloud can be transformed into four aligned point cloud copies. Based on PCA alignment, the input point cloud with random poses can be aligned into four copies with aligned poses. As a result, the influence of different poses is greatly reduced.

[0069] Step S103, constructing a point cloud deep learning model with a multi-channel structure; the multi-channel structure is used to simultaneously perform parameter-sharing model prediction on multiple point cloud alignment copies.

[0070] In an embodiment of the present invention, the point cloud deep learning model includes an input module, a PCA data enhancement module, a maximum probability selection module and an output module.

[0071] It should be noted that the aligned point cloud copies generated by the embodiment of the present invention control the rotation range of the point cloud and provide initial posture alignment. However, these copies still do not provide a strict correspondence between different point clouds. That is, these copies still do not provide rotation invariance. To solve this problem, the embodiment of the present invention provides a point cloud deep learning model with a multi-channel structure. The multi-channel structure refers to a structure that uses multiple channels or branches to process input data in a deep learning model, and packages the aligned copies of the point cloud into a separate input unit. The structure uses a maximum probability selection module to achieve rotation robustness, and does not require additional feature encoding, thereby avoiding compatibility issues and loss of geometric information. The multi-channel structure refers to a structure that uses multiple channels or branches to process input data in a deep learning model. These channels can learn different types of features or representations at the same time, thereby improving the performance and generalization ability of the model. In the multi-channel structure, each channel corresponds to an aligned posture, so there are four channels, each representing a different posture. The goal of the multi-channel structure is to improve the robustness of the point cloud deep learning model to different posture inputs. By processing point cloud copies of four postures at the same time, the model can better adapt to inputs of different angles and postures, thereby improving the performance of the model.

[0072] Step S104, inputting multiple point cloud aligned copies into the point cloud deep learning model to obtain a target vector with rotation invariance properties.

[0073] Specifically, the point cloud copy can be input into the PCA data enhancement module through the input module, and the PCA data enhancement module packages the point cloud copy into 4 times tensors to perform parameter sharing model prediction based on the multi-channel structure to obtain a mixed output vector; the mixed output vector is input into the maximum probability selection module, and the maximum probability selection module selects the target point with the largest feature probability distribution based on the maximum pooling layer as the result with rotation invariance property; the target vector corresponding to the target point in the mixed output vector is output through the output module.

[0074] It should be noted that some deep neural networks come with a random rotation module to provide default data augmentation. Such a module will weaken the effect of aligning the replicas. In practice, the embodiment of the present invention removes this module from the backbone network to standardize the input. Taking the Pointnet model as an example, in order to further improve its performance in point cloud tasks, the embodiment of the present invention adopts a method based on PCA data augmentation to improve it. This method can increase the diversity of point cloud data, improve the expression ability of point cloud data in multiple perspectives, and make the model more robust and accurate. Figure 4 As shown, the embodiment of the present invention converts the original second-order tensor data into a third-order tensor, realizing four-way parallel processing of point cloud data. The multi-way parallel processing method can support the model to process multiple point cloud data at the same time, improving the parallel processing capability of the algorithm and the data calculation efficiency.

[0075] Specifically, the embodiment of the present invention first inputs multiple aligned copies generated from the point cloud P into a Figure 4 In the structure shown, it is packed into a tensor (4×n×3) whose size is four times that of P(n×3). The packed tensor is used to train a deep neural network based on the selected backbone network. The first dimension of the tensor is used to obtain an output through the network that is four times the original output. This process can be regarded as training four copies of the network independently, while the parameters are shared. As a result, the results corresponding to the four aligned copies are obtained. This result is a mixed vector that is four times larger than the output vector of the original network. Since there is no one-to-one correspondence between the originally aligned copies, the output mixed vector of the structure is still affected by the order of the copies.

[0076] In order to solve this problem, the embodiment of the present invention proposes to combine the maximum probability selection module and the maximum pooling layer in PointNet to obtain a rotationally invariant result from the output mixed vector. Figure 5As shown in the figure, it is the workflow diagram of the maximum probability selection module. Specifically, for each point in the point cloud copy, the feature representation of the point is generated through the MLP multi-layer perceptron network; the feature representation of each point is converted into a probability distribution using the Softmax function; the probability distribution is the probability data of each point being selected; the probability distribution is weighted averaged, and the target point with the largest feature probability distribution is selected based on the maximum pooling layer as the result with rotation invariance. That is to say, for each point, the feature representation of the point is first obtained through an MLP (multi-layer perceptron) network, and then the feature of each point is converted into a probability distribution through the Softmax function. The output of the Softmax function represents the probability of each point being selected. Finally, the weighted average is performed according to this probability distribution, and the point with the maximum probability is selected as the global representation of the point cloud. As a result, under different rotation transformations, the point with the maximum probability remains basically unchanged, thereby achieving rotation invariance. It should be noted that the final result of selecting rotation invariance is achieved by performing maximum pooling on the local neighborhood of each point through the maximum pooling layer. Specifically, the feature vector in the neighborhood of each point will be reduced to a value by taking the maximum value of each feature dimension, which helps to extract local features and retain the most significant information.

[0077] Furthermore, in practical applications, the performance of the technical solution of the present invention in semantic classification tasks based on point clouds is also evaluated. The embodiment of the present invention uses a cloud computing platform to provide an efficient and fair experimental environment, which is equipped with Inteli9 3.0GHz and A100 as CPU and GPU units. The operating system is Windows 11, and the deep learning platform is built based on PyCharm and PyTorch. The test dataset is ModelNet40, which has been used in many related studies. In order to reveal the performance of the technical solution of the present invention, a series of tests were carried out to study its impact on classification tasks under different changes and feature enhancement conditions, including random rotation, resampling, and normal vector enhancement.

[0078] In order to prove that the technical solution of the present invention (PCAlign) has the ability to combine any deep neural network to obtain semantic analysis results. To evaluate its performance in semantic classification tasks, the embodiment of the present invention uses four mainstream networks to provide quantitative results, including PointNet, PointNet++, DGCNN and PCT (point cloud transformer). In order to obtain fair experimental data, all network architectures were trained with new parameters in the experiment, using a fixed number of epochs (200). The results are shown in Figure 2. Figure 6As shown, the performance of different deep neural networks in classification tasks is shown, using the technical solution of the present invention and not using the technical solution of the present invention. When using the technical solution of the present invention, almost all networks have achieved higher classification accuracy, indicating that the technical solution of the present invention has a significant improvement effect on improving feature learning capabilities. The improvement ranges from 0.3% to 1.5%, depending on the different network architectures. This shows that the technical solution of the present invention has excellent generalization performance on point cloud data and can effectively improve the performance of deep learning models in point cloud classification tasks.

[0079] Furthermore, in practical applications, the classification performance of the technical solution of the present invention under random rotation is also evaluated. In the ModelNet40 dataset, the use of the default posture alignment will weaken the advantage of the rotation invariance property achieved by the technical solution of the present invention. In fact, most of the original collected point clouds lack a unified perspective, especially for datasets with significant semantic differences between different categories. In order to make a more objective measurement of the unpredictable posture of the point cloud, the embodiment of the present invention adds random rotation to the test dataset and implements relevant feature training for classification tasks. Figure 7 The quantitative results of different methods are shown. The network using the technical solution of the present invention (PCAlign) shows higher classification accuracy on randomly rotated point cloud data, with the improvement ranging from 2.8% to 6.2%, depending on the different network architectures. The network not using the technical solution of the present invention shows lower classification accuracy on randomly rotated point cloud data. Obviously, the technical solution of the present invention provides stable posture control and provides rotation invariance to the deep learning model by aligning the replicas, thereby improving the performance of the deep learning model on randomly rotated point cloud data. Figure 6 Compared with previous experimental data, all reference methods show significant performance degradation when processing data with random rotation. The technical solution of the present invention provides rotation robustness, ensuring that the training process is not affected by various postures. The classification results based on the technical solution of the present invention are Figure 6 and Figure 7 These results show that the technical solution of the present invention has significant performance advantages in processing random rotations in point cloud data, can improve the robustness and generalization ability of the model, and reduce the impact of posture on performance.

[0080] Furthermore, in practical applications, the classification performance of the technical solution of the present invention (PCAlign) under random resampling is also evaluated. When performing randomly resampled point cloud data, the performance of the deep neural network using the technical solution of the present invention and not using the technical solution of the present invention is evaluated respectively. It can be understood that local neighborhoods with different point distributions or densities play an important role in data enhancement. The reason is that the neighborhood structure determines the feature encoding path in most deep neural networks. Typically, the encoding path is constructed by K nearest neighbor search and farthest point sampling. It is worth noting that non-uniform distribution changes the K neighbors of a point. In previous tests, the point cloud was pre-processed with uniform simplification to optimize the distribution of points. In order to evaluate the impact of non-uniform distribution in point clouds on point-based semantic analysis, point clouds with different point distributions were quantitatively analyzed in the experiment. Points are selected from the point cloud using random resampling without considering density. In the experiment, the results of the two resamplings (uniform simplification and random sampling) were compared. Random resampling changes the point distribution in different local areas. The network is retrained based on the changed point cloud, and Figure 8 New classification results are reported in . The experimental data directly reflect the sensitivity of the relevant neural network to the distribution of points in the local neighborhood. The results show that the network that does not use the technical solution of the present invention exhibits lower classification accuracy on randomly resampled point cloud data because resampling introduces irregularities; while the network that uses the technical solution of the present invention exhibits higher classification accuracy on randomly resampled point cloud data, because the rotational invariance provided by the technical solution of the present invention helps to reduce the impact of irregularities introduced by resampling on performance. The technical solution of the present invention provides robustness to random resampling, ensuring that the training process is not disturbed by the resampling of point cloud data. In general, the technical solution of the present invention can achieve more stable results, improve the performance of deep learning models when processing randomly resampled point cloud data, and reduce the negative impact of resampling on performance. This further demonstrates the generalization ability and robustness of the technical solution of the present invention on point cloud data.

[0081] The embodiment of the present invention provides a three-dimensional point cloud processing method, highlighting a general data enhancement framework PCAlign, which is used to achieve rotation invariance of semantic analysis based on point clouds. PCAlign uses PCA-based alignment to generate aligned copies from input point clouds, avoiding the complex feature encoding process, while achieving rotation invariance in subsequent analysis. Unpredictable postures are controlled within a smaller range, reducing the impact of random rotation. Secondly, the present invention uses a multi-channel structure to enable PCAlign to achieve more accurate semantic analysis results while maintaining strict rotation robustness, and has good compatibility with mainstream backbone networks without complex feature encoding. In general, PCAlign enhances training samples through alignment, thereby improving rotation robustness and improving the feature analysis performance of the connection network.

[0082] Further, as Figure 1 The specific implementation of the present invention provides a three-dimensional point cloud processing device, such as Fig. 9 As shown, the device may include: a data acquisition module 910, a data calculation module 920, a model construction module 930 and a model prediction module 940.

[0083] The data acquisition module 910 may be used to acquire original point cloud data, and perform homogenization processing on the original point cloud data based on an approximate interior point simplification method to obtain an input point cloud;

[0084] The data calculation module 920 may be used to calculate feature data of the input point cloud by running a principal component analysis (PCA) method using the point cloud, and generate a plurality of point cloud alignment copies corresponding to the input point cloud based on the feature data;

[0085] The model building module 930 can be used to build a point cloud deep learning model with a multi-channel structure; the multi-channel structure is used to simultaneously perform parameter sharing model prediction on multiple point cloud alignment copies;

[0086] The model prediction module 940 can be used to input multiple point cloud aligned copies into the point cloud deep learning model to obtain a target vector with rotation invariance properties.

[0087] Optionally, the data acquisition module 910 may also be used to pre-process the original point cloud data to obtain point cloud data; the pre-processing includes at least one of denoising and down-sampling;

[0088] The point cloud data is voxelized and the octree method is used to divide the point cloud data into different voxel frames of the AIVS structure;

[0089] Point cloud simplification operations are performed on point cloud data in different voxel boxes to obtain input point clouds with uniform density; point cloud simplification includes isotropic simplification and / or flexible simplification based on AIVS structure.

[0090] Optionally, the data calculation module 920 may also be used to obtain the three-dimensional unordered point set {p i |i=1…,n}; where p i is the position coordinate of point i;

[0091] Based on the covariance matrix C, the principal component analysis PCA method is used to calculate the eigenvectors e1, e2, …, e of the input point cloud P. n ;

[0092] The eigenvectors e max and e min As the alignment axis of the input point cloud P; each alignment axis has two directions;

[0093] The input point cloud P generates four corresponding alignment poses based on the alignment axis as four point cloud copies;

[0094] The local coordinate systems of the four point cloud copies are:

[0095]

[0096] Among them, the covariance matrix C = XX T ; p1 is the first point of the input point cloud P; p i is the i-th point of the input point cloud P, p n is the nth point of the input point cloud P; is the center point of the input point cloud P; X T is the transposed matrix of X; e max is the maximum eigenvector of the input point cloud P; e min is the minimum eigenvector of the input point cloud P; the symbols + and - represent directions.

[0097] Optionally, the model prediction module 940 may also be used to input the point cloud copy through the input module to the PCA data enhancement module, and the PCA data enhancement module packages the point cloud copy into 4 times tensors to perform parameter sharing model prediction based on the multi-channel structure respectively, to obtain a mixed output vector;

[0098] The mixed output vector is input to the maximum probability selection module, and the maximum probability selection module selects the target point with the largest feature probability distribution as the result with rotation invariance based on the maximum pooling layer;

[0099] The target vector corresponding to the target point in the mixed output vector is output through the output module.

[0100] Optionally, the model prediction module 940 may also be used to generate a feature representation of the point through an MLP multi-layer perceptron network for each point in the point cloud copy;

[0101] The Softmax function is used to convert the feature representation of each point into a probability distribution; the probability distribution is the probability data of each point being selected;

[0102] The probability distribution is weighted averaged, and the target point with the largest feature probability distribution is selected based on the maximum pooling layer as the result with rotation invariance property.

[0103] It should be noted that for other corresponding descriptions of the functional modules involved in the three-dimensional point cloud processing device provided in the embodiment of the present invention, reference can be made to Figure 1 The corresponding description of the method shown will not be repeated here.

[0104] Based on the above Figure 1 The method shown, accordingly, an embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the three-dimensional point cloud processing method of any of the above embodiments are implemented.

[0105] Based on the above Figure 1 The method shown and Fig. 9 The embodiment of the device shown in the figure, the embodiment of the present invention also provides a physical structure diagram of a computer device, such as Fig.10 As shown, the computer device may include a communication bus, a processor, a memory and a communication interface, and may also include an input and output interface and a display device, wherein each functional unit may communicate with each other through the bus. The memory stores a computer program, and the processor is used to execute the program stored in the memory and execute the steps of the three-dimensional point cloud processing method of the above embodiment.

[0106] Those skilled in the art can clearly understand that the specific working processes of the systems, devices, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and for the sake of brevity, they are not further described here.

[0107] In addition, the functional units in various embodiments of the present invention may be physically independent of each other, or two or more functional units may be integrated together, or all functional units may be integrated into one processing unit. The above integrated functional units may be implemented in the form of hardware, or in the form of software or firmware.

[0108] A person of ordinary skill in the art can understand that if the integrated functional unit is implemented in the form of software and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention can essentially or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, which includes a number of instructions to enable a computing device (such as a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of the embodiments of the present invention when running the instructions. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes.

[0109] Alternatively, all or part of the steps of implementing the aforementioned method embodiments may be accomplished by hardware associated with program instructions (such as a computing device such as a personal computer, a server, or a network device), and the program instructions may be stored in a computer-readable storage medium. When the program instructions are executed by a processor of the computing device, the computing device executes all or part of the steps of the methods of the various embodiments of the present invention.

[0110] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that within the spirit and principles of the present invention, the technical solutions described in the aforementioned embodiments can still be modified, or some or all of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate from the protection scope of the present invention.

Claims

1. A three-dimensional point cloud processing method, characterized in that: The method comprises: Acquire original point cloud data, and perform homogenization processing on the original point cloud data based on an approximate interior point simplification method to obtain an input point cloud; Using the point cloud to run a principal component analysis (PCA) method to calculate feature data of the input point cloud, and generating a plurality of point cloud alignment copies corresponding to the input point cloud based on the feature data; Constructing a point cloud deep learning model with a multi-channel structure; the multi-channel structure is used to simultaneously perform parameter-sharing model prediction on multiple point cloud alignment copies; Inputting the plurality of aligned copies of the point cloud into the point cloud deep learning model to obtain a target vector with a rotation invariant property; The point cloud deep learning model includes an input module, a PCA data enhancement module, a maximum probability selection module and an output module; Inputting the plurality of point cloud aligned copies into the point cloud deep learning model to obtain a target vector having a rotation invariant property comprises: The point cloud alignment copy is input into the PCA data enhancement module through the input module, and the PCA data enhancement module packs the point cloud alignment copy into 4 times tensors to perform model prediction of parameter sharing based on the multi-channel structure respectively, and obtain a mixed output vector; The mixed output vector is input to the maximum probability selection module, and the maximum probability selection module selects the target point with the maximum feature probability distribution as the result with rotation invariance property based on the maximum pooling layer; The target vector corresponding to the target point in the mixed output vector is outputted through the output module.

2. The method according to claim 1, characterized in that The method of performing homogenization processing on the original point cloud data based on the approximate interior point simplification AIVS method to obtain the input point cloud includes: Preprocessing the original point cloud data to obtain point cloud data; the preprocessing includes at least one of denoising and downsampling; voxelize the point cloud data, and divide the point cloud data into different voxel frames of AIVS structure by using octree method; Point cloud simplification operations are performed on point cloud data in different voxel boxes to obtain input point clouds with uniform density; the point cloud simplification includes isotropic simplification and / or flexible simplification based on an AIVS structure.

3. The method according to claim 1, characterized in that The step of using the point cloud to run a principal component analysis method to calculate feature data of the input point cloud, and generating a point cloud alignment copy corresponding to the input point cloud based on the feature data, includes: Get the three-dimensional unordered point set {p i |i=1…,n}; where p i is the position coordinate of point i; Based on the covariance matrix C, the principal component analysis PCA method is used to calculate the eigenvectors e1, e2, ..., e of the input point cloud P. n ; The eigenvectors e max and e min As the alignment axes of the input point cloud P; each of the alignment axes has two directions; The input point cloud P generates four corresponding alignment postures based on the alignment axis as four point cloud alignment copies; The local coordinate systems of the four point cloud alignment copies are: Among them, the covariance matrix C = XX T ; 1 is the first point of the input point cloud P; i is the i-th point of the input point cloud P, n is the nth point of the input point cloud P; is the center point of the input point cloud P; X T is the transposed matrix of X; e max is the maximum eigenvector of the input point cloud P; e min is the minimum eigenvector of the input point cloud P; the symbols + and - represent directions.

4. The method according to claim 1, characterized in that: The maximum probability selection module selects the target point with the largest feature probability distribution as a result with rotation invariance based on the maximum pooling layer, including: For each point in the aligned copy of the point cloud, a feature representation of the point is generated by an MLP multi-layer perceptron network; The feature representation of each point is converted into a probability distribution using the Softmax function; the probability distribution is the probability data of each point being selected; The probability distribution is weighted averaged, and the target point with the largest feature probability distribution is selected based on the maximum pooling layer as a result with rotation invariance properties.

5. A three-dimensional point cloud processing device, characterized in that: The device comprises: A data acquisition module, used for acquiring original point cloud data, and performing homogenization processing on the original point cloud data based on an approximate interior point simplification method to obtain an input point cloud; A data calculation module, used to use the point cloud to run a principal component analysis (PCA) method to calculate feature data of the input point cloud, and generate a plurality of point cloud alignment copies corresponding to the input point cloud based on the feature data; A model building module, used to build a point cloud deep learning model with a multi-channel structure; the multi-channel structure is used to simultaneously perform parameter-sharing model prediction on multiple point cloud alignment copies; A model prediction module, for inputting a plurality of aligned copies of the point cloud into the point cloud deep learning model to obtain a target vector with a rotation invariant property; The point cloud deep learning model includes an input module, a PCA data enhancement module, a maximum probability selection module and an output module; The model prediction module is further used to: input the point cloud alignment copy to the PCA data enhancement module through the input module, and the PCA data enhancement module packages the point cloud alignment copy into 4 times tensors to perform parameter sharing model prediction based on the multi-channel structure respectively to obtain a mixed output vector; The mixed output vector is input to the maximum probability selection module, and the maximum probability selection module selects the target point with the maximum feature probability distribution as the result with rotation invariance property based on the maximum pooling layer; The target vector corresponding to the target point in the mixed output vector is outputted through the output module.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the three-dimensional point cloud processing method according to any one of claims 1 to 4.

7. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the three-dimensional point cloud processing method according to any one of claims 1 to 4 is implemented.