Three-dimensional point cloud completion method based on ResUNet
By building a ResUNet model, combining the advantages of ResNet and U-Net, and using average chamfer distance optimization, we solve the problem of poor generalization ability of point cloud completion algorithms in complex scenes in the existing technology, and achieve higher accuracy and details. Rich point cloud completion effects.
Patent Information
- Application Number
- CN202410648436.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-23
- Publication Date
- 2024-08-30
AI Technical Summary
Existing point cloud completion algorithms have poor generalization capabilities when dealing with complex scenes or large shape changes, are prone to overfitting or underfitting, and have unsatisfactory detail completion effects.
Construct the ResUNet model, using the encoder-decoder structure, combining the advantages of ResNet and U-Net, through the multi-scale residual module, fused down-sampling module, fused up-sampling module and self-attention module, using the average chamfer distance as The loss function optimizes the model to generate highly accurate and detailed completion point clouds.
The accuracy and detail effects of point cloud completion are improved, and it can better handle complex scenes and situations with large shape changes. The generated completion point cloud is more accurate and has more details.
Smart Images

Figure CN118570378A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a three-dimensional point cloud completion method based on ResUNet. Background Art
[0002] In practical applications, point cloud data is often missing or incomplete, which may be caused by sensor occlusion, noise, incomplete data collection, etc. The purpose of point cloud completion is to analyze the existing point cloud data and predict and fill in the missing parts based on the information of the surrounding environment, so as to make the point cloud data more complete and accurate, and improve the reliability and effectiveness of subsequent tasks. Therefore, point cloud completion technology has important applications in 3D reconstruction, autonomous driving, virtual reality, medical image processing, industrial design and other fields. Point cloud completion technology can help improve the integrity and quality of data, thereby improving the application effect and reliability.
[0003] Point cloud completion technology can be based on traditional geometric methods, such as interpolation and fitting, or on machine learning methods such as deep learning. Traditional methods usually rely on modeling and analyzing the geometric structure of point cloud data, while deep learning methods use neural network models to learn and predict features of point cloud data. Some point cloud completion algorithms have poor generalization capabilities when dealing with complex scenes or large shape changes, and are prone to overfitting or underfitting, resulting in unsatisfactory detail completion effects. Summary of the invention
[0004] The present invention provides a name to overcome the above technical problems.
[0005] In order to achieve the above object, the technical solution of the present invention is:
[0006] S1: Obtain a residual defect cloud dataset, and divide the dataset into a training set and a test set;
[0007] S2: Build the ResUNet model;
[0008] S3: Input the training set into the ResUNet model to generate a predicted point cloud;
[0009] S4: using the average chamfer distance as a loss function to calculate the chamfer distance between the predicted point cloud and the real point cloud, optimizing the ResUNet model, and obtaining an optimized model;
[0010] S5: Input the test set into the optimization model to obtain a completed three-dimensional point cloud.
[0011] Furthermore, S2 builds the ResUNet model, including:
[0012] The ResUNet model uses the U-Net model as its architecture and has forty-one network layers, including two convolutional layers, twenty-two multi-scale residual modules, three fused down-sampling modules, three fused up-sampling modules and eleven self-attention modules. The ResUNet model adopts an encoder-decoder structure. The encoder structure is used to extract feature information of residual point clouds and gradually reduce the size and dimension of the residual point clouds to obtain an image feature map. The decoder is used to upsample the image feature map generated by the encoder, merge the image feature maps processed by the encoder structure through jump connections, and output the completed point cloud.
[0013] Furthermore, the multi-scale residual module is based on the ResNet residual module architecture, including:
[0014] The multi-scale residual module is based on the ResNet residual module architecture and includes:
[0015] The first layer of the ResNet residual module is a first normalization layer, a first activation layer and a first convolution layer in parallel, the second layer is a second convolution layer, the third layer is a second normalization layer and a second activation layer, and the fourth layer is a third convolution layer; and the second convolution layer of the ResNet residual module is replaced by three parallel convolution layers to form the multi-scale residual module;
[0016] The three convolutional layers respectively extract the dimensions of the point cloud vector obtained by processing the first normalization layer and the first activation layer to obtain a feature vector with a dimension of N*M and two feature vectors with a dimension of N*M / 2, and concatenate the two feature vectors with a dimension of N*M / 2, and add them to the feature vector with a dimension of N*M to obtain a feature vector with a dimension of N*M.
[0017] Furthermore, the fusion down-sampling module is based on the down-sampling module as the architecture, including:
[0018] The down-sampling module includes a nearest neighbor interpolation operation layer and a convolution layer, and the nearest neighbor interpolation operation layer of the down-sampling module is replaced by a parallel nearest neighbor interpolation and farthest point sampling algorithm operation layer, and an attention module is added between the parallel nearest neighbor interpolation and farthest point sampling algorithm operation layer and the convolution layer to form the fused down-sampling module;
[0019] The nearest neighbor interpolation method and farthest point sampling algorithm operation layer are used to process the image feature vector, and add the results to obtain the image feature vector with reduced number of image features;
[0020] The first layer of the attention module is an average pooling layer, the second and fourth layers are convolutional layers, and the third and fifth layers are activation layers;
[0021] The attention module is used to process the image feature vector and obtain the weights between features, as shown in formula (1):
[0022] Att=σ(W2δ(W1pool(z))) (1)
[0023] Wherein, Att represents the output weight of the attention module, z represents the image feature vector with the reduced number of image features, pool represents the average pooling layer, and W1 and W2 represent the parameters of the two convolutional layers;
[0024] The image feature vector with the reduced number of image features is weighted using the output weight to obtain a feature vector with a weight, as shown in formula (2):
[0025]
[0026] in, represents a feature vector with weights.
[0027] Furthermore, the fusion up-sampling module is based on the up-sampling module as the architecture, and includes:
[0028] The up-sampling module includes a regional interpolation operation layer and two convolution layers, and an attention module is added between the two convolution layers to form the fused up-sampling module.
[0029] Further, S4 uses the average chamfer distance as a loss function to calculate the chamfer distance between the predicted point cloud and the real point cloud, optimizes the ResUNet model, and obtains an optimized model, including:
[0030] The average chamfer distance is shown in formula (3):
[0031] L com =d CD (F pre ,F gt ) (3)
[0032] Among them, F pre represents the predicted point cloud, F gt Represents the real point cloud;
[0033] The average nearest square distance between the predicted point cloud and the true value is measured using the average chamfer distance, as shown in formula (4):
[0034] d CD (F pre ,F gt ) = d CD (F Pred ,F GT )+d CD (FGT ,F Pred ) (4)
[0035] Among them, d CD (F Pred ,F GT ) represents the chamfer distance between the predicted point cloud and the true value, d CD (F GT ,F Pred ) represents the chamfer distance between the true value and the predicted point cloud, and the calculation formula is shown in (5) and (6).
[0036]
[0037]
[0038] The present invention constructs a ResUNet model, which includes a convolutional layer, a residual module, a fused down-sampling module, a fused up-sampling module and a self-attention module. The residual module can extract features of different scales, the fused down-sampling module can understand the importance of different features and improve the accuracy of inferring residual point clouds. The fused up-sampling module can fuse features of the same resolution in the down-sampling process to generate high-level features. Compared with the existing point cloud completion technology, the residual point cloud can be completed with higher precision and more details, and the accuracy is better. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0040] Figure 1 A method flow chart of a three-dimensional point cloud completion method based on ResUNet of the present invention;
[0041] Figure 2 It is a structural diagram of the ResUNet model of the present invention;
[0042] Figure 3 Schematic diagram of the structure of the residual module in the ResUNet model of the present invention;
[0043] Figure 4 Schematic diagram of the structure of the downsampling module in the ResUNet model of the present invention;
[0044] Figure 5This is a schematic diagram of the structure of the upsampling module of the ResUNet model of the present invention;
[0045] Figure 6 This is a diagram of the experimental results of the residual cloud dataset of the present invention. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0047] This embodiment provides a 3D point cloud completion method based on ResUNet. Figure 1 As shown,
[0048] S1: Obtain a residual defect cloud dataset, and divide the dataset into a training set and a test set;
[0049] S2: Build the ResUNet model;
[0050] S3: Input the training set into the ResUNet model to generate a predicted point cloud;
[0051] S4: using the average chamfer distance as a loss function to calculate the chamfer distance between the predicted point cloud and the real point cloud, optimizing the ResUNet model, and obtaining an optimized model;
[0052] S5: Input the test set into the optimization model to obtain a completed three-dimensional point cloud.
[0053] Specifically, firstly, a residual point cloud dataset is obtained, and the dataset is divided into a training set and a test set. The ShapeNet-13 public dataset is selected as the residual point cloud dataset. This dataset is a relatively common dataset in point cloud processing, with relatively comprehensive data and relatively accurate test results. Secondly, a ResUNet model is constructed. ResUNet is a deep learning model based on residual connections and skip connections. It combines the advantages of ResNet and U-Net, and can better solve the gradient disappearance problem and information missing problem. The model includes convolutional layers, residual modules, fused down-sampling modules, fused up-sampling modules and attention modules. The residual module can extract features of different scales to obtain multi-level feature representations to help the network representation learning. The fused down-sampling module can enable the convolutional neural network to extract features that are helpful for inferring the missing point cloud area from the incomplete point cloud structure, thereby obtaining more effective geometric information. The fused up-sampling module can gradually increase the number of features, better capture detail information, and better reconstruct local subtle spatial structures to obtain a complete point cloud; the average chamfer distance is used as the loss function to calculate the chamfer distance between the predicted point cloud and the real point cloud, and the ResUNet model is optimized to obtain the error size between the predicted point cloud and the real point cloud, and the point cloud completion effect is intuitively obtained. Finally, the test set is input into the optimized model to obtain the completed three-dimensional point cloud, which is more accurate than the point cloud obtained by the existing point cloud completion technology, has more details, and has better effects.
[0054] In a specific embodiment, a residual defect cloud data set is obtained, and a scheme for dividing the data set into a training set and a test set is:
[0055] This embodiment selects the ShapeNet-13 public data set as the residual defect cloud data set. The data set shapnet13 includes 13 categories such as airplanes and bags, and includes a total of 14473 models, of which 11705 are used for training and 2768 are used for testing.
[0056] This solution selects the ShapeNet-13 public dataset, which is a relatively common dataset in point cloud processing. It is widely used to assist research in computer graphics, computer vision, robotics, and other related disciplines. The data is relatively comprehensive and the test results are relatively accurate.
[0057] In a specific embodiment, the scheme for constructing the ResUNet model is:
[0058] The ResUNet model uses the U-Net model as its architecture. Figure 2As shown, it has forty-one network layers, including two convolutional layers, twenty-two multi-scale residual modules, three fusion down-sampling modules, three fusion up-sampling modules and eleven self-attention modules; the ResUNet model adopts an encoder-decoder structure:
[0059] The encoder structure has 19 network layers, wherein the first layer is a 3*3 convolution layer, the second, third, fifth, sixth, eighth, tenth, thirteenth, fifteenth, seventeenth and nineteenth layers are multi-scale residual modules; the fourth, seventh and twelfth layers are fused down-sampling modules; the ninth, eleventh, fourteenth, sixteenth and eighteenth layers are self-attention modules;
[0060] The encoder structure is used to extract feature information of the residual defect cloud and gradually reduce the size and dimension of the residual defect cloud to obtain an image feature map.
[0061] The decoder structure has 22 network layers, of which the last layer is a 3*3 convolutional layer, the 26th, 33rd and 37th layers are fused up-sampling modules; the 21st, 23rd, 25th, 28th, 30th and 32nd layers are self-attention modules; the rest are multi-scale residual modules;
[0062] Among them, the first and the thirty-ninth layers, the second and the thirty-eighth layers, the third and the thirty-seventh layers, the fourth and the thirty-fifth layers, the fifth and the thirty-fourth layers, the sixth and the thirty-third layers, the seventh and the thirtieth layers, the ninth and the twenty-eighth layers, the eleventh and the twenty-sixth layers, the twelfth and the twenty-third layers, the fourteenth and the twenty-first layers, and the sixteenth and the nineteenth layers are all jump connections;
[0063] The decoder is used to upsample the image feature map generated by the encoder, merge the image feature map processed by the encoder structure through a jump connection, and output a completed point cloud.
[0064] ResNet is a deep convolutional neural network structure that solves problems such as gradient vanishing and gradient exploding during deep neural network training by introducing residual connections. In residual connections, the original input is directly added before the output of the network layer, forming a "skip connection", which makes it easier for the network to learn the identity mapping, prevent overfitting, and improve the accuracy of the model. The core feature of U-Net is the encoder-decoder structure. The encoder part is responsible for extracting image features and gradually reducing the size and dimension of the feature map through downsampling operations to capture the global information of the image. The decoder part is responsible for upsampling the feature map generated by the encoder and merging it with the feature map of the corresponding layer of the encoder through skip connections to restore resolution and local details. This structure enables U-Net to retain more contextual information. ResUNet is a deep learning model based on residual connections and skip connections. It combines the advantages of ResNet and U-Net and can better solve the problem of gradient vanishing and information missing.
[0065] In a specific embodiment, Figure 3 As shown, the multi-scale residual module is based on the ResNet residual module architecture, including:
[0066] like Figure 3 As shown, the first layer of the ResNet residual module is a parallel first normalization layer, a first activation layer and a first convolution layer, the second layer is a second convolution layer, the third layer is a second normalization layer and a second activation layer, and the fourth layer is a third convolution layer; and the second convolution layer of the ResNet residual module is replaced by three parallel convolution layers to form the multi-scale residual module;
[0067] The three convolutional layers respectively extract the dimensions of the point cloud vector obtained by processing the first normalization layer and the first activation layer to obtain a feature vector with a dimension of N*M and two feature vectors with a dimension of N*M / 2, and concatenate the two feature vectors with a dimension of N*M / 2, and add them to the feature vector with a dimension of N*M to obtain a feature vector with a dimension of N*M.
[0068] In this embodiment, the normalization layers are all group normalization, the activation layers are all SILU activation functions, and the convolution kernel of the first convolution layer of the three parallel convolution layers after replacement is 3, with a step size of 1; the convolution kernel of the second convolution layer is 3, with a step size of 2; the convolution kernel of the third convolution layer is 1, with a step size of 2; the convolution kernel of the unreplaced convolution layer is 3, with a step size of 1.
[0069] The residual module designed in this scheme uses 5 layers of convolution kernels and convolution layers with different step sizes. It can extract image feature vectors of different sizes without changing the size to obtain multi-level feature representation, which can help the network representation learning.
[0070] In a specific embodiment, Figure 4 As shown, the down-sampling module includes a nearest neighbor interpolation operation layer and a convolution layer, and the nearest neighbor interpolation operation layer of the down-sampling module is replaced by a parallel nearest neighbor interpolation and farthest point sampling algorithm operation layer, and an attention module is added between the parallel nearest neighbor interpolation and farthest point sampling algorithm operation layer and the convolution layer to form the fused down-sampling module;
[0071] The nearest neighbor interpolation method and farthest point sampling algorithm operation layer are used to process the image feature vector, and add the results to obtain the image feature vector with reduced number of image features;
[0072] The first layer of the attention module is an average pooling layer, the second and fourth layers are convolutional layers, and the third and fifth layers are activation layers; the first activation layer is a RELU activation function, and the second activation layer is a σ activation function; the convolution kernels of the first and second convolutional layers are both 3, and the step sizes are both 1;
[0073] The attention module is used to process the image feature vector with a reduced number of image features to obtain weights between features, as shown in formula (7):
[0074] Att=σ(W2δ(W1pool(z))) (7)
[0075] Where Att represents the output weight of the attention module, z represents the image feature vector with a reduced number of image features, with a size of C*L, pool represents the average pooling layer, W1 and W2 represent the parameters of the two convolutional layers, with sizes of C / 16*C and C*C / 16 respectively;
[0076] The output weight is used to weight the image feature vector with reduced number of image features to obtain a feature vector with weights, as shown in formula (8),
[0077]
[0078] in, represents a feature vector with weights.
[0079] The downsampling part combines the nearest neighbor interpolation and the farthest point sampling algorithm to gradually reduce the number of features. The nearest neighbor interpolation algorithm selects the value of the point closest to the data point being sought, without considering the values of other neighboring points, thereby generating an interpolated value as the value of the data point being sought. The farthest point sampling algorithm iteratively selects M points on the point cloud of N points. Each time, the point with the largest minimum distance to all points in the currently selected point set S is selected and added to the set S. The attention module is used to extract features that are conducive to inferring the missing point cloud area. By introducing learnable weights, the module can automatically understand the importance of different features, thereby better generating the missing point cloud structure. Usually, different input features contribute unequally to the output results, so the attention mechanism can better learn the weights between features, so that the weights of features that are conducive to generating the missing point cloud structure are larger. This method can improve the accuracy of inferring the missing point cloud. Through the downsampling module, the convolutional neural network can extract features that are conducive to inferring the missing point cloud area from the incomplete point cloud structure, thereby obtaining more effective geometric information.
[0080] In a specific embodiment, Figure 5 As shown, the fusion up-sampling module is based on the up-sampling module as the architecture, and includes:
[0081] The up-sampling module includes a regional interpolation operation layer and two convolution layers, and an attention module is added between the two convolution layers to form the fused up-sampling module.
[0082] The upsampling part first uses the nearest neighbor interpolation operation to gradually increase the number of features, and obtains weighted features through the attention module, which can better capture detailed information and better reconstruct local subtle spatial structures. Then, the features of the same resolution in the downsampling process are fused to generate high-level features. The complete point cloud is obtained through step-by-step upsampling operations.
[0083] In a specific embodiment, the average chamfer distance is used as a loss function to calculate the chamfer distance between the predicted point cloud and the real point cloud, and the ResUNet model is optimized. The solution to obtain the optimized model is:
[0084] Inputting the training set into the ResUNet model to generate a predicted point cloud;
[0085] The chamfer distance between the predicted point cloud and the real point cloud is calculated. The average chamfer distance is as shown in formula (9):
[0086] L com =d CD (F pre ,F gt ) (9)
[0087] Among them, Fpre represents the predicted point cloud, F gt Represents the real point cloud;
[0088] The average nearest square distance between the predicted point cloud and the true value is measured using the average chamfer distance, as shown in formula (10):
[0089] d CD (F pre ,F gt ) = d CD (F Pred ,F GT )+d CD (F GT ,F Pred ) (10)
[0090] Among them, d CD (F Pred ,F GT ) represents the chamfer distance between the predicted point cloud and the true value, d CD (F GT ,F Pred ) represents the chamfer distance between the true value and the predicted point cloud, and the calculation formula is shown in (11) and (12).
[0091]
[0092]
[0093] This solution uses the average chamfer distance as the loss function to optimize the model. The chamfer distance is mainly used in point cloud reconstruction or 3D reconstruction related work. Fgt and Fpred in the above formula represent the real point cloud and the predicted point cloud respectively. Formula 11 represents the sum of the minimum distances from any point in Fpred to Fgt. Formula 12 represents the sum of the minimum distances from any point in Fgt to Fpred. If the distance is large, it means that the two groups of point clouds are quite different; if the distance is small, it means that the reconstruction effect is good, and the point cloud completion effect can be intuitively obtained.
[0094] In a specific embodiment, the test set is input into the optimization model to obtain the completed three-dimensional point cloud:
[0095] The test set was input into the optimization model, and the average chamfer distance was used to obtain the test results. The chamfer distance of the optimization model in 13 categories was compared to other methods. The comparison results are shown in Table 1.
[0096] Table 1 Comparison results of the present invention and other methods on the ShapeNet-13 dataset
[0097]
[0098] Paired numbers are chamfer distance × 10 3 , the lower the distance value, the better the completion effect. It can be seen from the table that the chamfer distance value of the optimization model of the present invention is the lowest, indicating that the point cloud completion effect is the best;
[0099] The qualitative results of some categories of the Shapenet-13 dataset are shown, such as Figure 6 For various categories, this embodiment can complete the missing point cloud with higher accuracy and more details.
[0100] 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 they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A 3D point cloud completion method based on ResUNet, characterized in that: include: S1: Obtain a residual defect cloud dataset and divide the dataset into a training set and a test set; S2: Build the ResUNet model; S3: Input the training set into the ResUNet model to generate a predicted point cloud; S4: using the average chamfer distance as a loss function to calculate the chamfer distance between the predicted point cloud and the real point cloud, optimizing the ResUNet model to obtain an optimized model; S5: Input the test set into the optimization model to obtain a completed three-dimensional point cloud.
2. A 3D point cloud completion method based on ResUNet according to claim 1, characterized in that: S2 builds the ResUNet model, including: The ResUNet model uses the U-Net model as its architecture and has forty-one network layers, including two convolutional layers, twenty-two multi-scale residual modules, three fused down-sampling modules, three fused up-sampling modules and eleven self-attention modules. The ResUNet model adopts an encoder-decoder structure. The encoder structure is used to extract the feature information of the residual point cloud and gradually reduce the size and dimension of the residual point cloud to obtain an image feature map. The decoder is used to upsample the image feature map generated by the encoder, merge the image feature maps processed by the encoder structure through jump connections, and output the completed point cloud.
3. The 3D point cloud completion method based on ResUNet according to claim 2, characterized in that: The multi-scale residual module is based on the ResNet residual module architecture and includes: The first layer of the ResNet residual module is a first normalization layer, a first activation layer, and a first convolutional layer in parallel; the second layer is a second convolutional layer; the third layer is a second normalization layer and a second activation layer; and the fourth layer is a third convolutional layer; and the second convolutional layer of the ResNet residual module is replaced by three parallel convolutional layers to form the multi-scale residual module; The three convolutional layers respectively extract the dimensions of the point cloud vector obtained by processing the first normalization layer and the first activation layer to obtain a feature vector with a dimension of N*M and two feature vectors with a dimension of N*M / 2, and concatenate the two feature vectors with a dimension of N*M / 2, and add them to the feature vector with a dimension of N*M to obtain a feature vector with a dimension of N*M.
4. The 3D point cloud completion method based on ResUNet according to claim 2, characterized in that: The fusion down-sampling module is based on the down-sampling module architecture and includes: The downsampling module includes a nearest neighbor interpolation operation layer and a convolution layer, and the nearest neighbor interpolation operation layer of the downsampling module is replaced by a parallel nearest neighbor interpolation and farthest point sampling algorithm operation layer, and an attention module is added between the parallel nearest neighbor interpolation and farthest point sampling algorithm operation layer and the convolution layer to form the fused downsampling module; The nearest neighbor interpolation method and farthest point sampling algorithm operation layer are used to process the image feature vector and add the results to obtain an image feature vector with a reduced number of image features; The first layer of the attention module is an average pooling layer, the second and fourth layers are convolutional layers, and the third and fifth layers are activation layers; The attention module is used to process the image feature vector and obtain the weights between features, as shown in formula (1), Att=σ(W2δ(W1pool(z))) (1) Where Att represents the output weight of the attention module, z represents the image feature vector with the reduced number of image features, pool represents the average pooling layer, and W1 and W2 represent the parameters of the two convolutional layers; The image feature vector with the reduced number of image features is weighted using the output weight to obtain a feature vector with a weight, as shown in formula (2), in, represents a feature vector with weights.
5. The 3D point cloud completion method based on ResUNet according to claim 2, characterized in that: The fusion upsampling module is based on the upsampling module architecture and includes: The upsampling module includes a regional interpolation operation layer and two convolution layers, and an attention module is added between the two convolution layers to form the fused upsampling module.
6. The three-dimensional point cloud completion method based on ResUNet according to claim 1, characterized in that: S4 uses the average chamfer distance as a loss function to calculate the chamfer distance between the predicted point cloud and the real point cloud, optimizes the ResUNet model, and obtains an optimized model, including: The average chamfer distance is shown in formula (3), L com =d CD (F pre ,F gt ) (3) Among them, F pre Represents the predicted point cloud, F gt Represents the real point cloud; The average nearest square distance between the predicted point cloud and the true value is measured using the average chamfer distance, as shown in formula (4), d CD (F pre ,F gt )=d CD (F Pred ,F GT )+d CD (F GT ,F Pred ) (4) Among them, d CD (F Pred , F GT ) represents the chamfer distance between the predicted point cloud and the true value, d CD (F GT , F Pred ) represents the chamfer distance between the true value and the predicted point cloud, and the calculation formulas are shown in (5) and (6).
