Point cloud up-sampling method based on local surface adaptive probability sampling
By acquiring the local geometric features and global structural features of sparse point clouds, and combining density modulation and probability sampling modules, the sampling range is dynamically adjusted to generate high-quality dense point clouds. This solves the problem of insufficient point cloud sampling in existing technologies and achieves local detail restoration and improved surface continuity.
Patent Information
- Application Number
- CN202611162061.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-03
- Publication Date
- 2026-11-27
AI Technical Summary
Existing point cloud upsampling methods cannot establish adaptive capabilities under local surface constraints and cannot dynamically adjust the sampling range, resulting in insufficient local detail recovery, a large number of outliers, and poor surface continuity in the generated point clouds.
By acquiring the coordinates and local geometric features of sparse point clouds, an interpolated point cloud is constructed to extract global structural features. Density modulation weights are introduced and spliced together. A probability sampling module is used to generate parameter coordinates in a two-dimensional local parameter space, and then the reparameterization technique is used to map them back to three-dimensional space, gradually refining and generating dense point clouds.
It significantly improves the ability to restore local details of point clouds and the uniformity of point cloud distribution, reduces points away from the surface, and generates point clouds that closely fit the real surface of objects, meeting the high-precision requirements of scenarios such as autonomous driving and 3D reconstruction.
Smart Images

Figure CN123181705A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of point cloud processing, and in particular to a point cloud upsampling method based on local surface adaptive probability sampling. Background Technology
[0002] Point clouds, as an important data representation of 3D spatial targets, are widely used in fields such as autonomous driving, robot navigation, digital twins, 3D reconstruction, and augmented reality. However, due to factors such as sensor resolution, acquisition distance, environmental occlusion, and measurement noise, the actual acquired point cloud data often suffers from low point density, uneven distribution, and missing local details, severely affecting the accuracy of subsequent tasks such as 3D reconstruction, target recognition, and scene understanding. Therefore, point cloud upsampling technology, as an important means to improve point cloud quality, has received widespread attention in recent years. Existing point cloud upsampling methods mainly include three categories: feature space expansion methods, iterative generation methods, and surface parameterization methods. Feature space expansion methods learn the mapping relationship from sparse point clouds to dense point clouds through neural networks, realizing point feature expansion and coordinate reconstruction; iterative generation methods model point cloud upsampling as a step-by-step generation or optimization process, continuously improving point cloud quality through multiple iterations; surface parameterization methods establish local parametric surfaces, and after sampling in the parameter space, map it back to 3D space, making the generated points more consistent with the local surface structure.
[0003] However, the aforementioned methods still have certain limitations. Feature space expansion methods typically use deterministic coordinate regression to generate new points, which is insufficient to fully describe the uncertainty of local geometry and is prone to generating out-of-surface points in high-curvature regions. Iterative generation methods, while achieving better generation results, require multiple iterations of reasoning, resulting in high computational complexity, and the generated results are highly dependent on the initial point distribution. Surface parameterization methods, although capable of generating point clouds using local surface constraints, mostly employ fixed sampling strategies or deterministic sampling methods, lacking the ability to adaptively model local geometric changes. They struggle to dynamically adjust the sampling range according to the geometric complexity of different regions, leading to problems such as insufficient local detail recovery, numerous outliers, and poor surface continuity in the generated point clouds. Therefore, establishing an adaptive probabilistic sampling mechanism under local surface constraints, enabling the sampling range to dynamically adjust with local geometry, and improving local detail recovery and point cloud distribution uniformity while reducing out-of-surface points, has become a pressing technical problem for those skilled in the art. Summary of the Invention
[0004] In view of this, this application provides a point cloud upsampling method based on local surface adaptive probabilistic sampling. The main purpose is to solve the technical problems of existing point cloud upsampling methods that cannot establish an adaptive probabilistic sampling mechanism under local surface constraints, cannot dynamically adjust the sampling range with the local geometric structure, and cannot improve the local detail recovery ability and point cloud distribution uniformity while reducing the number of out-of-surface points.
[0005] This application provides a point cloud upsampling method based on local surface adaptive probability sampling, the method comprising: Step 101: Obtain sparse point cloud, extract the coordinates and local geometric features of the sparse point cloud, and extract global structural features by constructing interpolated point cloud; Step 102: Obtain density modulation weights, and modulate the local geometric features using the density modulation weights; Step 103: Combine and fuse the coordinates of the sparse point cloud, the modulated local geometric features, and the global structural features to generate a joint feature of the sparse point cloud; Step 104: Input the joint features of the sparse point cloud into the initial probability sampling upsampling module to obtain the intermediate coarse point cloud; wherein, the method for obtaining the parameter coordinates in the initial probability sampling upsampling module is: sampling random noise from a standard Gaussian distribution and transforming it into parameter coordinates through a reparameterization technique; Step 105: Replace the parameter coordinates of the initial probability sampling upsampling module with the mean of a Gaussian distribution to obtain the refined probability sampling upsampling module; Step 106: Obtain the joint features of the intermediate coarse point cloud, and input the joint features of the intermediate coarse point cloud into the fine probabilistic sampling upsampling module to obtain a dense point cloud; Step 107: Use the dense point cloud as a new intermediate coarse point cloud, obtain its joint features and input them into the next level of fine probabilistic sampling upsampling module. After being processed by a preset number of fine probabilistic sampling upsampling modules in series, the target dense point cloud is obtained.
[0006] Optionally, the training method for the initial probability sampling upsampling module includes: Construct probability distribution prediction branches and surface parameter prediction branches; The joint features of the sparse point cloud are input into the probability distribution prediction branch to predict a conditional Gaussian distribution in a two-dimensional local parameter space, and parameter coordinates are generated by random sampling. The joint features are input into the surface parameter prediction branch to obtain the predicted bicubic surface coefficients; The height value corresponding to the parameter coordinates is calculated based on the predicted bicubic surface coefficients, and an intermediate rough point cloud is generated using the height value and the parameter coordinates.
[0007] Optionally, the step of inputting joint features into the probability distribution prediction branch to predict a conditional Gaussian distribution in a two-dimensional local parameter space and generating parameter coordinates through random sampling includes: Predict the mean vector in a two-dimensional local parameter space; Predict the two-dimensional scaling vector, construct a diagonal matrix, and multiply the diagonal matrix with its transpose to obtain the covariance matrix; A conditional Gaussian distribution is defined based on the mean vector and the covariance matrix; Random noise is sampled from a standard Gaussian distribution; By employing reparameterization techniques, the random noise is transformed into two-dimensional parametric coordinates using the mean vector and the covariance matrix.
[0008] Optionally, the step of calculating the height value corresponding to the parameter coordinates based on the predicted bicubic surface coefficients, and generating an intermediate coarse point cloud using the height value and the parameter coordinates, includes: The coefficients of the bicubic surface are expressed using bicubic polynomials; Using the parameter coordinates as independent variables, and substituting them into the bicubic polynomial, the height value corresponding to the parameter coordinates is calculated. The parameter coordinates and the height value constitute a three-dimensional local coordinate system in the parameter space. The three-dimensional local coordinates are mapped back to three-dimensional space to generate an intermediate rough point cloud.
[0009] Optionally, the step of mapping the three-dimensional local coordinates back to three-dimensional space to generate an intermediate coarse point cloud includes: The joint features of the sparse point cloud are input into the surface parameter prediction branch to obtain the prediction rotation matrix from the local parameter coordinate system to the three-dimensional spatial coordinate system. The three-dimensional local coordinates are transformed by a rotation matrix and then added to the coordinates of the sparse point cloud to obtain the generated intermediate coarse point cloud.
[0010] Optionally, the steps of extracting the coordinates and local geometric features of the sparse point cloud and extracting global structural features by constructing an interpolated point cloud include: The sparse point cloud is input into a multilayer perceptron to obtain the local feature vector of each sparse point as a local geometric feature. The sparse point cloud includes multiple sparse points, and the K nearest neighbors of each sparse point are searched. Based on the connection between each sparse point and its corresponding K nearest neighbors, obtain the midpoint of the connection; The set of midpoints corresponding to all sparse points is used as the interpolated point cloud; The interpolated point cloud is input into the point transformer encoding network to obtain the point-level geometric features of each interpolated point cloud; The point-level geometric features of each interpolated point cloud are aggregated by max pooling to obtain a global feature vector as the global structural feature.
[0011] Optionally, the step of obtaining density modulation weights and modulating the local geometric features using the density modulation weights includes: Calculate the reciprocal of the squared mean of the distances between each sparse point and its K nearest neighbors, and use this as the local density; The local density is normalized based on the global maximum density and the global minimum density to obtain the density modulation weight; The density modulation weights and the local geometric features are spliced and fused together to obtain the modulated local geometric features.
[0012] This application provides a point cloud upsampling method based on local surface adaptive probability sampling. The method includes: Step 101: acquiring a sparse point cloud, extracting the coordinates and local geometric features of the sparse point cloud, and extracting global structural features by constructing an interpolated point cloud; Step 102: obtaining density modulation weights, and modulating the local geometric features using the density modulation weights; Step 103: concatenating and fusing the coordinates of the sparse point cloud, the modulated local geometric features, and the global structural features to generate a joint feature of the sparse point cloud; Step 104: inputting the joint feature of the sparse point cloud into an initial probability sampling upsampling module to obtain an intermediate coarse point cloud; wherein, the initial probability sampling upsampling module obtains... The method for obtaining parameter coordinates is as follows: random noise is sampled from a standard Gaussian distribution and transformed into parameter coordinates using a reparameterization technique; Step 105: the parameter coordinates of the initial probability sampling upsampling module are replaced with the mean of the Gaussian distribution to obtain a refined probability sampling upsampling module; Step 106: the joint features of the intermediate coarse point cloud are obtained and input into the refined probability sampling upsampling module to obtain a dense point cloud; Step 107: the dense point cloud is used as a new intermediate coarse point cloud, its joint features are obtained and input into the next level refined probability sampling upsampling module, and after being processed by a preset number of refined probability sampling upsampling modules in series, the target dense point cloud is obtained. This application extracts and fuses the overall contour features and local detail features of point clouds, enabling the model to grasp both the overall structure of an object and accurately capture its local shape. Simultaneously, a density-aware mechanism is introduced, allowing the model to automatically focus on sparse or anomalous point distribution areas, effectively improving its ability to handle uneven data. When generating point clouds, a multi-level progressive refinement structure is employed, first randomly exploring to generate a rough contour, then precisely locating and generating dense details. This significantly improves the ability to recover details in complex areas and the smoothness and continuity of the point cloud surface. Furthermore, by constructing an adaptive probability distribution model, the model can automatically adjust the sampling range according to the curvature complexity of the object's surface. Combined with a local surface model that closely fits the real surface, the generated points are accurately mapped back to 3D space, ensuring that the newly generated points closely conform to the object's real surface. This effectively reduces erroneous points that deviate from the surface, thereby significantly improving the quality and accuracy of point cloud upsampling. This approach can well meet the high-precision 3D data requirements of scenarios such as autonomous driving and 3D reconstruction.
[0013] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description
[0014] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings: Figure 1 A flowchart illustrating a point cloud upsampling method based on local surface adaptive probability sampling provided in an embodiment of this application is shown. Figure 2 This paper illustrates a schematic diagram of the application process of the point cloud upsampling method based on local surface adaptive probability sampling provided in an embodiment of this application. Figure 3 A schematic diagram of the structure of the initial probability sampling upsampling module provided in an embodiment of this application is shown. Detailed Implementation
[0015] The present application will be described in detail below with reference to the accompanying drawings and embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in the embodiments of the present application can be combined with each other.
[0016] Point clouds are collections of numerous points in three-dimensional space used to describe the surface shape of objects or scenes. In many applications such as autonomous driving, robot navigation, 3D reconstruction, and augmented reality, devices collect point cloud data of the surrounding environment using sensors such as LiDAR or depth cameras. However, due to limitations in sensor physical resolution, excessive acquisition distance, environmental occlusion, and measurement noise, the actual point clouds collected are usually sparse, with large gaps between points and uneven distribution in local areas, leading to the loss of subtle geometric features of the object's surface (such as edges, corners, and surface curvature). To improve this, point cloud upsampling techniques have been introduced. The goal is to generate new points reasonably between existing sparse point clouds, making the point cloud denser and thus more accurately reproducing the true shape of the object's surface. An ideal upsampling method should interpolate uniformly in flat areas and generate enough points according to the surface curvature in curved or detailed areas to present fine structures, while avoiding the generation of outliers that are detached from the actual surface.
[0017] In existing technologies, point cloud upsampling methods mainly fall into three categories: one is to perform mapping expansion in the feature space, learning the mapping relationship from sparse point clouds to dense point clouds through neural networks, and directly regressing to generate the 3D coordinates of new points; another is to iteratively optimize the point cloud, fine-tuning the current point cloud in each iteration, and gradually approximating the ideal surface after multiple iterations; and the third is to establish a parametric surface locally, sample in the surface parameter space, and then map back to 3D space. However, all of the above methods have obvious drawbacks. The first type of method uses a deterministic coordinate regression approach, generating a fixed number and fixed position of new points for each input point. When the curvature of the local surface is large, the regressed new points are prone to deviating from the real surface, forming out-of-surface points, and cannot reflect the inherent uncertainty of the local geometric structure. Although the second type of method generates better quality, multiple iterations lead to a significant increase in computational load and slow inference speed. At the same time, its final effect is highly dependent on the distribution of the initial point cloud. When the initial point distribution is uneven, the generated result will further amplify this unevenness. While the third type of method introduces geometric constraints on local surfaces, most existing schemes employ fixed sampling strategies or deterministic sampling, lacking the ability to perceive and adaptively adjust to changes in local geometric complexity. This means that the same sampling range and density are used in both high-curvature and low-curvature regions, resulting in insufficient recovery of details in high-curvature regions and the potential for redundant or noisy points in low-curvature regions. Consequently, the generated point cloud still falls short of practical application requirements in terms of local detail restoration, surface continuity, and global uniformity. Therefore, establishing a mechanism that can perceive geometric complexity and dynamically adjust sampling behavior under local surface constraints is a pressing technical challenge that needs to be addressed.
[0018] In one embodiment, such as Figure 1 As shown, a point cloud upsampling method based on local surface adaptive probability sampling is provided, including the following steps: Step 101: Obtain sparse point cloud, extract the coordinates and local geometric features of the sparse point cloud, and extract global structural features by constructing interpolated point cloud; Step 102: Obtain density modulation weights, and modulate the local geometric features using the density modulation weights; Step 103: Combine and fuse the coordinates of the sparse point cloud, the modulated local geometric features, and the global structural features to generate a joint feature of the sparse point cloud; Step 104: Input the joint features of the sparse point cloud into the initial probability sampling upsampling module to obtain the intermediate coarse point cloud; wherein, the method for obtaining the parameter coordinates in the initial probability sampling upsampling module is: sampling random noise from a standard Gaussian distribution and transforming it into parameter coordinates through a reparameterization technique; Step 105: Replace the parameter coordinates of the initial probability sampling upsampling module with the mean of a Gaussian distribution to obtain the refined probability sampling upsampling module; Step 106: Obtain the joint features of the intermediate coarse point cloud, and input the joint features of the intermediate coarse point cloud into the fine probabilistic sampling upsampling module to obtain a dense point cloud; Step 107: Use the dense point cloud as a new intermediate coarse point cloud, obtain its joint features and input them into the next level of fine probabilistic sampling upsampling module. After being processed by a preset number of fine probabilistic sampling upsampling modules in series, the target dense point cloud is obtained.
[0019] In the above embodiments, sparse point cloud refers to a collection of sparsely distributed points in three-dimensional space, collected from a real scene by sensors such as LiDAR, depth cameras, or 3D scanners. Each point contains its three-dimensional spatial position information in a three-dimensional coordinate system, namely, x, y, and z coordinate values. Due to factors such as sensor physical resolution, acquisition distance, and environmental occlusion, the spacing between points in sparse point cloud is relatively large, and the number of points in a local area is insufficient to completely describe the geometry of the object's surface.
[0020] The coordinates of a sparse point cloud refer to the spatial position vector of each point in the sparse point cloud in a three-dimensional coordinate system. This coordinate information is concatenated and fused with the feature vector in subsequent steps to preserve the original spatial position of the points and ensure that the generated point cloud does not shift in three-dimensional space.
[0021] Local geometric features refer to the feature vectors obtained by extracting features from each input point in a sparse point cloud using a multilayer perceptron. These feature vectors encode the local geometric information of the point and its surrounding neighborhood, including the relative positional relationships between neighboring points and the local spatial distribution pattern, and are used to describe the surface structure of the local region where the point is located.
[0022] Global structural features refer to first searching for the K nearest neighbors of each point in the sparse point cloud, generating midpoints between each point and each nearest neighbor and aggregating them into an interpolated point cloud, then inputting the interpolated point cloud into a point transformer encoding network to extract the point-level geometric features of each interpolated point cloud, and finally aggregating the point-level geometric features of all interpolated point clouds into a single feature vector through max pooling. This feature vector encodes the overall shape structure and spatial layout information of the entire sparse point cloud.
[0023] Density modulation weights refer to the weight coefficients obtained by calculating the reciprocal of the squared mean of the distances between each sparse point and its K neighboring points as the local density, and then normalizing the local density according to the global maximum density and global minimum density. The weight coefficients take larger values in low-density regions and smaller values in high-density regions, and are used to modulate local geometric features so that the network pays more attention to sparse and abnormal regions.
[0024] Stitching and fusion refers to the operation of connecting the coordinates of sparse point clouds, local geometric features after density modulation and weighting, and global structural features in the feature dimension to merge them into a unified joint feature vector. This operation allows the same feature vector to simultaneously contain the spatial location information of points, local geometric structure information, and global shape context information.
[0025] Joint features refer to the comprehensive feature vector obtained through splicing and fusion operations. This feature vector simultaneously encodes the spatial coordinates of the input point, the local geometric structure, and the global shape context information. It serves as the input to the subsequent probability sampling and upsampling module, enabling the network to simultaneously refer to local details and global structure when performing probability distribution prediction and surface parameter prediction.
[0026] The probabilistic upsampling module is a network structure unit built in a modular form. The module contains a probability distribution prediction branch and a surface parameter prediction branch. The probability distribution prediction branch is used to predict the mean vector and covariance matrix of the conditional Gaussian distribution in the two-dimensional local parameter space, and the surface parameter prediction branch is used to predict the coefficients of the bicubic surface and the local rotation matrix. The module receives joint features as input and outputs the upsampled dense point cloud.
[0027] Random sampling refers to sampling random noise from a standard Gaussian distribution and then using reparameterization techniques to transform the random noise into two-dimensional parametric coordinates by predicting the mean vector and covariance matrix of the branch output through probability distribution. This method introduces randomness, enabling the network to describe the uncertainty of local geometric structures and enhancing the point generation capability in complex regions.
[0028] The mean of the Gaussian distribution refers to the center position vector of the conditional Gaussian distribution predicted by the probability distribution prediction branch in the two-dimensional local parameter space. This mean vector represents the most likely sampling position in the two-dimensional parameter space. In the refinement stage, using this mean directly as the parameter coordinate can avoid the fluctuations caused by random sampling and improve the stability of point cloud generation.
[0029] The refined probability sampling upsampling module refers to a module structure obtained by replacing the random sampling method of obtaining parameter coordinates in the initial probability sampling upsampling module with the direct use of the Gaussian distribution mean. This module is used in the subsequent refinement stage in a multi-level stacked structure to optimize the point cloud output of the previous level step by step, improve the local detail recovery capability and geometric continuity of the point cloud, and maintain the stability of the generated results.
[0030] Intermediate coarse point cloud refers to the preliminary dense point cloud generated by inputting the joint features of the sparse point cloud into the initial probability sampling upsampling module, and then through random sampling and local transformation surface mapping. The density of this point cloud is higher than that of the input sparse point cloud, but the local details are not yet fine enough, and there are still a few outliers or the surface is not smooth enough. It serves as the input for the subsequent refinement stage.
[0031] The preset number refers to the number of stacked fine-grained probability sampling upsampling modules. Each module receives the point cloud and its joint features output from the previous module as input and performs the same fine-grained operation. After being processed by the preset number of modules in series, a dense point cloud that meets the quality requirements is obtained.
[0032] Dense point cloud refers to a high-density point cloud that is finally output after one random sampling upsampling by the initial probability sampling upsampling module and multiple deterministic refinement processes by one or more subsequent fine probability sampling upsampling modules. The points in this point cloud closely fit the real surface of the object, have sufficient point density in high curvature regions to present geometric details, are evenly distributed in flat regions, and have few points away from the surface. It can be directly used for subsequent tasks such as 3D reconstruction, target recognition, or scene understanding.
[0033] This embodiment provides a point cloud upsampling method based on local surface adaptive probability sampling. First, it acquires a sparse point cloud and extracts its coordinates and local geometric features. Then, it extracts global structural features by constructing an interpolated point cloud, enabling the network to simultaneously perceive local details and overall shape. Next, it modulates the local geometric features by calculating density modulation weights, enhancing its ability to focus on low-density sparse regions. Finally, it concatenates and fuses the coordinates of the sparse point cloud, the modulated local geometric features, and the global structural features into a joint feature vector, ensuring that the same feature vector simultaneously contains spatial location, local structure, and global context information. Finally, it inputs the joint feature into the initial probability sampling upsampling module. The process involves generating parameter coordinates in a two-dimensional local parameter space through random sampling and mapping them back to three-dimensional space. This allows the sampling range to be dynamically adjusted according to the local geometry, resulting in an intermediate coarse point cloud. The parameter coordinate acquisition method of the initial probability sampling upsampling module is then replaced with the direct use of the mean of a Gaussian distribution, resulting in a refined probability sampling upsampling module. Finally, the joint features of the intermediate coarse point cloud are obtained and input into the refined probability sampling upsampling module. Through a predetermined number of refined probability sampling upsampling modules, the point cloud is refined level by level, progressively improving the local details and surface continuity at each level. Ultimately, this yields a high-quality, dense point cloud with fewer outliers, clear local details, and a uniform distribution.
[0034] Furthermore, as a refinement and extension of the specific implementation of the above embodiments, in order to fully illustrate the implementation process of this embodiment, a point cloud upsampling method based on local surface adaptive probability sampling is provided. This method includes the following steps: 201. Input the sparse point cloud into a multilayer perceptron to obtain the local feature vector of each sparse point as a local geometric feature; Let the input point cloud be: ; in, Indicates the number of input points. Indicates the first The three-dimensional coordinates of the input point Represents a three-dimensional coordinate space; Let the upsampling factor of the point cloud be... The goal is to generate a dense point cloud: ; in, This represents the generated dense point cloud set. Indicates the upsampling rate of the point cloud. Indicates the first point in the generated point cloud One point; For each sparse point in the sparse point cloud Search for its K nearest neighbors: ; in, Point The corresponding local neighborhood set, Indicates the number of neighboring points. Indicates the first 1 neighboring point; Generate a midpoint between each point and each of its nearest neighbors: ; in, Indicates the origin of the point Its neighboring points The calculated interpolation points; The set of all midpoints is used as the interpolated point cloud. ; The interpolated point cloud is input into a Point Transformer encoding network to obtain the high-dimensional local geometric features of each interpolation point: ; in, This represents the Point Transformer feature encoding operation. This represents the point features obtained after encoding the interpolated points; The point-level geometric features of each interpolated point cloud are aggregated by max pooling to obtain a global feature vector as the global structural feature: ; Simultaneously, the coordinates of each point in the input sparse point cloud are fed into a multilayer perceptron network (MLP) to extract the corresponding local point features: ; In the above embodiments, the sparse point cloud is input into a multilayer perceptron. The multilayer perceptron performs nonlinear transformations on the 3D coordinates of each point through multiple convolutional layers, extracting the local feature vector corresponding to each sparse point. This local feature vector is used to characterize the local geometric properties of the point itself and its surrounding neighborhood. For each sparse point in the sparse point cloud, the K nearest neighbor search algorithm is used to search for the K points spatially closest to the point, forming a neighborhood point set for that point. Subsequently, the midpoint position is taken on the spatial line segment between the point and each of its nearest neighbors, and all midpoints corresponding to all points are collected to form an interpolated point cloud. This interpolated point cloud increases the distribution density of points while maintaining the overall geometric structure of the original point cloud. The interpolated point cloud is input into a point transformer encoding network, which uses a self-attention mechanism to encode the features of each interpolated point, outputting the point-level geometric features of each interpolated point cloud. Finally, max pooling is performed on the point-level geometric features of all interpolated point clouds, taking the maximum value from each feature dimension and aggregating them into a single global feature vector. This global feature vector serves as the global structural feature, representing the overall shape, structure, and spatial layout information of the entire sparse point cloud. In this way, local geometric features describe the fine geometric structure around each point, while global structural features describe the overall shape of the point cloud. The combination of these two features allows the network to simultaneously focus on local details and global context.
[0035] By extracting local feature vectors through a multilayer perceptron, the network can capture the geometric distribution pattern in the neighborhood of each input point. By constructing an interpolated point cloud and using a point transformer encoding network to extract features, the increased density of the interpolated point cloud enhances the network's ability to perceive local geometric structures. Max pooling is used to aggregate global feature vectors, giving the network a global receptive field for the overall shape of the point cloud. The global features describe the overall structural information of the input point cloud, while the local features describe the local geometric attributes within the neighborhood of each input point. Both are used together for feature prediction in the subsequent probabilistic upsampling module. The synergistic effect of local and global features provides a rich geometric information foundation for subsequent joint feature construction, enabling the network to maintain local surface consistency while adhering to the constraints of the overall shape when generating new points.
[0036] 202. Calculate the reciprocal of the squared mean of the distances between each sparse point and its K nearest neighbors, and use this as the local density: ; in, Represents local point density. Indicates the number of neighboring points. Point The neighborhood set, Represents the first in the neighborhood One point, 2 indicates the calculation of the L2 norm; The local density is normalized based on the global maximum and global minimum densities to obtain the density modulation weights: ; in, Represents density modulation weights, and Let these represent the maximum local density and minimum local density among all input points, respectively; The density modulation weights and the local geometric features are spliced and fused together to obtain the modulated local geometric features.
[0037] In the above embodiments, for each sparse point, its K nearest neighbors are first searched. Then, the spatial distance from the point to its K nearest neighbors is calculated. All distance values are squared and then averaged. Finally, the reciprocal of the average is taken as the local density of the point. The larger the local density value, the denser the neighborhood around the point; the smaller the value, the sparser the neighborhood around the point. After obtaining the local densities of all points, the global maximum and global minimum density values are found. For the local density of each point, the global minimum density is subtracted, and then divided by the difference between the global maximum and global minimum densities to complete the normalization process, so that the normalized values are distributed between zero and one. Subsequently, the normalized value is subtracted from the value one to obtain the density modulation weight. This density modulation weight has a larger value in low-density regions and a smaller value in high-density regions. Finally, the density modulation weights are spliced and fused with the local geometric features obtained in step 201 in the feature dimension to obtain the modulated local geometric features. This allows the density modulation weights to modulate the local geometric features, enabling the network to pay more attention to low-density sparse regions.
[0038] By calculating the reciprocal of the squared mean of neighborhood distances as the local density, the density of the point cloud around each point is accurately quantified. Through normalization and density modulation weight calculation, the network can adaptively distinguish between high-density and low-density regions. After concatenating and fusing the density modulation weights with local geometric features, the network automatically applies greater influence weights when processing outliers and sparse regions, thereby improving the upsampling effect on non-uniformly distributed point clouds. This allows the generated point cloud to recover a reasonable geometric structure even in sparse regions, avoiding bias in the generated results caused by the uneven distribution of the original point cloud.
[0039] 203. By splicing and fusing the coordinates of the sparse point cloud, the modulated local geometric features, and the global structural features, a joint feature of the sparse point cloud is generated: .
[0040] In the above embodiment, the coordinates of the original sparse point cloud, the local geometric features modulated in step 202, and the global structural features obtained in step 201 are concatenated end-to-end along the feature dimension to merge into a unified joint feature vector. Each dimension of this joint feature vector corresponds to the spatial location information of the sparse point cloud coordinates, the neighborhood geometric structure information carried by the modulated local geometric features, and the overall shape context information carried by the global structural features, all three coexisting in the same feature representation. After concatenation, this joint feature serves as the input feature for the subsequent probabilistic upsampling module, enabling the module to simultaneously reference the spatial location, local geometric structure, and global shape layout of the points during each prediction step.
[0041] By splicing and fusing spatial coordinates, local geometric features, and global structural features, the joint features simultaneously contain multi-scale and multi-level geometric information, avoiding the problem of insufficient information from a single feature. This joint feature provides complete information input for subsequent probability distribution prediction and surface parameter prediction, enabling the network to fully consider local geometric complexity when predicting the sampling distribution in the two-dimensional parameter space, and to accurately restore the curvature and orientation of the local surface when predicting surface parameters, thereby improving the overall quality of the generated point cloud.
[0042] 204. Input the joint features of the sparse point cloud into the initial probabilistic sampling upsampler (PSU) module to obtain the intermediate coarse point cloud.
[0043] In the above embodiment, the joint features of the sparse point cloud generated in step 203 are input into the initial probability sampling upsampling module. This initial probability sampling upsampling module is a network structure unit that includes a probability distribution prediction branch and a surface parameter prediction branch. After the joint features are input into this module, each branch within the module processes the joint features, obtaining parameter coordinates in the two-dimensional local parameter space through random sampling, and mapping the parameter coordinates back to three-dimensional space through local surface transformation, ultimately outputting an intermediate coarse point cloud. This intermediate coarse point cloud has a higher number of points than the input sparse point cloud by a preset upsampling factor. While its overall shape remains consistent with the input point cloud, local details are not yet refined enough, and there are still a few out-of-surface points and an uneven surface; hence, it is called an intermediate coarse point cloud.
[0044] By inputting joint features into the probabilistic sampling upsampling module, the module is able to initially generate a dense point cloud from a sparse point cloud under local surface constraints. The introduction of a random sampling mechanism enables the network to describe the uncertainty of local geometry, generating diverse points in high curvature regions to fully cover complex surfaces. Through the constraint of local transformed surfaces, the generated points are restricted to the vicinity of parametric surfaces, effectively reducing the generation of points off-surface. This step completes the main upsampling process, providing initial results for subsequent multi-level refinement that can be optimized.
[0045] 205. The training method for the initial probability sampling upsampling module includes: Construct probability distribution prediction branches and surface parameter prediction branches; The probability distribution prediction branch is used to predict the Gaussian distribution in a two-dimensional parameter space: ; in, Indicates at the input point Two-dimensional parametric space coordinates under certain conditions The conditional probability distribution, Indicates network parameters; The mean is The covariance matrix is The two-dimensional Gaussian distribution is used to describe the range of probability distribution of sampling points in the parameter space within a local region; Represents a two-dimensional mean vector. and Let represent the mean values in two directions of the two-dimensional parameter space, respectively. Represent the covariance matrix; Predicting a 2D scaling vector: ; in, and Represents the scale parameters in two directions of the two-dimensional parameter space; Construct a diagonal matrix: ; in, Represents a diagonal matrix composed of scale parameters; Multiplying the diagonal matrix by its transpose yields the covariance matrix: ; in, Represents the covariance matrix in the two-dimensional parameter space. This represents the matrix transpose operation; The above method allows for adaptive adjustment of the sampling range in the parameter space based on the local geometry. To achieve random sampling, this application employs a reparameterization method. First, random variables are sampled from a standard Gaussian distribution: ; in, Represents random noise variables. This indicates that the mean is 0 and the covariance matrix is the identity matrix. The standard Gaussian distribution; Generate two-dimensional parameter space sampling coordinates: ; in, Represents the sampling coordinates in the two-dimensional parameter space; The parametric surface prediction branch predicts bicubic surface coefficients based on joint features: ; in, This represents the parameter coefficient vector of a hypercubic surface. Indicates the first One surface parameter; The local parametric surface is represented by a bicubic polynomial: ; in, This represents the height value of the local parametric surface. Represents a local parametric surface function; Specifically, it is expressed as follows: ; The two-dimensional parametric space coordinates can be obtained through the above surface functions. Upgraded to three-dimensional parametric surface coordinates: ; The parametric surface prediction branch further predicts the local rotation matrix: ; The final generated point is obtained in the following way: ; Through the above mapping process, the sampling points in the parameter space can be mapped back to the original point cloud space, thereby generating an intermediate rough point cloud that conforms to the local surface structure.
[0046] In the above embodiments, such as Figure 3As shown, step 205 details the internal workflow of the initial probability sampling upsampling module. First, a probability distribution prediction branch and a surface parameter prediction branch are constructed. These two branches share the input but perform predictions independently. In the probability distribution prediction branch, the network predicts the mean vector in the two-dimensional local parameter space, which represents the most likely sampling center location in the two-dimensional parameter space. Simultaneously, the network predicts a two-dimensional scaling vector, constructs a diagonal matrix using this scaling vector, and then multiplies this diagonal matrix by its transpose to obtain the covariance matrix. This covariance matrix describes the scattering range and direction of the sampling distribution in the two-dimensional parameter space. A conditional Gaussian distribution is defined by the mean vector and the covariance matrix, which describes the distribution of parameter coordinates given the input points. Subsequently, a random noise vector is sampled from the standard Gaussian distribution. A reparameterization technique is used to transform this random noise through the mean vector and the covariance matrix to obtain the two-dimensional parameter coordinates. This reparameterization technique makes the sampling process differentiable, thereby supporting end-to-end network training. In the surface parameter prediction branch, bicubic polynomials are used to represent the bicubic surface coefficients. The network predicts the coefficients of each term of this bicubic polynomial from the joint features. Using the two-dimensional parameter coordinates output by the probability distribution branch as independent variables, these are substituted into the bicubic polynomial for calculation to obtain the corresponding surface height value. The two-dimensional parameter coordinates and the calculated height value together constitute the three-dimensional local coordinates in the parameter space. Simultaneously, the surface parameter prediction branch also predicts the rotation matrix from the local parameter coordinate system to the three-dimensional spatial coordinate system from the joint features. The three-dimensional local coordinates in the parameter space are rotated using this rotation matrix, and then the transformed coordinates are vector-added with the coordinates of the original sparse point cloud to obtain each point in the final generated intermediate coarse point cloud. Through the above process, the initial probability sampling upsampling module outputs a complete intermediate coarse point cloud.
[0047] By predicting the mean vector and covariance matrix through probability distribution prediction branches, the sampling range can be adaptively adjusted according to the local geometry. The sampling range is concentrated in flat areas to maintain smoothness, and expanded in high-curvature areas to cover more geometric changes. Differentiable random sampling is achieved through reparameterization techniques, ensuring end-to-end training of the network while introducing randomness. Local transformed surfaces are represented by bicubic polynomials, achieving flexible approximation of complex local surfaces with fewer parameters, making the generated points closely fit the real surface. By predicting the rotation matrix and mapping the parameter space coordinates back to the 3D space coordinate system, it is ensured that the generated points and the input point cloud are in the same spatial reference system, maintaining overall spatial consistency. The combined effect of the above mechanisms enables the intermediate coarse point cloud to initially recover local geometric features while maintaining the global shape.
[0048] The network training methods in this application include: Chamfer Distance is used as the loss function for point cloud reconstruction. ; in, Used to measure the geometric distance between the generated point cloud and the real point cloud; Meanwhile, to improve the planar consistency of the local parametric surface, a surface height regularization term is introduced to constrain the predicted height value to approach zero, making the local surface tend to be flat. ; The Chamfer Distance is weighted and summed with the high regularization term to form the total loss function. The network is trained end-to-end, and the final total loss function is defined as follows: ; in, This represents the total loss function during network training. The weight parameter represents the weight of the high regularization term.
[0049] 206. Replace the parameter coordinates of the initial probability sampling upsampling module with the mean of a Gaussian distribution to obtain the refined probability sampling upsampling module. In the refinement stage, random sampling is no longer performed; instead, the mean of the probability distribution is directly used. ; in, This represents the mean vector of the two-dimensional parameter space obtained from the probability distribution prediction and is output as the parameter coordinates; By refining the structure in multiple stages, outliers can be effectively reduced, and local surface details can be further restored. In the above embodiment, the method of obtaining parameter coordinates in the initial probability sampling upsampling module is changed from random sampling to directly using the mean of a Gaussian distribution as the parameter coordinates. That is, random noise is no longer sampled from the standard Gaussian distribution, but the two-dimensional parameter coordinates are directly set to the mean vector predicted by the probability distribution prediction branch, thereby obtaining the refined probability sampling upsampling module. This refined module is structurally identical to the initial module, the only difference being that the method of obtaining parameter coordinates changes from random sampling to deterministic values. This refined module is used in the subsequent refinement stage of a multi-level stacked structure, eliminating randomness and improving the stability and repeatability of the generated results.
[0050] By replacing the parameter coordinates with the mean of a Gaussian distribution, the refined probabilistic sampling upsampling module avoids the impact of random fluctuations on the generated results during the refinement stage, ensuring determinism and consistency in each refinement operation. While maintaining the ability to constrain local transformation surfaces, this module focuses on adjusting the local structure and optimizing the details of existing coarse point clouds, making it suitable for progressively improving point cloud quality in multi-level stacking. Through this replacement method, the random exploration capability of the initial upsampling stage and the stable optimization capability of the refinement stage are unified on the same module structure, reducing the complexity of network design.
[0051] 207. Obtain the joint features of the intermediate coarse point cloud, and input the joint features of the intermediate coarse point cloud into the fine probabilistic sampling upsampling module to obtain a dense point cloud; The dense point cloud is used as a new intermediate coarse point cloud. Its joint features are obtained and input into the next level of fine probabilistic sampling upsampling module. After being processed by a preset number of fine probabilistic sampling upsampling modules in series, the target dense point cloud is obtained.
[0052] In the above embodiment, the intermediate coarse point cloud generated in step 204 is first obtained. The coordinates, local geometric features, and global structural features of this intermediate coarse point cloud are then extracted again using the same method as in steps 201 to 203. After modulation using density modulation weights, these features are spliced and fused to generate the joint features corresponding to the intermediate coarse point cloud. Subsequently, these joint features are input into the refined probabilistic sampling upsampling module obtained in step 206. The refined module uses the mean of a Gaussian distribution as the parameter coordinates for deterministic sampling and generates a further refined dense point cloud through local transformation surface mapping. After one refinement, the refined result is used as a new intermediate coarse point cloud and input into the next level of refined probabilistic sampling upsampling module. This process is repeated through a preset number of refined probabilistic sampling upsampling modules in series. In this embodiment, the preset number of refined probabilistic sampling upsampling modules is three. Each time the refined probabilistic sampling upsampling module samples, the local details of the point cloud are further restored, the number of out-of-plane points is further reduced, and the surface continuity is further improved. After a preset number of progressive refinement processes, the final output point cloud is a dense point cloud that meets the requirements. While maintaining the same overall shape as the input sparse point cloud, the dense point cloud has sufficient point density in high curvature regions to present geometric details, is evenly distributed in flat regions, and has very few points away from the surface. It can be directly used for subsequent tasks such as 3D reconstruction, target recognition, or scene understanding.
[0053] By stacking multi-level refined probabilistic upsampling modules, a progressive optimization of point clouds from coarse to fine is achieved. Each module makes local adjustments and enhances details based on the previous level, avoiding the problem that it is difficult to guarantee both global shape and local details in a single generation. A deterministic sampling method is adopted in the refinement stage to avoid the instability caused by randomness, so that the output of each level converges towards the optimal direction. Through a preset number of refinements, the local detail recovery ability and geometric continuity of the point cloud are gradually improved in each level. The resulting dense point cloud has both good global consistency and local detail restoration ability, effectively solving the problems of increased out-of-plane points and loss of local details in existing point cloud upsampling methods.
[0054] This embodiment provides a point cloud upsampling method based on adaptive probabilistic sampling of local curved surfaces. By extracting and fusing the overall contour features and local detail features of the point cloud, the model can grasp both the overall structure of the object and accurately capture its local shape. Simultaneously, a density-aware mechanism is introduced, allowing the model to automatically focus on sparse or anomalous point distribution areas, effectively improving its ability to handle uneven data. When generating the point cloud, a multi-level progressive refinement structure is adopted, first randomly exploring to generate a rough contour, then precisely locating and generating dense details. This significantly improves the ability to recover details in complex areas and the smoothness and continuity of the point cloud surface. Furthermore, by constructing an adaptive probability distribution model, the model can automatically adjust the sampling range according to the curvature complexity of the object's surface. Combined with a local curved surface model that fits the real surface, the generated points are accurately mapped back to 3D space, ensuring that the newly generated points closely fit the real surface of the object. This effectively reduces erroneous points that deviate from the surface, thereby significantly improving the quality and accuracy of point cloud upsampling. This method can well meet the needs of high-precision 3D data in scenarios such as autonomous driving and 3D reconstruction.
[0055] like Figure 2 As shown, by applying the technical solution of this application, a local parametric surface is constructed and a conditional probability distribution is established in the parameter space, realizing the organic combination of local geometric constraints and probabilistic sampling mechanisms, thereby effectively improving the upsampling quality of point clouds. Compared with the prior art, this application has the following advantages: (1) A point cloud sampling mechanism based on probability distribution is proposed, which can adaptively determine the sampling range according to the local geometric structure and improve the point generation capability in complex regions; (2) By using the local transformation surface parameterization constraint point generation process, the generated points are made to fit the real surface better, effectively reducing the number of points that are off the surface; (3) A multi-level PSU sequential refinement structure is adopted to improve the local detail recovery capability and geometric continuity of the point cloud; (4) Use interpolated point clouds to extract global features and enhance the network’s ability to perceive the overall structure; (5) Introducing density-aware features makes the network pay more attention to sparse regions and outliers, improving its adaptability to non-uniform point clouds; (6) This application is applicable to various three-dimensional vision scenarios such as autonomous driving, three-dimensional reconstruction, robot perception, digital twins and virtual reality.
[0056] Those skilled in the art will understand that the accompanying drawings are merely schematic diagrams of a preferred embodiment, and the modules or processes shown in the drawings are not necessarily essential for implementing this application. Those skilled in the art will understand that the modules in the apparatus of the embodiment can be distributed within the apparatus of the embodiment as described, or they can be located in one or more apparatuses different from this embodiment, with corresponding changes. The modules of the above-described embodiment can be combined into one module, or further divided into multiple sub-modules.
[0057] The serial numbers in this application are for descriptive purposes only and do not represent the superiority or inferiority of any particular implementation scenario. The above disclosures are merely a few specific implementation scenarios of this application; however, this application is not limited thereto, and any variations conceived by those skilled in the art should fall within the protection scope of this application.
Claims
1. A point cloud upsampling method based on local surface adaptive probability sampling, characterized in that, The method includes: Step 101: Obtain sparse point cloud, extract the coordinates and local geometric features of the sparse point cloud, and extract global structural features by constructing interpolated point cloud; Step 102: Obtain density modulation weights, and modulate the local geometric features using the density modulation weights; Step 103: Combine and fuse the coordinates of the sparse point cloud, the modulated local geometric features, and the global structural features to generate a joint feature of the sparse point cloud; Step 104: Input the joint features of the sparse point cloud into the initial probability sampling upsampling module to obtain the intermediate coarse point cloud; wherein, the method for obtaining the parameter coordinates in the initial probability sampling upsampling module is: sampling random noise from a standard Gaussian distribution and transforming it into parameter coordinates through a reparameterization technique; Step 105: Replace the parameter coordinates of the initial probability sampling upsampling module with the mean of a Gaussian distribution to obtain the refined probability sampling upsampling module; Step 106: Obtain the joint features of the intermediate coarse point cloud, and input the joint features of the intermediate coarse point cloud into the fine probabilistic sampling upsampling module to obtain a dense point cloud; Step 107: Use the dense point cloud as a new intermediate coarse point cloud, obtain its joint features and input them into the next level of fine probabilistic sampling upsampling module. After being processed by a preset number of fine probabilistic sampling upsampling modules in series, the target dense point cloud is obtained.
2. The method according to claim 1, characterized in that, The training method for the initial probability sampling upsampling module includes: Construct probability distribution prediction branches and surface parameter prediction branches; The joint features of the sparse point cloud are input into the probability distribution prediction branch to predict a conditional Gaussian distribution in a two-dimensional local parameter space, and parameter coordinates are generated by random sampling. The joint features are input into the surface parameter prediction branch to obtain the predicted bicubic surface coefficients; The height value corresponding to the parameter coordinates is calculated based on the predicted bicubic surface coefficients, and an intermediate rough point cloud is generated using the height value and the parameter coordinates.
3. The method according to claim 2, characterized in that, The steps of inputting joint features into the probability distribution prediction branch to predict a conditional Gaussian distribution in a two-dimensional local parameter space and generating parameter coordinates through random sampling include: Predict the mean vector in a two-dimensional local parameter space; Predict the two-dimensional scaling vector, construct a diagonal matrix, and multiply the diagonal matrix with its transpose to obtain the covariance matrix; A conditional Gaussian distribution is defined based on the mean vector and the covariance matrix; Random noise is sampled from a standard Gaussian distribution; By employing reparameterization techniques, the random noise is transformed into two-dimensional parametric coordinates using the mean vector and the covariance matrix.
4. The method according to claim 2, characterized in that, The step of calculating the height value corresponding to the parameter coordinates based on the predicted bicubic surface coefficients, and generating an intermediate coarse point cloud using the height value and the parameter coordinates includes: The coefficients of the bicubic surface are expressed using bicubic polynomials; Using the parameter coordinates as independent variables, and substituting them into the bicubic polynomial, the height value corresponding to the parameter coordinates is calculated. The parameter coordinates and the height value constitute a three-dimensional local coordinate system in the parameter space. The three-dimensional local coordinates are mapped back to three-dimensional space to generate an intermediate rough point cloud.
5. The method according to claim 4, characterized in that, The step of mapping the three-dimensional local coordinates back to three-dimensional space to generate an intermediate coarse point cloud includes: The joint features of the sparse point cloud are input into the surface parameter prediction branch to obtain the prediction rotation matrix from the local parameter coordinate system to the three-dimensional spatial coordinate system. The three-dimensional local coordinates are transformed by a rotation matrix and then added to the coordinates of the sparse point cloud to obtain the generated intermediate coarse point cloud.
6. The method according to claim 1, characterized in that, The steps for extracting the coordinates and local geometric features of the sparse point cloud, and extracting global structural features by constructing an interpolated point cloud, include: The sparse point cloud is input into a multilayer perceptron to obtain the local feature vector of each sparse point as a local geometric feature. The sparse point cloud includes multiple sparse points, and the K nearest neighbors of each sparse point are searched. Based on the connection between each sparse point and its corresponding K nearest neighbors, obtain the midpoint of the connection; The set of midpoints corresponding to all sparse points is used as the interpolated point cloud; The interpolated point cloud is input into the point transformer encoding network to obtain the point-level geometric features of each interpolated point cloud; The point-level geometric features of each interpolated point cloud are aggregated by max pooling to obtain a global feature vector as the global structural feature.
7. The method according to claim 1, characterized in that, The step of obtaining density modulation weights and modulating the local geometric features using the density modulation weights includes: Calculate the reciprocal of the squared mean of the distances between each sparse point and its K nearest neighbors, and use this as the local density; The local density is normalized based on the global maximum density and the global minimum density to obtain the density modulation weight; The density modulation weights and the local geometric features are spliced and fused together to obtain the modulated local geometric features.
