Point cloud up-sampling method based on parallel mask-recovery network
Through parallel mask-restoration network and rotation merging technology, the dependence of point cloud upsampling on true values and computing resources in the existing technology is solved, and unsupervised point cloud upsampling and detail structure restoration of arbitrary scales are achieved.
Patent Information
- Application Number
- CN202410740468.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-04
- Publication Date
- 2024-09-10
AI Technical Summary
Existing point cloud upsampling methods based on deep learning require ground truth supervision and retraining the network to adapt to different upsampling ratios, and self-supervised methods need to generate a large number of seed points and pseudo labels, consuming a large amount of computing resources.
A parallel mask-restoration network is used to divide the point cloud into blocks. The network is trained through efficient mask proportions, and the overall features and point cloud block center features are used to generate restored point cloud blocks, and a dense point cloud is generated through rotation and merging. Finally, Outlier removal and farthest point sampling enable arbitrary scale upsampling.
It achieves no true value supervision, no false label generation, and upsampling at any scale, improves the restoration effect of point cloud density and detailed structure, and reduces computing resource consumption.
Smart Images

Figure CN118628652A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of deep learning, and in particular relates to a point cloud upsampling method based on a parallel mask-restoration network. Background Art
[0002] As an important three-dimensional expression form, point cloud is widely used in downstream tasks such as autonomous driving, three-dimensional surface reconstruction, and virtual reality. At present, people mainly use 3D scanning devices to obtain point cloud data. However, due to the inherent limitations of the equipment, the point cloud exported by the 3D scanning device is usually sparse, uneven, and noisy. In order to improve the quality of point clouds, point cloud upsampling technology can be used to generate dense and uniform point clouds from the original point clouds. Point cloud upsampling is a topic about point generation, and the problem of missing information is usually solved during the research process. Point cloud upsampling can be roughly divided into traditional optimization-based methods and deep learning-based methods. Since traditional optimization-based methods are not data-driven, they often have a high reliance on prior knowledge of data, such as the normal vector of the local surface of the point cloud, the assumed smooth potential surface, etc. At the same time, these methods have poor robustness when processing different types of point clouds. In contrast, deep learning-based methods are data-driven and can complete point cloud upsampling tasks more concisely and efficiently.
[0003] At present, upsampling methods based on deep learning include two major categories: fully supervised methods and self-supervised methods. In the fully supervised upsampling framework, the end-to-end framework usually divides point cloud upsampling into three modules: feature extraction, feature expansion, and point coordinate prediction. However, the end-to-end upsampling method usually fixes the upsampling ratio, which requires retraining the network for different upsampling factors. The introduction of a non-end-to-end framework realizes point cloud upsampling of any scale. The framework first generates a large number of seed points and attempts to fit a function mapped from seed points to the surface of the object through the input point cloud, and then realizes point cloud upsampling of any scale by generating any number of seed points. This type of method is relatively successful, but it is still necessary to generate a sufficient number of seed points before upsampling. The above fully supervised methods all require true values, and in many cases, the obtained data sets do not have true values for supervision. Although the self-supervised framework reduces the dependence on true value data, it still has limitations: the self-supervised end-to-end framework needs to retrain the network for different upsampling ratios, and the self-supervised non-end-to-end framework needs to generate a large number of seed points before upsampling, and also needs to generate pseudo labels additionally, which consumes a lot of computing resources. Summary of the invention
[0004] In order to overcome the shortcomings of the prior art, the present invention provides a point cloud upsampling method based on a parallel mask-recovery network. First, the point cloud is divided into multiple point cloud blocks, and then multiple efficient mask ratios are selected to mask these point cloud blocks. The parallel mask recovery network is trained according to different mask ratios; the generation of the recovery point cloud blocks is guided by the overall features and the embedded position features from the centers of all point cloud blocks, and the generated point cloud blocks are restored and supervised by the real mask point cloud blocks; the point cloud is rotated by different angles and input into the parallel mask recovery network, and the recovered point cloud blocks obtained from the generated point cloud blocks are merged with the visible point cloud blocks and output; after rotating these output point clouds back to the original spatial direction, they are all merged to obtain dense upsampled point clouds; finally, by inputting the dense point cloud into the outlier removal module and adopting the 0 farthest point sampling algorithm, point cloud upsampling of any ratio can be achieved. Based on the parallel mask-recovery network, the present invention can make the input sparse point cloud denser and can well restore the detailed structure of the point cloud.
[0005] The technical solution adopted by the present invention to solve the technical problem is as follows:
[0006] Step 1: Select the most efficient mask ratio through preliminary experiments;
[0007] Step 2: Input the point cloud into the neural network based on parallel mask recovery and process it to obtain the divided point cloud blocks;
[0008] Step 3: Extract features and mask the point cloud blocks according to the selected mask ratio to obtain masked point cloud blocks and visible point cloud blocks, and then further extract features from the visible point cloud blocks;
[0009] Step 4: Randomly generate the required point cloud blocks and expand the features of the generated point cloud blocks;
[0010] Step 5: The visible point cloud block features and the center points of all input point cloud blocks are used to guide the generation of point cloud block restoration to obtain the restored point cloud block;
[0011] Step 6: Calculate the chamfer distance between the restored point cloud block and the masked point cloud block, integrate all the results of the parallel mask-restore network and perform weighted summation, and use it as the loss function to supervise the neural network training;
[0012] Step 7: Rotate the test point cloud according to the given rotation matrix to change the spatial posture of the test point cloud and obtain the input point cloud;
[0013] Step 8: Import the input point cloud into the trained neural network to generate the restored point cloud block;
[0014] Step 9: Rotate the restored point cloud block and regress it to the spatial posture of the test point cloud to obtain the seed point cloud;
[0015] Step 10: Select different rotation matrices, repeat steps 7 to 9, merge all seed point clouds and the initial test point cloud to obtain a dense point cloud;
[0016] Step 11: Eliminate outliers in the dense point cloud through the outlier removal module;
[0017] Step 12: Obtain the upsampled point cloud with the required upsampling ratio by sampling the farthest point.
[0018] Furthermore, the preliminary experiment in step 1 includes:
[0019] Step 1-1: Given a mask ratio set {0.1, 0.2, 0.3..., 0.9};
[0020] Step 1-2: For each mask ratio, input it into a single mask-recovery network test to obtain the mask ratio with the best recovery effect {m1,m2,...,m c}.
[0021] Furthermore, the process of obtaining the divided point cloud blocks in step 2 includes:
[0022] Step 2-1: Use the farthest point sampling algorithm to sample n seed points from the input point cloud;
[0023] Step 2-2: Sampling K nearest neighbor algorithm, sampling with n seeds as the center point, generating n different point cloud blocks, each point cloud block contains k points, thus generating a set of n input point cloud blocks
[0024]
[0025] Among them, P i Represents each input point cloud block.
[0026] Furthermore, in step 3, the process of feature extraction and masking of the point cloud block includes:
[0027] Step 3-1: Use the PointNet module to extract features from the input point cloud block:
[0028]
[0029] Among them, FP represents the features of all point cloud blocks, and C represents the feature dimension;
[0030] Step 3-2: According to the input mask ratio m j , perform mask operations on the features of all point cloud blocks and retain the features of visible point cloud blocks:
[0031]
[0032] Mask represents the mask operation on the point cloud, FP vis Represents the features of visible point cloud blocks;
[0033] Step 3-3: Center point of visible point cloud block Extract features to obtain the center point features of visible point cloud blocks
[0034] Step 3-4: Use the TEncoder module to merge the input visible point cloud block and the center point of the point cloud block for further feature extraction and mining its inherent feature associations:
[0035]
[0036] where F vis Represents the features of visible point cloud blocks;
[0037] Step 3-5: According to the mask ratio m j , and the mask point cloud block is also obtained and visible point cloud blocks
[0038]
[0039] Furthermore, the step 4 is specifically as follows:
[0040] Step 4-1: Randomly generate the required number of learnable generated point cloud blocks;
[0041] Step 4-2: Expand its features to obtain the expanded features of the generated point cloud block
[0042] Furthermore, the step 5 is specifically as follows:
[0043] Step 5-1: Generate the feature F of the point cloud block mask Feature FP with visible point cloud blocks vis Merge to get the total features of the point cloud block
[0044] Step 5-2: Center points of all point cloud blocks Extract features and get the features of all center points
[0045]
[0046] Step 5-3: FP the total feature of the point cloud block full Total feature FC with the center point of the point cloud block full Input to TDecoder module for decoding:
[0047] F = TDecoder(FPfull ,FC full ),F∈R n×C , (5)
[0048] Where F represents the total feature of the decoded point cloud block, and then the feature part of the restored point cloud block is selected from the feature F to obtain the feature of the restored point cloud block;
[0049] Step 5-4: Through the coordinate prediction module, the features of the restored point cloud block are regressed into the three-dimensional space to obtain the three-dimensional coordinates of the restored point cloud block
[0050] Furthermore, the step 6 specifically includes:
[0051] Step 6-1: For each mask ratio m j , calculate the mask point cloud block P mask And restore the point cloud block P gen The chamfer distance L j :
[0052]
[0053] Step 6-2: Perform weighted summation on the chamfer distances calculated for different mask ratios to obtain the loss function of the parallel mask-restoration network:
[0054]
[0055] Among them, α j Represents the weight given by the network to the chamfer distance;
[0056] Step 6-3: Use this loss function to supervise the parallel mask-recovery network training.
[0057] Furthermore, the step 7 is specifically as follows:
[0058] Step 7-1: According to the requirements of the upsampling ratio, a number of different rotation matrices {R1, R2, ..., R s},R∈R 3×3 , each process will select one of the matrices in sequence;
[0059] Step 7-2: Multiply the test point cloud by the rotation matrix to change the spatial posture of the test point cloud and obtain the input point cloud.
[0060] Furthermore, the process of generating the dense point cloud in step 10 includes:
[0061] Step 10-1: Repeat steps 8 and 9 according to the number of rotation matrices set in step 7 to obtain s seed point clouds;
[0062] Step 10-2: Merge the s seed point clouds and then merge them with the test point cloud, thus obtaining a total of s×m j A dense point cloud of n×k+n points.
[0063] Furthermore, the step 11 is specifically as follows:
[0064] Step 11-1: For each generated up-sampled point p, calculate its v neighboring points and obtain {p1,p2,...,p v};
[0065] Step 11-2: Calculate the average distance d between p and its neighboring points p :
[0066]
[0067] Step 11-3: After calculating the average distance d of all points p Finally, take the average of these distances again to get the reference distance d;
[0068] Step 11-4: Given a threshold u, all the The points p are regarded as outliers and are removed through this module.
[0069] Furthermore, the step 12 is specifically as follows:
[0070] Step 12-1: Calculate the number of upsampling points n×r that need to be generated according to the given upsampling ratio;
[0071] Step 12-2: Downsample the dense point cloud obtained in step 9 to n×r through the farthest point sampling algorithm.
[0072] The beneficial effects of the present invention are as follows:
[0073] 1. The present invention is based on a parallel mask-restoration network, which can make the input sparse point cloud denser and can well restore the detailed structure of the point cloud.
[0074] 2. The present invention is based on self-supervised learning, does not require any supervision of real point clouds, and does not require the generation of any pseudo labels.
[0075] 3. The present invention can achieve upsampling of point clouds of any proportion, and does not require additional computing resources to sample seed points. BRIEF DESCRIPTION OF THE DRAWINGS
[0076] Figure 1 Flow chart of the training process implementation of the present invention.
[0077] Figure 2 The present invention is a flowchart of the testing process.
[0078] Figure 3 Schematic diagram of point cloud upsampling effects at different upsampling ratios according to an embodiment of the present invention.
[0079] Figure 4 This is the sampling effect of the embodiment of the present invention on the point cloud of the real scanned dataset KITTI. DETAILED DESCRIPTION
[0080] The present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0081] The present invention proposes a new point cloud upsampling method based on self-supervised learning and arbitrary upsampling ratio, the core of which is a mask-recovery network based on parallel training. The main goal of this method is to use the visible point cloud blocks and the centers of all point cloud blocks to guide the recovery of the generated point cloud blocks while enhancing their detailed structural representation. In summary, the present invention first divides the point cloud into multiple point cloud blocks, and then selects multiple efficient mask ratios to mask these point cloud blocks. Then the present invention trains a parallel mask recovery network according to different mask ratios. The parallel mask recovery network combines the features extracted from the visible point cloud blocks and the generated point cloud blocks. The overall features and the embedded position features from the centers of all point cloud blocks guide the generation of the restored point cloud blocks. The generated point cloud blocks are supervised by the real mask point cloud blocks for recovery. Compared with the previous arbitrary scale upsampling method, the present invention does not require additional resources to generate seed points and pseudo labels. In order to achieve arbitrary scale point cloud upsampling, the present invention also proposes a rotation-recovery module, which is simple and efficient. Specifically, the present invention rotates the point cloud by different angles and inputs it into the parallel mask recovery network. Then, the restored point cloud blocks obtained from the generated point cloud blocks will be merged with the visible point cloud blocks and output. It is worth noting that the restored point cloud blocks representing the same local structure of the object will be generated with different spatial distributions. After rotating these output point clouds back to the original spatial orientation, they are all merged to obtain a dense upsampled point cloud. Finally, by inputting the dense point cloud into the outlier removal module and adopting the 0 farthest point sampling algorithm, the present invention can achieve point cloud upsampling of any scale.
[0082] The method of the present invention can achieve upsampling of the input point cloud when facing sparse point cloud input, enhance the detail expression of the original point cloud, and output a dense upsampled point cloud. It includes the steps of two stages: training and testing:
[0083] Training phase:
[0084] S1: Do a preliminary experiment and select the most efficient mask ratio;
[0085] S2: Input the point cloud into the neural network based on parallel mask recovery and perform preliminary processing to obtain the divided point cloud blocks;
[0086] S3: extracting features and masking the point cloud blocks according to the selected mask ratio to obtain masked point cloud blocks and visible point cloud blocks, and then further extracting features from the visible point cloud blocks;
[0087] S4: randomly generate the required point cloud blocks and expand the features of the generated point cloud blocks;
[0088] S5: Restoring the point cloud blocks guided by the visible point cloud block features and the center points of all input point cloud blocks to obtain the restored point cloud blocks;
[0089] S6: Calculate the chamfer distance between the restored point cloud block and the masked point cloud block, integrate all the results of the parallel mask-restored network and perform weighted summation, which is used as the loss function to supervise the neural network training;
[0090] Testing phase:
[0091] S7: Rotate the test point cloud according to a given rotation matrix to change the spatial posture of the test point cloud to obtain an input point cloud;
[0092] S8: import the input point cloud into the trained neural network to generate a restored point cloud block;
[0093] S9: Rotate the restored point cloud block and return it to the spatial posture of the test point cloud to obtain the seed point cloud;
[0094] S10: Select different rotation matrices, repeat steps 7 to 9, merge all seed point clouds and the initial test point cloud, and obtain a dense point cloud;
[0095] S11: Eliminate outliers in the dense point cloud through the outlier removal module;
[0096] S12: Obtain an upsampled point cloud with a required upsampling ratio by sampling the farthest point.
[0097] The neural network training phase process includes:
[0098] The preliminary experiments in S1 include:
[0099] S1-1: Given a set of mask ratios {0.1, 0.2, 0.3..., 0.9};
[0100] S1-2: For each mask ratio, input it into a single mask-recovery network test to obtain the mask ratio {m1,m2,...,m c}.
[0101] The point cloud segmentation process in S2 includes:
[0102] S2-1: Use the farthest point sampling algorithm to sample n seed points from the input point cloud;
[0103] S2-2: Sampling K nearest neighbor algorithm, taking n seeds as the center point sampling, generates n different point cloud blocks, each point cloud block contains k points, thus generating a set of n input point cloud blocks
[0104]
[0105] Among them, P i Represents each input point cloud block.
[0106] The point cloud block mask and feature extraction process in S3 includes:
[0107] S3-1: Use the PointNet module to perform a preliminary feature extraction on the input point cloud block:
[0108]
[0109] Among them, FP represents the features of all point cloud blocks, and C represents the feature dimension;
[0110] S3-2: According to the input mask ratio m j , perform a preliminary masking operation on the features of all point cloud blocks to retain the features of the visible point cloud blocks:
[0111]
[0112] Mask represents the mask operation on the point cloud, FP vis Represents the features of visible point cloud blocks;
[0113] S3-3: Center point of visible point cloud block Extract features to obtain the center point features of visible point cloud blocks
[0114] S3-4: Use the TEncoder module to merge the input visible point cloud block and the center point of the point cloud block for further feature extraction and mining its inherent feature associations:
[0115]
[0116] Among them, F vis Represents the features of visible point cloud blocks;
[0117] S3-5: According to the mask ratio m j , the mask point cloud block can also be obtained and visible point cloud blocks
[0118]
[0119] The process of generating point cloud blocks in S4 includes:
[0120] S4-1: Randomly generate the required number of learnable generated point cloud blocks;
[0121] S4-2: Expand the features to obtain the expanded features of the generated point cloud block
[0122] The process of outputting the restored point cloud in S5 includes:
[0123] S5-1: Generate the feature F of the point cloud block mask Feature FP with visible point cloud blocks vis Merge to get the total features of the point cloud block
[0124] S5-2: For the center point of all point cloud blocks Extract features and get the features of all center points
[0125]
[0126] S5-3: The total feature FP of the point cloud block full Total feature FC with the center point of the point cloud block full Input to TDecoder module for decoding:
[0127] F = TDecoder(FP full ,FC full ),F∈R n×C , (13)
[0128] Where F represents the total feature of the decoded point cloud block. Then, the feature part of the restored point cloud block in the feature F is selected to obtain the feature of the restored point cloud block;
[0129] S5-4: Through a simple coordinate prediction module, the features of the restored point cloud block are regressed into the three-dimensional space to obtain the three-dimensional coordinates of the restored point cloud block
[0130] The loss function and neural network training process in S6 include:
[0131] S6-1: For each mask ratio m j , calculate the mask point cloud block P mask And restore the point cloud block P gen The chamfer distance L j :
[0132]
[0133] S6-2: Perform weighted summation on the chamfer distances calculated for different mask ratios to obtain the loss function of the parallel mask-restoration network:
[0134]
[0135] Among them, α j Represents the weight that the network assigns to the chamfer distance.
[0136] S6-3: Use this loss function to supervise the training of the parallel mask-recovery network.
[0137] The neural network testing phase process includes:
[0138] The rotation process in S7 includes:
[0139] S7-1: According to the requirements of the upsampling ratio, given multiple different rotation matrices {R1, R2, ..., R s},R∈R 3×3 , each process will select one of the matrices in sequence;
[0140] S7-2: Multiply the test point cloud by the rotation matrix to change the spatial posture of the test point cloud and obtain the input point cloud.
[0141] The process of generating dense point cloud in S9 includes:
[0142] S9-1: By transposing the aforementioned rotation matrix, the restored point cloud block output by S8 is returned to the posture of the original test point cloud to obtain the seed point cloud.
[0143] The process of generating dense point cloud in S10 includes:
[0144] S10-1: Repeat S8 and S9 according to the number of rotation matrices set in S7 to obtain s seed point clouds;
[0145] S10-2: Merge the s seed point clouds and then merge them with the test point cloud, thus obtaining a total of s×m j A dense point cloud of n×k+n points.
[0146] The process of outlier removal in S11 includes:
[0147] S11-1: For each generated up-sampled point p, calculate its v neighboring points and obtain {p1,p2,...,p v};
[0148] S11-2: Calculate the average distance d between p and its neighboring points p :
[0149]
[0150] S11-3: After calculating the average distance d of all points p Finally, take the average of these distances again to get the reference distance
[0151] S11-4: Given a threshold u, all the The points p are regarded as outliers and are removed through this module.
[0152] The upsampling point cloud generation process in S12 includes:
[0153] S12-1: Calculate the number of upsampling points n×r that need to be generated according to a given upsampling ratio;
[0154] S12-2: Downsample the dense point cloud obtained in S9 to n×r through the farthest point sampling algorithm.
[0155] Example:
[0156] The embodiment of the technical solution of the present invention provides a point cloud upsampling method based on a parallel mask-restoration network, and its process is as follows: Figure 1 and Figure 2 As shown, the following is a detailed explanation with examples:
[0157] Training phase:
[0158] (1) Conduct a preliminary experiment: Conduct a preliminary experiment and select multiple efficient mask ratios;
[0159] (2) Point cloud preprocessing: The point cloud is input into the neural network based on parallel mask recovery and preliminarily processed to obtain the divided point cloud blocks;
[0160] (3) Point cloud block masking and feature extraction: The point cloud block is masked according to the selected multiple mask ratios to obtain masked point cloud blocks and visible point cloud blocks. The feature extraction module is then used to further extract features from the visible point cloud blocks.
[0161] (4) Point cloud block generation processing: randomly generate the required point cloud blocks, and obtain the generated point cloud block features through the feature expansion module;
[0162] (5) Generation of restored point cloud blocks: Feature encoding is performed on the center points of all input point cloud blocks, and then the visible point cloud block features and the center point features are used to guide the generation of point cloud block restoration to obtain restored point cloud blocks;
[0163] (6) Loss function and network training: Calculate the chamfer distance between the restored point cloud block and the masked point cloud block, integrate all the results of the parallel mask-restore network and perform weighted summation, which is used as the loss function to supervise the neural network training;
[0164] Testing phase:
[0165] (7) Test point cloud posture transformation: Rotate the test point cloud according to a given rotation matrix to change the spatial posture of the test point cloud and obtain the input point cloud;
[0166] (8) Output of restored point cloud block: The input point cloud is imported into the trained single mask-recovery network and the restored point cloud block is output;
[0167] (9) Posture recovery: Rotate the recovered point cloud block and return it to the spatial posture of the test point cloud to obtain the seed point cloud;
[0168] (10) Dense point cloud generation: Select different rotation matrices, repeat steps 7 to 9, merge all seed point clouds and the initial test point cloud to obtain a dense point cloud;
[0169] (11) Outlier elimination: The outliers in the dense point cloud are eliminated through the outlier removal module;
[0170] (12) Upsampled point cloud output: The upsampled point cloud with the required upsample ratio is obtained by sampling the farthest point.
[0171] The above content is only a specific implementation method of this patent.
[0172] The algorithm of the present invention is applied to the upsampling of sparse point clouds with different upsampling ratios. The results are as follows: Figure 3 As shown, the annotations below the upsampled point cloud indicate the upsampling results of the point cloud at this upsampling ratio. Figure 4 ) It can be seen that the method of the present invention can well enhance the point cloud details and realize point cloud upsampling in real scenes.
Claims
1. A point cloud upsampling method based on parallel mask-restoration network, It is characterized in that The steps include: Step 1: Select the most efficient mask ratio through preliminary experiments; Step 2: Input the point cloud into the neural network based on parallel mask recovery and process it to obtain the divided point cloud blocks; Step 3: Extract features and mask the point cloud blocks according to the selected mask ratio to obtain masked point cloud blocks and visible point cloud blocks, and then further extract features from the visible point cloud blocks; Step 4: Randomly generate the required point cloud blocks and expand the features of the generated point cloud blocks; Step 5: The visible point cloud block features and the center points of all input point cloud blocks are used to guide the generation of point cloud block restoration to obtain the restored point cloud block; Step 6: Calculate the chamfer distance between the restored point cloud block and the masked point cloud block, integrate all the results of the parallel mask-restore network and perform weighted summation, and use it as the loss function to supervise the neural network training; Step 7: Rotate the test point cloud according to the given rotation matrix to change the spatial posture of the test point cloud and obtain the input point cloud; Step 8: Import the input point cloud into the trained neural network to generate the restored point cloud block; Step 9: Rotate the restored point cloud block and regress it to the spatial posture of the test point cloud to obtain the seed point cloud; Step 10: Select different rotation matrices, repeat steps 7 to 9, merge all seed point clouds and the initial test point cloud to obtain a dense point cloud; Step 11: Eliminate outliers in the dense point cloud through the outlier removal module; Step 12: Obtain the upsampled point cloud with the required upsampling ratio by sampling the farthest point.
2. A point cloud upsampling method based on a parallel mask-restoration network according to claim 1, It is characterized in that The preliminary experiment in step 1 includes: Step 1-1: Given a mask ratio set {0.1, 0.2, 0.3..., 0.9}; Step 1-2: For each mask ratio, input it into a single mask-recovery network test to obtain the mask ratio with the best recovery effect {m 1 ,m 2 ,...,m c }.
3. A point cloud upsampling method based on a parallel mask-restoration network according to claim 2, It is characterized in that The process of obtaining the divided point cloud blocks in step 2 includes: Step 2-1: Use the farthest point sampling algorithm to sample n seed points from the input point cloud; Step 2-2: Sampling K nearest neighbor algorithm, sampling with n seeds as the center point, generating n different point cloud blocks, each point cloud block contains k points, thus generating a set of n input point cloud blocks Among them, P i Represents each input point cloud block.
4. The point cloud upsampling method based on a parallel mask-restoration network according to claim 3, It is characterized in that In step 3, the process of feature extraction and masking of the point cloud block includes: Step 3-1: Use the PointNet module to extract features from the input point cloud block: Among them, FP represents the features of all point cloud blocks, and C represents the feature dimension; Step 3-2: According to the input mask ratio m j , perform mask operations on the features of all point cloud blocks and retain the features of visible point cloud blocks: Mask represents the mask operation on the point cloud, FP vis Represents the features of visible point cloud blocks; Step 3-3: Center point of visible point cloud block Extract features to obtain the center point features of the visible point cloud block Step 3-4: Use the TEncoder module to merge the input visible point cloud block and the center point of the point cloud block for further feature extraction and mining its inherent feature associations: Among them, F vis Represents the features of visible point cloud blocks; Step 3-5: According to the mask ratio m j , and the mask point cloud block is also obtained and visible point cloud blocks 5. A point cloud upsampling method based on a parallel mask-restoration network according to claim 4, It is characterized in that The step 4 is specifically as follows: Step 4-1: Randomly generate the required number of learnable generated point cloud blocks; Step 4-2: Expand its features to obtain the expanded features of the generated point cloud block 6. A point cloud upsampling method based on a parallel mask-restoration network according to claim 5, It is characterized in that The step 5 is specifically as follows: Step 5-1: Generate the feature F of the point cloud block mask Feature FP with visible point cloud blocks vis Merge to get the total features of the point cloud block Step 5-2: Center points of all point cloud blocks Extract features and get the features of all center points Step 5-3: FP the total feature of the point cloud block full Total feature FC with the center point of the point cloud block full Input to TDecoder module for decoding: F=TDecoder(FP full ,FC full ),F∈R n×C , (5) Where F represents the total feature of the decoded point cloud block, and then the feature part of the restored point cloud block in the feature F is selected to obtain the feature of the restored point cloud block; Step 5-4: Through the coordinate prediction module, the features of the restored point cloud block are regressed into the three-dimensional space to obtain the three-dimensional coordinates of the restored point cloud block 7. A point cloud upsampling method based on a parallel mask-restoration network according to claim 6, It is characterized in that The specific steps of step 6 are as follows: Step 6-1: For each mask ratio m j , calculate the mask point cloud block P mask And restore the point cloud block P gen The chamfer distance L j : Step 6-2: Perform weighted summation on the chamfer distances calculated for different mask ratios to obtain the loss function of the parallel mask-restoration network: Among them, α j Represents the weight given by the network to the chamfer distance; Step 6-3: Use this loss function to supervise the parallel mask-recovery network training.
8. A point cloud upsampling method based on a parallel mask-restoration network according to claim 7, It is characterized in that The step 7 is specifically as follows: Step 7-1: According to the requirements of the upsampling ratio, multiple different rotation matrices {R 1 ,R 2 ,...,R s },R∈R 3×3 , each process will select one of the matrices in sequence; Step 7-2: Multiply the test point cloud by the rotation matrix to change the spatial posture of the test point cloud and obtain the input point cloud.
9. A point cloud upsampling method based on a parallel mask-restoration network according to claim 8, It is characterized in that The process of generating the dense point cloud in step 10 includes: Step 10-1: Repeat steps 8 and 9 according to the number of rotation matrices set in step 7 to obtain s seed point clouds; Step 10-2: Merge the s seed point clouds and then merge them with the test point cloud, thus obtaining a total of s×m j A dense point cloud of n×k+n points.
10. A point cloud upsampling method based on a parallel mask-restoration network according to claim 9, It is characterized in that The step 11 is specifically as follows: Step 11-1: For each generated up-sampled point p, calculate its v neighboring points and obtain {p 1 ,p 2 ,...,p v }; Step 11-2: Calculate the average distance d between p and its neighboring points p : Step 11-3: After calculating the average distance d of all points p Finally, take the average of these distances again to get the reference distance Step 11-4: Given a threshold u, all the The points p are considered as outliers and are removed through this module; The step 12 is specifically as follows: Step 12-1: Calculate the number of upsampling points n×r that need to be generated according to the given upsampling ratio; Step 12-2: Downsample the dense point cloud obtained in step 9 to n×r through the farthest point sampling algorithm.
