Point cloud completion method and device based on generative adversarial network

Through the point cloud completion method based on the generative adversarial network, using point cloud projection transformation and boundary extraction, the point projection decoder is designed, which solves the problem in the existing technology that the point cloud completion method is difficult to restore the local details of a specific object, and achieves a better Fine-grained completion effect, the generated point cloud is more realistic and complete.

CN114067075BActive Publication Date: 2024-10-29CHINA UNIV OF GEOSCIENCES (WUHAN)
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111135205.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-27
Publication Date
2024-10-29
Estimated Expiration
2041-09-27

AI Technical Summary

Technical Problem

Existing point cloud completion methods are difficult to effectively restore the local details of a specific object, especially when the details of the missing area do not match the overall details, causing the completion results to be biased towards the overall features and ignoring the local details of the specific object.

Method used

Using a point cloud completion method based on generative adversarial networks, through point cloud projection transformation and boundary extraction, a point projection decoder is designed, using multi-directional projection to generate missing point clouds, and a projection-based completion loss prediction method is proposed to assist in generation More fine-grained completion results.

Benefits of technology

It realizes automatic completion of missing areas while ensuring the point cloud structure, improves the recovery accuracy of local details of specific objects, and generates point clouds that are more realistic and complete.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114067075B_ABST
    Figure CN114067075B_ABST
Patent Text Reader

Abstract

The present invention proposes a point cloud completion method and device based on a generative adversarial network, including: constructing a training data set and a test data set; building a point cloud completion network based on a generative adversarial network; inputting the training data set into the point cloud completion network, performing projection transformation and boundary extraction on the point cloud in the training data set to obtain boundary feature points; calculating the multidimensional geometric features of each point in the boundary feature points, and connecting them in series to obtain the feature vector of the point cloud; according to the feature vector, calculating the completion results of the point cloud in each projection direction, and performing full connection decoding to obtain the completed point cloud; constructing a loss function, iteratively training the point cloud completion network, and obtaining a trained point cloud completion network; completing the point cloud of the test data set through the trained point cloud completion network. The present invention pays more attention to the completion of structural information and fine-grained areas, and can generate missing point clouds through projections in different directions, which significantly improves the completion accuracy of point clouds.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of three-dimensional point cloud processing, and more specifically, to a point cloud completion method and device based on a generative adversarial network. Background Art

[0002] With the increasing popularity of low-cost RGB-D scanners, the application areas of 3D data and how to process it are attracting great interest in the fields of robotics and computer vision. Virtual representation of 3D data is very popular in the learning community because it is easy to apply convolution operations to 3D data. Among various types of 3D data, point clouds are widely used in 3D data processing due to their small data volume and stronger representation capabilities. Real-world point cloud data is usually captured by laser scanners, stereo cameras, or low-cost RGB-D scanners. Due to occlusion, light reflection, surface material transparency, sensor resolution, and viewing angle limitations, geometric and semantic information is lost, resulting in incomplete point clouds.

[0003] Point cloud completion is the most important content of point cloud optimization, which can make the point cloud richer and more complete. Holes caused by some weak texture areas can also be restored by inferring and analyzing existing areas. Sparse parts can also be densified based on existing point clouds, making the point cloud more realistic as a whole. Point cloud completion can also be used as a prerequisite for other optimization steps, such as meshing and lightweighting. It can also support other studies of point clouds such as segmentation and registration. Traditional completion methods can usually complete the hole areas in the point cloud, but it is difficult to achieve good results for the missing of a complete semantic part such as table legs and chair backs. Although professional CAD software can be used to manually complete point clouds. However, due to the complexity of point clouds, low efficiency and high cost of manual repair, a method is needed to automatically complete point clouds while ensuring the structure of point clouds.

[0004] Previous work took incomplete point clouds as input and output complete shapes, focusing more on overall features rather than local details of specific objects. Therefore, it is possible to change existing points to fit the overall features of a class of objects. Some methods try to solve this problem by setting the output to the missing parts of the point cloud, but when the details of the missing area do not match the overall details, the point cloud completion results tend to be overall features. Therefore, traditional point cloud completion methods ignore the local details of specific objects. Summary of the invention

[0005] To solve this problem, this method proposes an unsupervised point projection network to repair incomplete point clouds. In order to obtain more intuitive point cloud structure information, the point cloud is processed before feature extraction. First, the point cloud is projected onto different two-dimensional planes to obtain multiple projection surfaces, and the boundaries are extracted to reduce the amount of input data, so that the network can pay more attention to structural information. In order to generate fine-grained missing areas, a point projection decoder is designed to generate missing point clouds through projections in different directions. Finally, a projection-based completion loss prediction method is proposed to assist the prediction of this method.

[0006] According to one aspect of the present invention, the present invention provides a point cloud completion method based on a generative adversarial network, comprising the following steps:

[0007] Construct training and testing datasets;

[0008] Build a point cloud completion network based on generative adversarial networks;

[0009] Inputting the training data set into the point cloud completion network based on the generative adversarial network, performing projection transformation and boundary extraction on the point cloud in the training data set, and obtaining boundary feature points for feature extraction;

[0010] Calculating the multidimensional geometric features of each point in the boundary feature points, and connecting the multidimensional geometric features in series to obtain a feature vector of the point cloud;

[0011] According to the feature vector, the completion result of the point cloud in each projection direction is calculated, and the completion result in each projection direction is fully connected and decoded to obtain the completed point cloud;

[0012] A loss function is constructed by using the training data set and the completed point cloud, and the point cloud completion network based on the generative adversarial network is iteratively trained. After the training is completed, a trained point cloud completion network is obtained;

[0013] The point cloud completion network is used to complete the point cloud of the test data set to obtain a point cloud completion result.

[0014] Furthermore, the steps of constructing a training data set and a test data set specifically include:

[0015] Get point cloud data;

[0016] Performing a downsampling operation on the point cloud data to obtain a downsampled sparse point cloud data set;

[0017] The downsampled sparse point cloud dataset is divided into a training dataset and a test dataset.

[0018] Furthermore, the downsampling operation is performed on the point cloud data, and an iterative farthest point sampling method is adopted.

[0019] Furthermore, the step of inputting the training data set into the point cloud completion network based on the generative adversarial network, performing projection transformation and boundary extraction on the point cloud in the training data set, and obtaining boundary feature points for extracting features specifically includes:

[0020] Inputting the training data set into the point cloud completion network based on the generative adversarial network;

[0021] For each original point cloud in the training dataset, the rotation projection method is used:

[0022] Inputting the training data set into the point cloud completion network based on the generative adversarial network;

[0023] For each original point cloud in the training dataset, the rotation projection method is used:

[0024] Project the original point cloud onto the x, y, and z planes to obtain three projection surfaces;

[0025] The original point cloud is rotated by a first preset angle along the three directions of x, y, and z, and projected onto the three planes of x, y, and z again to obtain three projection surfaces;

[0026] The original point cloud is rotated by a second preset angle along the three directions of x, y, and z, and projected onto the three planes of x, y, and z again to obtain three projection surfaces;

[0027] A total of 9 projection surfaces are obtained;

[0028] For each projection surface, the number of points within a certain range of each point is calculated as the number of adjacent points of the point, and then a group of points with the least number of adjacent points in each projection surface is selected as the boundary feature points of the point, that is, 9 boundary feature point sets are obtained.

[0029] Furthermore, the step of calculating the multidimensional geometric features of each point in the boundary feature points and connecting the multidimensional geometric features in series to obtain the feature vector of the point cloud specifically includes:

[0030] For the nine boundary feature point sets, CNN is used to calculate the features of each boundary feature point set in various ranges from small to large, and the size of each range is determined by the number of missing point clouds;

[0031] The features of each range are connected in series and input into the MLP to obtain the feature vector of the point cloud.

[0032] Furthermore, the step of calculating the completion result of the point cloud in each projection direction according to the feature vector specifically includes:

[0033] Inputting the feature vector into a folding-based decoder to obtain a feature layer, wherein the feature layer represents predicted plane features;

[0034] The feature layer is passed through CNN to obtain N×2 projection surfaces, and this is repeated three times to obtain three projection surfaces, where N represents the number of input point clouds;

[0035] The three projection surfaces are connected and input into the decoder based on the fully connected layer to output the completed point cloud.

[0036] Furthermore, the loss function is composed of multi-directional projection loss and adversarial loss;

[0037] The multi-directional projection loss L com The calculation formula is as follows:

[0038]

[0039]

[0040] Among them, d CD (S1, S2) represents the chamfer distance between the two point clouds S1 and S2, a and b represent any two points in the point cloud. Both represent the distance between two points a and b, and the multi-directional projection loss L com It consists of four items, namely and α represents a hyperparameter, and the first item calculates the predicted point cloud Y pre and the real point cloud Y gt The chamfer distance between them, the second item calculates the predicted point cloud of the projection surface xoy and real point cloud The chamfer distance between them, the second item calculates the predicted point cloud of the projection surface yoz and real point cloud The chamfer distance between them, the third item calculates the predicted point cloud of the projection surface xoz and real point cloud The chamfer distance between

[0041] The multi-directional projection loss L com and adversarial loss L adv , the loss function L is calculated as:

[0042] L=λ com L com +λ adv L adv

[0043] Among them, λ com and λ advRepresent the weights of multi-directional projection loss and adversarial loss, where λ com +λ adv =1.

[0044] According to another aspect of the present invention, the present invention also provides a point cloud completion device based on a generative adversarial network, comprising the following modules:

[0045] Dataset construction module, used to construct training dataset and test dataset;

[0046] Network building module, used to build a point cloud completion network based on generative adversarial network;

[0047] A projection transformation and boundary extraction module, used to input the training data set into the point cloud completion network based on the generative adversarial network, perform projection transformation and boundary extraction on the point cloud in the training data set, and obtain boundary feature points for extracting features;

[0048] A feature vector extraction module, used to calculate the multi-dimensional geometric features of each point in the boundary feature points, and connect the multi-dimensional geometric features in series to extract the feature vector of the point cloud;

[0049] A point cloud completion module, used to calculate the completion results of the point cloud in each projection direction according to the feature vector, and perform full connection decoding on the completion results in each projection direction to obtain a completed point cloud;

[0050] A network training module, used to construct a loss function through the training data set and the completed point cloud, iteratively train the point cloud completion network based on the generative adversarial network, and obtain a trained point cloud completion network after the training is completed;

[0051] The testing module is used to complete the point cloud of the test data set through the trained point cloud completion network to obtain a point cloud completion result.

[0052] Furthermore, the data set construction module specifically includes:

[0053] Point cloud data acquisition module, used to acquire point cloud data;

[0054] A downsampling module, used for downsampling the point cloud data to obtain a sparse point cloud data set after downsampling;

[0055] The data set division module is used to divide the downsampled sparse point cloud data set into a training data set and a test data set.

[0056] The beneficial effects brought by the technical solution provided by the present invention are:

[0057] 1. The present invention proposes a new boundary extraction method, which can sample feature points with clearer contours and more obvious boundary features;

[0058] 2. The present invention proposes a point projection decoder that generates missing point clouds through projections in different directions. The point projection decoder is a feature-based hierarchical generative network. First, projection surfaces in different directions are generated by acquiring features, and then the final point cloud is predicted based on multiple projection surfaces;

[0059] 3. The present invention proposes a projection-based completion loss prediction method to assist the prediction of this method. The projection-based completion loss pays more attention to the two-dimensional structural features of the point cloud in different directions. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:

[0061] Figure 1 It is a technical flow chart of a point cloud completion method based on a generative adversarial network in an embodiment of the present invention;

[0062] Figure 2 A technical flow chart of boundary feature point calculation in an embodiment of the present invention;

[0063] Figure 3 A technical flow chart of an adaptive multi-resolution encoder in an embodiment of the present invention;

[0064] Figure 4 It is a structural diagram of a point projection decoder in an embodiment of the present invention;

[0065] Figure 5 This is a schematic diagram of a data set in an embodiment of the present invention;

[0066] Figure 6 It is a result visualization diagram in the embodiment of the present invention;

[0067] Figure 7 This is a structural diagram of a point cloud completion device based on a generative adversarial network in an embodiment of the present invention. DETAILED DESCRIPTION

[0068] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described in detail with reference to the accompanying drawings.

[0069] Please refer to Figure 1 , Figure 1 The technical flow chart of a point cloud completion method based on a generative adversarial network in an embodiment of the present invention includes the following steps:

[0070] S1, build training data set and test data set;

[0071] S1 specifically includes:

[0072] S11, obtaining point cloud data;

[0073] S12, performing a downsampling operation on the point cloud data to obtain a downsampled sparse point cloud data set;

[0074] S13, dividing the downsampled sparse point cloud data set into a training data set and a test data set.

[0075] Please refer to Figure 5 The dataset is ShapeNet, a point cloud dataset released by Stanford University. The iterative farthest point downsampling method is used, and the sampling rate is set to 1%.

[0076] S2. Build a point cloud completion network based on generative adversarial network;

[0077] S3, inputting the training data set into the point cloud completion network based on the generative adversarial network, performing projection transformation and boundary extraction on the point cloud in the training data set, and obtaining boundary feature points for feature extraction;

[0078] S4, calculating the multidimensional geometric features of each point in the boundary feature points, and connecting the multidimensional geometric features in series to obtain a feature vector of the point cloud;

[0079] S5. Calculate the completion results of the point cloud in each projection direction according to the feature vector, and perform full-connection decoding on the completion results in each projection direction to obtain a completed point cloud;

[0080] S6, constructing a loss function through the training data set and the completed point cloud, iteratively training the point cloud completion network based on the generative adversarial network, and obtaining a trained point cloud completion network after the training is completed;

[0081] S7, completing the point cloud of the test data set through the trained point cloud completion network to obtain a point cloud completion result. In this embodiment, the point cloud classification includes 13 categories: airplane, table, chair, car, pistol, cap, mug, lamp, laptop, guitar, skateboard, motorcycle, bag.

[0082] In this embodiment, the loss function in S6 is composed of multi-directional projection loss and adversarial loss;

[0083] The multi-directional projection loss L com The calculation formula is as follows:

[0084]

[0085]

[0086] Among them, d CD (S1, S2) represents a measure of the distance between two point clouds: chamfer distance. The chamfer distance is calculated by first calculating the closest distance from each point in the point cloud to the point in the other point cloud, and then summing up the distances of all points and taking the average. Since the point projection decoder predicts the point cloud by projecting the surface, the multi-directional projection loss L com It consists of four items, namely and α represents a hyperparameter, and the first item calculates the predicted point cloud Y pre and the real point cloud Y gt The chamfer distance between them, the second item calculates the predicted point cloud of the projection surface xoy and real point cloud The chamfer distance between them, the second item calculates the predicted point cloud of the projection surface yoz and real point cloud The chamfer distance between them, the third item calculates the predicted point cloud of the projection surface xoz and real point cloud The chamfer distance between

[0087] Adversarial loss L adv : The predicted point cloud is input into the discriminator of GAN, and the discriminator is used to try to distinguish the predicted point cloud from the real point cloud.

[0088] Through the multi-directional projection loss L com and adversarial loss L adv , the loss function L is calculated as:

[0089] L=λ com L com +λ adv L adv

[0090] λ com and λ adv Represent the weights of multi-directional projection loss and adversarial loss, where λ com +λ adv =1.

[0091] Please refer to Figure 2 , Figure 2 is a technical flow chart of boundary feature point calculation in an embodiment of the present invention, wherein Figure 2 (a) is a schematic diagram of the boundary feature extraction method. Figure 2(b)-(d) are the original point cloud, the result after projection transformation, and the result after boundary extraction. The steps of boundary feature point calculation include:

[0092] S31, inputting the training data set into the point cloud completion network based on the generative adversarial network;

[0093] S32. For each original point cloud (GroundTruth) in the training data set, use the rotation projection method:

[0094] Project the original point cloud onto the x, y, and z planes to obtain three projection surfaces;

[0095] The original point cloud is rotated by a first preset angle along the three directions of x, y, and z, and projected onto the three planes of x, y, and z again to obtain three projection surfaces;

[0096] The original point cloud is rotated by a second preset angle along the three directions of x, y, and z, and projected onto the three planes of x, y, and z again to obtain three projection surfaces;

[0097] A total of 9 projection surfaces are obtained;

[0098] S33. For each projection surface, the number of points within a certain range of each point is calculated as the number of adjacent points of the point, and then a group of points with the least number of adjacent points in each projection surface is selected as the boundary feature points of the point, that is, 9 boundary feature point sets (Boundary) are obtained.

[0099] In this embodiment, the first preset angle is 30 degrees, and the second preset angle is 60 degrees.

[0100] Please refer to Figure 3 , Figure 3 This is a technical flow chart of an adaptive multi-resolution encoder in an embodiment of the present invention, comprising the following steps:

[0101] S41, for the nine boundary feature point sets, using CNN to calculate the features of each range of each boundary feature point set from small to large, where the size of each range is determined by the number of missing point clouds;

[0102] S42, concatenating the features of each range and inputting them into an MLP (multi-layer perceptron) to obtain a feature vector V of the point cloud.

[0103] Please refer to Figure 4 , Figure 4 This is a structural diagram of a point projection decoder in an embodiment of the present invention, comprising the following steps:

[0104] S51, inputting the feature vector into a folding-based decoder to obtain a feature layer, wherein the feature layer represents predicted plane features;

[0105] S52, passing the feature layer through CNN to obtain N×2 projection surfaces, repeating S52 three times to obtain three projection surfaces, where N represents the number of input point clouds;

[0106] S53, connect the three projection surfaces and input them into a decoder based on a fully connected layer (Linear), and output the completed point cloud.

[0107] Please refer to Figure 6 , Figure 6 This is a visualization diagram of the implementation results in the embodiment of the present invention. In which, Input represents the point cloud data input into the network, Our represents the completion result obtained after input into the network, GT represents the true value, and the visualization diagram shows the completion results of multiple categories of objects in the ShapeNet dataset.

[0108] As shown in Table 1, Table 1 is a precision comparison of the implementation results of the method of the present invention and the PF-Net (Point Fractal Network) method. The data in the table is the average of the sum of the ground movement distances between the predicted point cloud and the real point cloud on the ShapeNet dataset. The numbers on the left of the table are the ground movement distances of the predicted point cloud to the real point cloud, and the numbers on the right are the ground movement distances of the real point cloud to the predicted point cloud. Mean is the weighted average; whole is the sum of the two distances of the weighted average mean. Through data comparison, it can be seen that the method of the present invention is comparable to the most advanced method at present, the PF-Net method, in terms of completion accuracy, and in terms of the point cloud completion accuracy of the laptop, pistol, and skateboard, the method of the present invention is superior to the PF-Net method.

[0109] Table 1 Comparison of the implementation results of the method of the present invention and the PF-Net method

[0110]

[0111] refer to Figure 7 This embodiment also provides a point cloud completion device based on a generative adversarial network, comprising the following modules:

[0112] Dataset construction module 1, used to construct training data set and test data set;

[0113] Network building module 2, used to build a point cloud completion network based on generative adversarial network;

[0114] A projection transformation and boundary extraction module 3 is used to input the training data set into the point cloud completion network based on the generative adversarial network, perform projection transformation and boundary extraction on the point cloud in the training data set, and obtain boundary feature points for extracting features;

[0115] A feature vector extraction module 4 is used to calculate the multi-dimensional geometric features of each point in the boundary feature points, and connect the multi-dimensional geometric features in series to extract the feature vector of the point cloud;

[0116] The point cloud completion module 5 is used to calculate the completion results of the point cloud in each projection direction according to the feature vector, and perform full connection decoding on the completion results in each projection direction to obtain the completed point cloud;

[0117] A network training module 6 is used to construct a loss function through the training data set and the completed point cloud, and iteratively train the point cloud completion network based on the generative adversarial network. After the training is completed, a trained point cloud completion network is obtained;

[0118] The testing module 7 is used to complete the point cloud of the test data set through the trained point cloud completion network to obtain a point cloud completion result.

[0119] Furthermore, the data set construction module 1 specifically includes:

[0120] Point cloud data acquisition module, used to acquire point cloud data;

[0121] A downsampling module, used for downsampling the point cloud data to obtain a sparse point cloud data set after downsampling;

[0122] The data set division module is used to divide the downsampled sparse point cloud data set into a training data set and a test data set.

[0123] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system 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 system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0124] The serial numbers of the embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments. In a unit claim that lists several means, several of these means may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order and these words may be interpreted as identifiers.

[0125] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A point cloud completion method based on generative adversarial network, characterized in that: The following steps are involved: Construct training and testing datasets; Build a point cloud completion network based on generative adversarial networks; Inputting the training data set into the point cloud completion network based on the generative adversarial network, performing projection transformation and boundary extraction on the point cloud in the training data set, and obtaining boundary feature points for feature extraction; The specific steps include: Inputting the training data set into the point cloud completion network based on the generative adversarial network; For each original point cloud in the training dataset, the rotation projection method is used: Project the original point cloud onto the x, y, and z planes to obtain three projection surfaces; The original point cloud is rotated by a first preset angle along the three directions of x, y, and z, and projected onto the three planes of x, y, and z again to obtain three projection surfaces; The original point cloud is rotated by a second preset angle along the three directions of x, y, and z, and projected onto the three planes of x, y, and z again to obtain three projection surfaces; A total of 9 projection surfaces are obtained; For each projection surface, the number of points within a certain range of each point is calculated as the number of adjacent points of the point, and then a group of points with the least number of adjacent points in each projection surface is selected as the boundary feature points of the point, that is, 9 boundary feature point sets are obtained; Calculating the multidimensional geometric features of each point in the boundary feature points, and connecting the multidimensional geometric features in series to obtain a feature vector of the point cloud; According to the feature vector, the completion result of the point cloud in each projection direction is calculated, and the completion result in each projection direction is fully connected and decoded to obtain the completed point cloud; A loss function is constructed by using the training data set and the completed point cloud, and the point cloud completion network based on the generative adversarial network is iteratively trained. After the training is completed, a trained point cloud completion network is obtained; The point cloud completion network is used to complete the point cloud of the test data set to obtain a point cloud completion result.

2. The point cloud completion method based on generative adversarial network according to claim 1, characterized in that: The steps of constructing the training data set and the test data set specifically include: Get point cloud data; Performing a downsampling operation on the point cloud data to obtain a downsampled sparse point cloud data set; The downsampled sparse point cloud dataset is divided into a training dataset and a test dataset.

3. The point cloud completion method based on generative adversarial network according to claim 2, characterized in that: The point cloud data is downsampled by adopting an iterative farthest point sampling method.

4. The point cloud completion method based on generative adversarial network according to claim 1, characterized in that: The step of calculating the multidimensional geometric features of each point in the boundary feature points and connecting the multidimensional geometric features in series to obtain the feature vector of the point cloud specifically includes: For the nine boundary feature point sets, CNN is used to calculate the features of each boundary feature point set in various ranges from small to large, and the size of each range is determined by the number of missing point clouds; The features of each range are connected in series and input into the MLP to obtain the feature vector of the point cloud.

5. The point cloud completion method based on generative adversarial network according to claim 1, characterized in that: The step of calculating the completion results of the point cloud in each projection direction according to the feature vector, and performing full connection decoding on the completion results in each projection direction to obtain the completed point cloud specifically includes: Inputting the feature vector into a folding-based decoder to obtain a feature layer, wherein the feature layer represents predicted plane features; The feature layer is passed through CNN to obtain N×2 projection surfaces, and this is repeated three times to obtain three projection surfaces, where N represents the number of input point clouds; The three projection surfaces are connected and input into a decoder based on a fully connected layer to output a completed point cloud.

6. The point cloud completion method based on generative adversarial network according to claim 1, characterized in that: The loss function consists of multi-directional projection loss and adversarial loss; The multi-directional projection loss L com The calculation formula is as follows: Among them, d CD (S1, S2) represents the chamfer distance between the two point clouds S1 and S2, a and b represent any two points in the point cloud. Both represent the distance between two points a and b, and the multi-directional projection loss L com It consists of four items, namely and α represents a hyperparameter, and the first item calculates the predicted point cloud Y pre and the real point cloud Y gt The chamfer distance between them, the second item calculates the predicted point cloud of the projection surface xoy and real point cloud The chamfer distance between them, the third item calculates the predicted point cloud of the projection surface yoz and real point cloud The chamfer distance between them, the fourth item calculates the predicted point cloud of the projection surface xoz and real point cloud The chamfer distance between The multi-directional projection loss L com and adversarial loss L adv , the loss function L is calculated as: L=λ com L com +λ adv L adv Among them, λ com and λ adv Represent the weights of multi-directional projection loss and adversarial loss, where λ com +λ adv =1.

7. A point cloud completion device based on a generative adversarial network, characterized in that: Includes the following modules: Dataset construction module, used to construct training dataset and test dataset; Network building module, used to build a point cloud completion network based on generative adversarial network; A projection transformation and boundary extraction module, used to input the training data set into the point cloud completion network based on the generative adversarial network, perform projection transformation and boundary extraction on the point cloud in the training data set, and obtain boundary feature points for extracting features; The specific steps include: Inputting the training data set into the point cloud completion network based on the generative adversarial network; For each original point cloud in the training dataset, the rotation projection method is used: Project the original point cloud onto the x, y, and z planes to obtain three projection surfaces; The original point cloud is rotated by a first preset angle along the three directions of x, y, and z, and projected onto the three planes of x, y, and z again to obtain three projection surfaces; The original point cloud is rotated by a second preset angle along the three directions of x, y, and z, and projected onto the three planes of x, y, and z again to obtain three projection surfaces; A total of 9 projection surfaces are obtained; For each projection surface, the number of points within a certain range of each point is calculated as the number of adjacent points of the point, and then a group of points with the least number of adjacent points in each projection surface is selected as the boundary feature points of the point, that is, 9 boundary feature point sets are obtained; A feature vector extraction module, used to calculate the multi-dimensional geometric features of each point in the boundary feature points, and connect the multi-dimensional geometric features in series to extract the feature vector of the point cloud; A point cloud completion module, used to calculate the completion results of the point cloud in each projection direction according to the feature vector, and perform full connection decoding on the completion results in each projection direction to obtain a completed point cloud; A network training module, used to construct a loss function through the training data set and the completed point cloud, iteratively train the point cloud completion network based on the generative adversarial network, and obtain a trained point cloud completion network after the training is completed; The testing module is used to complete the point cloud of the test data set through the trained point cloud completion network to obtain a point cloud completion result.

8. The point cloud completion device based on generative adversarial network according to claim 7, characterized in that: The data set construction module specifically includes: Point cloud data acquisition module, used to acquire point cloud data; A downsampling module, used for downsampling the point cloud data to obtain a sparse point cloud data set after downsampling; The data set division module is used to divide the downsampled sparse point cloud data set into a training data set and a test data set.

Citation Information

Patent Citations

  • Anti-countermeasure attack camera source recognition method based on local smooth projection

    CN111738274A

  • Deep learning-based point cloud completion method

    CN113205104A