Self-projection enhancement and implicit field constraint point cloud completion method, medium and equipment
Through the two-way sensing module of self-projection enhancement and implicit field constraints, the problem that point cloud completion methods in the existing technology are difficult to use self-projection views and noise reduction is solved, achieving high-quality point cloud completion and improving data accuracy. Completeness and detail performance.
Patent Information
- Application Number
- CN202410854182.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-01
AI Technical Summary
Existing point cloud completion methods are difficult to effectively utilize the relationship between self-projected views when processing residual point clouds, and lack effective noise reduction strategies, resulting in noise in the completion results and affecting the accuracy of the application.
A bidirectional sensing module using self-projection enhancement and implicit field constraints is used to generate coarse-grained point cloud completion through cross-view enhancement and cross-modal fusion, and iteratively removes noise through an implicit neural network to achieve accurate point cloud completion.
It improves the completeness and detailed performance of point cloud completion, effectively removes noise, accurately estimates the position coordinates of the complete three-dimensional point cloud, and significantly improves the accuracy and efficiency of data processing.
Smart Images

Figure CN118736170A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of point cloud completion, and more specifically to a point cloud completion method, medium and device with self-projection enhancement and implicit field constraint. Background Art
[0002] Point cloud data is usually acquired by laser scanners or other sensors, but the data may be incomplete due to occlusion, sensor error or environmental factors. Point cloud completion is a 3D data processing technology that is used to fill in the missing parts in point cloud data to obtain a more complete and accurate 3D model. Point cloud completion technology can be applied to a variety of fields, including autonomous driving, robot navigation, cultural relics protection, etc.
[0003] With the development of deep learning technology, point cloud completion technology has made great progress, but there are still some thorny problems that hinder the progress in this field:
[0004] (1) Viewpoint-guided point cloud completion methods require additional RGB images and corresponding camera parameters, which may not always be feasible in some scenarios. SVDFormer explores the potential of leveraging the self-projected views of residual point clouds to enhance the point cloud completion task. However, this method suffers from the ambiguous connection between the self-projected views, and further analysis of the relationship between the projected views is needed.
[0005] (2) Existing point cloud completion works largely follow a coarse-to-fine approach, fusing the generated coarse-grained complete point cloud with the input point cloud for secondary coordinate or offset prediction. However, existing methods have not fully explored the interaction between the structural information in the coarse-grained complete point cloud and the local detail information in the local point cloud.
[0006] (3) The goal of point cloud completion is to predict a complete, fine-grained, and noise-free point cloud, making it easily applicable to downstream applications such as virtual / augmented reality and industrial design. However, existing methods lack effective noise reduction strategies, which still leads to a small amount of noise in the completion results; even clean point clouds sampled from synthetic datasets are noisy, resulting in inaccurate supervision signals. Summary of the invention
[0007] In order to overcome the shortcomings and deficiencies in the prior art, the purpose of the present invention is to provide a point cloud completion method, medium and device with self-projection enhancement and implicit field constraints; the method adopts self-projection view technology, and enhances the integrity and detail expression of the completion result through a bidirectional perception refinement module, and effectively removes noise points in the generated point cloud by introducing implicit field constraints, so as to accurately estimate the position coordinates of the complete three-dimensional point cloud, thereby realizing accurate point cloud completion.
[0008] In order to achieve the above object, the present invention is implemented by the following technical solution: a point cloud completion method with self-projection enhancement and implicit field constraint, comprising the following two stages:
[0009] In the first stage, a coarse-grained point cloud P is generated based on self-projection enhancement. coarse ; Use bidirectional perception enhancement module to refine point cloud P coarse , and obtain the final refined point cloud P fine ;
[0010] And in the second stage, a fine-grained point cloud is generated using an implicit field constraint-based approach;
[0011] The first stage includes the following steps:
[0012] X1. Input residual cloud Pi n ; Pi the remaining flaws n Project along the orthogonal x, y and z axes respectively; residual cloud Pi n Remove the coordinates corresponding to the coordinate axis parallel to the projection direction from each 3D space point and degenerate into a 2D plane point; according to the remaining 2D coordinates, obtain the position of the 3D space point corresponding to the 2D plane, and use the removed coordinates as the relative depth value to form the depth map of the three perspectives
[0013] X2, using image encoder from depth map Extract features from
[0014] X3. Use the cross-view enhancement module to enhance the image features of each depth map and obtain the enhanced comprehensive view features f au ;
[0015] X4, using the 3D point cloud feature extraction network, from the residual point cloud P in Extract point cloud features f p ;
[0016] X5. Adopt cross-modal fusion module to fuse comprehensive view features through cross-attention mechanism au And point cloud features f p , and generate a multimodal global feature descriptor f′ by point-wise maximum pooling operation g , get the fused multimodal feature f pu ;
[0017] X6, multimodal feature f pu Input sparse point decoder to generate coarse-grained completion point cloud P coarse ;
[0018] X7, using bidirectional perception enhancement module to refine point cloud Pcoarse , and obtain the final refined point cloud P fine ;
[0019] The second stage refers to:
[0020] Input the refined point cloud P fine ; Use implicit neural network f(x, θ) to directly calculate the point cloud P fine The signed distance value and gradient of each spatial point are then sampled with a Gaussian distribution to form a series of 3D spatial points Q = {q i , i=1…k}; for each sampling point q i , the implicit neural network f(x, θ) calculates the signed distance value, and moves the distance corresponding to the signed distance value along the gradient direction to obtain the new spatial position q′ i ; Through iteration, point cloud P fine Continuously move from the noise position to the new spatial position until a high-quality output point cloud P is finally generated. fc .
[0021] Preferably, the step X3 comprises: first, the features of each depth map are Connect them together to create a composite view feature f c ; Then, in each depth map feature and the composite view feature f c A cross-attention mechanism is established between them, and the query q of the cross-attention mechanism is calculated i , key k and value matrix v, thus obtaining the enhanced view features f of each depth map ai , i=1,2,3:
[0022] q i =Conv2D(f i ); k = Conv2D(f c ); v = Conv2D(f c );
[0023] f′ ai =f i +Conv2D((v T softmax(k T qi)) T )
[0024] f ai =f′ ai +FFN(f′ ai )
[0025] Among them, Conv2D(·) represents a two-dimensional convolutional layer; FFN(·) represents a feed-forward network;
[0026] Finally, the enhanced view features of each depth map are connected to form an enhanced comprehensive view feature f au :
[0027] f au =Concat(f a1 , f a2 , f a3 )
[0028] Wherein, Concat(·) represents a concatenation operation.
[0029] Preferably, the step X7 comprises the following sub-steps:
[0030] Step X71, using a two-layer multi-layer perceptron to refine the point cloud P coarse Extract features from the matrix to get a feature matrix f′ coarse ; where the feature matrix f′ coarse Each row represents a point The characteristic f i ; Multimodal global feature descriptor f′ g Use two layers of multilayer perceptron 2 for processing to obtain the converted global feature f g ;
[0031] Step X72: transform the global feature f g With each point P i The characteristic f i Connect to get an enhanced point feature matrix f coarse ; For the input residual defect cloud P in , use EdgeConv module to extract local features f in ;
[0032] Step X73, the point feature matrix f coarse With the local feature f in The two-way perception enhancement module is sent together to calculate the final refined point cloud P fine .
[0033] Preferably, the sub-step X73 refers to:
[0034] First, a one-dimensional convolutional neural network is used to transform the point feature matrix f coarse and local features f in Perform convolution operation to obtain the point feature matrix f coarse Query Q c , key K c Sum value matrix V c , and the local feature f in Query Q in , key K in Sum value matrix Vin ; Then, matrix multiplication and softmax function are applied to calculate the coarse-grained completion point cloud P coarse Relative internal relations of c And the residual cloud P in Relative internal relations of in ;
[0035] Using relative internal relations I c and I in Enhance the residual cloud P in And the coarse-grained point cloud P coarse The features of the enhanced feature I rin and I rc ;
[0036] Using interpolation function to measure feature I rin and Feature I rc Interpolate and then transform the feature I rin and Feature I rc and the corresponding point feature matrix f coase and local features f in Connect them to get the enhanced feature f cp and f pc ;
[0037] For feature f cp and f pc , using the Transformer module to enhance point-level geometric perception and generate output features f dcp and f dpc ; Among them, the K-mask degradation function is used to achieve coarse-grained completion of the point cloud P coarse and the residual cloud Pi n The regions between them are aligned to generate the degraded point cloud pd eg ; Use the CD function to calculate the residual cloud Pi n and point cloud pd eg The point-level differences between them are embedded into the multi-head self-attention module through a sinusoidal position encoding function;
[0038] The output feature f dcp and f dpc Connection, use a multi-layer perceptron three to predict the coordinate offset ΔP, and act on the coarse-grained completion point cloud P coarse , generate a fine point cloud P fine .
[0039] Preferably, the point feature matrix f coarse Query Q c , key K c , value matrix V c and relative internal relations I c, and the local feature f in Query Q in , key K in Sum value matrix V in and relative internal relations I in The calculation formula is as follows:
[0040]
[0041] Among them, Conv1D(·) represents a one-dimensional convolutional layer.
[0042] Preferably, the enhanced feature I rin and I rc They are:
[0043]
[0044] Preferably, in the second stage, the new spatial position q′ i The displacement formula is as follows:
[0045]
[0046] in, Represents the gradient vector of the computation function.
[0047] A readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the point cloud completion method with self-projection enhancement and implicit field constraints.
[0048] A computer device comprises a processor and a memory for storing a program executable by the processor, wherein when the processor executes the program stored in the memory, the point cloud completion method of self-projection enhancement and implicit field constraint is implemented.
[0049] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0050] 1. The present invention creates a point cloud completion method based on self-projection view enhancement and implicit field constraints. This method uses the residual point cloud as input and can accurately estimate the position coordinates of the complete three-dimensional point cloud, thereby achieving accurate point cloud completion;
[0051] 2. The present invention uses self-projection views to assist the point cloud completion task; experimental results show that even if the input point cloud is incomplete, its self-projection view can still help understand the shape of the point cloud, which is consistent with the conclusion of SVDFrormer; different from SVDFrormer, the self-projection view enhancement strategy of the present invention combines the cross-view enhancement (CVA) and cross-modal fusion (CMF) modules, which promote information interaction and fusion at the image and modality levels respectively;
[0052] 3. In order to further refine the completion results and make full use of the complete structural information of the coarse-grained point cloud and the detailed information of the partial input, the present invention introduces a bidirectional perception module; the bidirectional perception module improves the details and completeness of the detail perception from complete to partial and from partial to complete structural perception pathways;
[0053] 4. Unlike existing point cloud completion methods that use additional normal constraints or design more complex loss functions for supervision, the present invention reduces noise through self-learning implicit field constraints, directly learns implicit implicit surfaces from point clouds, and effectively draws outliers onto approximate surfaces; this scheme can accurately capture the signed distance value of the point cloud, and can draw any point by predicting the signed distance value of the surface and the corresponding gradient. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 It is a flowchart of the point cloud completion method with self-projection enhancement and implicit field constraint of the present invention;
[0055] FIG. 2( a ) and FIG. 2( b ) are flowcharts of cross-view enhancement and cross-modal fusion of the point cloud completion method with self-projection enhancement and implicit field constraint, respectively;
[0056] Figure 3 It is a flowchart of bidirectional perception enhancement of the point cloud completion method of the present invention with self-projection enhancement and implicit field constraint;
[0057] Figure 4 It is a flowchart of implicit field constraint processing of the point cloud completion method of the present invention with self-projection enhancement and implicit field constraint;
[0058] Figure 5 This is a qualitative comparison diagram of the point cloud completion effect on the PCN dataset between the self-projection enhanced and implicit field constrained point cloud completion method of the present invention and the existing method. DETAILED DESCRIPTION
[0059] The present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0060] Embodiment 1
[0061] This embodiment provides a point cloud completion method with self-projection enhancement and implicit field constraints, such as Figure 1 As shown, it includes the following two stages:
[0062] In the first stage, a coarse-grained point cloud P is generated based on self-projection enhancement. coarse ; Use bidirectional perception enhancement module to refine point cloud P coarse , and obtain the final refined point cloud P fine ;
[0063] And in the second stage, a self-learning implicit field constraint-based approach is used to generate fine-grained point clouds.
[0064] The present invention can accurately reconstruct a complete, highly detailed and noise-free three-dimensional point cloud by taking the residual point cloud as input. In order to improve the quality of the completed point cloud, the method adopts the self-projection view technology and enhances the completeness and detail performance of the completed result through a bidirectional perception refinement module. In addition, by introducing implicit field constraints, the noise in the generated point cloud is effectively removed. The development of this technology is of great significance to the fields of industrial design and industrial measurement because it significantly improves the accuracy and efficiency of data processing.
[0065] Specifically, the first stage includes the following steps:
[0066] X1. Input residual cloud P in ; The residual cloud P in Project along the orthogonal x, y and z axes respectively; the residual cloud P in Remove the coordinates corresponding to the coordinate axis parallel to the projection direction from each 3D space point and degenerate into a 2D plane point; according to the remaining 2D coordinates, obtain the position of the 3D space point corresponding to the 2D plane, and use the removed coordinates as the relative depth value to form the depth map of the three perspectives
[0067] X2, use image encoder (using ResNet-18) from depth map Extract features from
[0068] X3. In order to explicitly construct the association between depth maps, the present invention adopts a cross-view enhancement (CVA) module to enhance the image features of each depth map to obtain an enhanced comprehensive view feature f au .
[0069] Specifically, first, the features of each depth map are Connect them together to create a composite view feature f c ; Then, in each depth map feature and the composite view feature f c A cross-attention mechanism is established between them, and the query q of the cross-attention mechanism is calculated i , key k and value matrix v, thus obtaining the enhanced view features f of each depth map ai ,i=1,2,3:
[0070] q i =Conv2D(f i ); k = Conv2D(f c ); v = Conv2D(f c );
[0071] f′ ai =f i +Conv2D((v T softmax(kTq i )) T )
[0072] f ai =f′ a i+FFN(f′ ai )
[0073] Among them, Conv2D(·) represents a two-dimensional convolutional layer; FFN(·) represents a feed-forward network;
[0074] Finally, the enhanced view features of each depth map are connected to form an enhanced comprehensive view feature f au :
[0075] f au =Concat(f a1 , f a2 , f a3 )
[0076] Where Concat(·) represents the concatenation operation. Figure 2(a) shows the enhancement process of the feature f1 of the depth map.
[0077] X4. Using the 3D point cloud feature extraction network PointNet++, we can extract the feature from the residual point cloud Pi n Extract point cloud features f p .
[0078] X5. Adopt the cross-modal fusion (CMF) module to fuse the comprehensive view features f through the cross-attention mechanism au And point cloud features f p , and generate a multimodal global feature descriptor f′ by point-wise maximum pooling operation g , get the fused multimodal feature f pu , as shown in Figure 2(b).
[0079] X6, multimodal feature f pu Input sparse point decoder to generate coarse-grained completion point cloud P coarse .
[0080] X7, using the bidirectional perception enhancement module (bar) to refine the point cloud P coarse , and obtain the final refined point cloud P fine .
[0081] like Figure 3 As shown, step X7 includes the following sub-steps:
[0082] Step X71, using a two-layer multi-layer perceptron (MLP) to refine the point cloud P coarse Extract features from the matrix to get a feature matrix f′ coarse ; where the feature matrix f′ coarse Each row represents a point The characteristic f i ; Multimodal global feature descriptor f′ g Use two layers of multi-layer perceptron (MLP) to process and obtain the converted global feature f g .
[0083] Step X72: transform the global feature f g With each point P i The characteristic f i Connect to get an enhanced point feature matrix f coarse ; For the input residual defect cloud P in , use EdgeConv module to extract local features f in .
[0084] Step X73, the point feature matrix f coarse With the local feature f in The two-way perception enhancement module is sent together to calculate the final refined point cloud P fine .
[0085] Sub-step X73 refers to:
[0086] First, a one-dimensional convolutional neural network is used to transform the point feature matrix f coarse and local features f in Perform convolution operation to obtain the point feature matrix f coarse Query Q c , key K c Sum value matrix V c , and the local feature f in Query Q in , key K in Sum value matrix V in ; Then, matrix multiplication and softmax function are applied to calculate the coarse-grained completion point cloud P coarse Relative internal relations of c And the residual cloud P in Relative internal relations of in , including global and partial internal relations; point feature matrix f coarse Query Q c , key K c , value matrix V c and relative internal relations I c , and the local feature f in Query Q in , key Kin Sum value matrix V in and relative internal relations I in The calculation formula is as follows:
[0087]
[0088] Among them, Conv1D(·) represents a one-dimensional convolutional layer;
[0089] Using relative internal relations I c and I in Enhance the residual cloud P in And the coarse-grained point cloud P coarse The features of the enhanced feature I rin and I rc :
[0090]
[0091] Use PyTorch’s built-in interpolation function to interpolate feature I rin and Feature I rc Interpolate and then transform the feature I rin and Feature I rc and the corresponding point feature matrix f coase and local features f in Connect them to get the enhanced feature f cp and f pc ;
[0092] For feature f cp and f pc , using the sensitivity-enhanced Transformer module to enhance point-level geometric perception and generate output features f dcp and f dpc ; Among them, the K-mask degradation function is used to achieve coarse-grained completion of the point cloud P coarse And the residual cloud P in The regions between them are aligned to generate the degraded point cloud p deg ; Use the CD function with a scale factor of 0.2 to calculate the residual cloud Pi n and point cloud pd eg The point-level differences between them are embedded into the multi-head self-attention module through the sinusoidal position encoding (SPE) function to provide spatial features for the model;
[0093] The output feature f dcp and f dpc Connection, use a multi-layer perceptron three to predict the coordinate offset ΔP, and act on the coarse-grained completion point cloud P coarse , generate a fine point cloud P fine .
[0094] The second stage refers to:
[0095] Y1. Input the refined point cloud P fine ; Use implicit field constraint technology to reduce point cloud P fine Noise, such as Figure 4 As shown. Using implicit neural network f(x, θ) to directly calculate point cloud P fine The signed distance function and gradient of each spatial point are then sampled with a Gaussian distribution to form a series of 3D spatial points Q = {q i , i=1…k}; for each sampling point q i , the implicit neural network f(x, θ) calculates the signed distance value, and moves the distance corresponding to the signed distance value along the gradient direction to obtain the new spatial position q′ i , the displacement formula is as follows:
[0096]
[0097] in, Represents the gradient vector of the calculation function;
[0098] The displacement of the spatial point is differentiable with respect to the signed distance value and its gradient, so it can be directly optimized during training. As the iteration process proceeds, the noise points in the space gradually decrease, and the point cloud P fine Continuously move from the noise position to the new spatial position until a high-quality output point cloud P is finally generated. fc .
[0099] Compared with the existing technology, the advantages of the present invention are that the generated point cloud is excellent in both overall integrity and local details, and the noise in the generated point cloud is effectively reduced, showing its potential for practical application.
[0100] In order to verify the effectiveness of the method, the present invention selected ten methods for quantitative comparison, including the classical method and the SOTA method of the same period, and the results are shown in Table 1. It can be seen that the method of the present invention achieved the best results in the seven categories of the PCN data set. Although it did not achieve the best results on the table lamp data, the results were very close, and on the CD-l1 index, it only lagged behind the highest performance by 0.03. In addition, the present invention also used three widely used indicators: CD-l1, DCD and F-score to conduct a comprehensive evaluation of the method of the present invention, in which the method of the present invention is always better than the previous method. Compared with the latest method SVDFrormer, the method of the present invention improved by 0.11, 0.015 and 0.009 on CD-l1, DCD and f-score indicators respectively.
[0101] Table 1 Quantitative comparison on PCN dataset
[0102]
[0103] like Figure 5 The qualitative results shown clearly demonstrate that Transformer-based methods (PoinTr, Seedformer, SVDFormer, and Ours) significantly outperform earlier methods such as PCN and TopNet. However, these methods also exhibit a certain degree of noise, as indicated by the dashed circle. This is mainly due to two reasons: 1) the lack of effective noise constraint methods, and 2) the noise present in the real point cloud leads to inaccurate supervision signals. In contrast, the proposed method effectively mitigates the noise by pulling it towards the approximate surface.
[0104] Embodiment 2
[0105] This embodiment provides a readable storage medium, wherein the readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the point cloud completion method with self-projection enhancement and implicit field constraints described in the first embodiment.
[0106] Embodiment 3
[0107] This embodiment provides a computer device, including a processor and a memory for storing a program executable by the processor. When the processor executes the program stored in the memory, the point cloud completion method with self-projection enhancement and implicit field constraints described in the first embodiment is implemented.
[0108] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.
Claims
1. A point cloud completion method with self-projection enhancement and implicit field constraints, characterized by: It includes the following two stages: In the first stage, a coarse-grained point cloud P is generated based on self-projection enhancement. coarse ; Use the bidirectional perception enhancement module to refine the point cloud P coarse , and obtain the final refined point cloud P fine ; And in the second stage, a fine-grained point cloud is generated using an implicit field constraint-based approach; The first stage includes the following steps: X1. Input residual cloud P in ; The residual cloud P in Project along the orthogonal x, y and z axes respectively; the residual cloud P in Remove the coordinates corresponding to the coordinate axis parallel to the projection direction from each 3D space point and degenerate into a 2D plane point; according to the remaining 2D coordinates, obtain the position of the 3D space point corresponding to the 2D plane, and use the removed coordinates as the relative depth value to form the depth map of the three perspectives X2, using image encoder from depth map Extract features from X3. Use the cross-view enhancement module to enhance the image features of each depth map and obtain the enhanced comprehensive view features f au ; X4, using the 3D point cloud feature extraction network, from the residual point cloud P in Extract point cloud features f p ; X5. Adopt cross-modal fusion module to fuse comprehensive view features through cross-attention mechanism au And point cloud features f p , and generate a multimodal global feature descriptor f by point-wise maximum pooling operation g ′, get the fused multimodal feature f pu ; X6, multimodal feature f pu Input sparse point decoder to generate coarse-grained completion point cloud P coarse ; X7, using bidirectional perception enhancement module to refine point cloud P coarse , and obtain the final refined point cloud P fine ; The second stage refers to: Input the refined point cloud P fine ; Use implicit neural network f(x,θ) to directly calculate the point cloud P fine The signed distance value and gradient of each spatial point are then sampled with a Gaussian distribution to form a series of 3D spatial points Q = {q i , i=1…k}; for each sampling point q i , the implicit neural network f(x,θ) calculates the signed distance value, and moves the distance corresponding to the signed distance value along the gradient direction to obtain the new spatial position q′ i ; Through iteration, the point cloud P fine Continuously move from the noise position to the new spatial position until a high-quality output point cloud P is finally generated. fc .
2. The point cloud completion method with self-projection enhancement and implicit field constraint according to claim 1, characterized in that: The step X3 is as follows: first, the features of each depth map are Connect them together to create a composite view feature f c ; Then, in each depth map feature and the composite view feature f c A cross-attention mechanism is established between them, and the query q of the cross-attention mechanism is calculated i , key k and value matrix v, thus obtaining the enhanced view features f of each depth map ai ,i=1,2,3: q i =Conv2D(f i );k=Conv2D(f c );v=Conv2D(f c ); f′ ai =f i +Conv2D((v T softmax(k T q i )) T ) f ai =f′ ai +FFN(f′ ai ) Among them, Conv2D(·) represents a two-dimensional convolutional layer; FFN(·) represents a feed-forward network; Finally, the enhanced view features of each depth map are connected to form an enhanced comprehensive view feature f au : f au =Concat(f a1 ,f a2 ,f a3 ) Wherein, Concat(·) represents a concatenation operation.
3. The point cloud completion method with self-projection enhancement and implicit field constraint according to claim 1, characterized in that: The step X7 comprises the following sub-steps: Step X71, using a two-layer multi-layer perceptron to refine the point cloud P coarse Extract features from the matrix to get a feature matrix f′ coarse ; The feature matrix f′ coarse Each row represents a point The characteristic f i ; Multimodal global feature descriptor f′ g Use two layers of multilayer perceptron 2 for processing to obtain the converted global feature f g ; Step X72: transform the global feature f g With each point P i The characteristic f i Connect to get an enhanced point feature matrix f coarse ; For the input residual defect cloud P in , use EdgeConv module to extract local features f in ; Step X73, the point feature matrix f coarse With the local feature f in The two-way perception enhancement module is sent together to calculate the final refined point cloud P fine .
4. The point cloud completion method with self-projection enhancement and implicit field constraint according to claim 3, characterized in that: The sub-step X73 refers to: First, a one-dimensional convolutional neural network is used to transform the point feature matrix f coarse and local features f in Perform convolution operation to obtain the point feature matrix f coarse Query Q c , key K c Sum value matrix V c , and the local feature f in Query Q in , key K in Sum value matrix V in ; Then, matrix multiplication and softmax function are applied to calculate the coarse-grained completion point cloud P coarse Relative internal relations of c And the residual cloud P in Relative internal relations of in ; Using relative internal relations I c and I in Enhance the residual cloud P in And the coarse-grained point cloud P coarse The features of the enhanced feature I rin and I rc ; Using interpolation function to measure feature I rin and Feature I rc Interpolate and then transform the feature I rin and Feature I rc and the corresponding point feature matrix f coase and local features f in Connect them to get the enhanced feature f cp and f pc ; For feature f cp and f pc , using the Transformer module to enhance point-level geometric perception and generate output features f dcp and f dpc ; Among them, the K-mask degradation function is used to achieve coarse-grained completion of the point cloud P coarse And the residual cloud P in The regions between them are aligned to generate the degraded point cloud p deg ; Use CD function to calculate residual cloud P in and point cloud p deg The point-level differences between them are embedded into the multi-head self-attention module through a sinusoidal position encoding function; The output feature f dcp and f dpc Connection, use a multi-layer perceptron three to predict the coordinate offset ΔP, and act on the coarse-grained completion point cloud P coarse , generate a fine point cloud P fine .
5. The point cloud completion method with self-projection enhancement and implicit field constraint according to claim 4, characterized in that: The point feature matrix f coarse Query Q c , key K c , value matrix V c and relative internal relations I c , and the local feature f in Query Q in , key K in Sum value matrix V in and relative internal relations I in The calculation formula is as follows: Among them, Conv1D(·) represents a one-dimensional convolutional layer.
6. The point cloud completion method with self-projection enhancement and implicit field constraint according to claim 4, characterized in that: The enhanced feature I rin and I rc They are:
7. The point cloud completion method with self-projection enhancement and implicit field constraint according to claim 1, characterized in that: In the second stage, the new spatial position q′ i The displacement formula is as follows: in, Represents the gradient vector of the computation function.
8. A readable storage medium, characterized in that: The storage medium stores a computer program, which, when executed by a processor, enables the processor to execute the point cloud completion method with self-projection enhancement and implicit field constraints as described in any one of claims 1 to 7.
9. A computer device comprising a processor and a memory for storing a program executable by the processor, characterized in that: When the processor executes the program stored in the memory, the point cloud completion method with self-projection enhancement and implicit field constraints described in any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Controllable point cloud completion method and system based on large model prior
CN120236016A
A controllable point cloud completion method and system based on large model prior
CN120236016B
