Multi-scale point cloud fusion denoising method for cultural relic digitization

Through the multi-scale point cloud fusion denoising method, combined with the bilateral filtering method of conditional filtering, statistical filtering, radius filtering and normal vector correction, the problem of insufficient noise removal efficiency and compatibility in the existing technology is solved, and point cloud data is realized Efficient denoising to maintain the clarity and adaptability of the model.

CN118628384AInactive Publication Date: 2024-09-10ZHENGZHOU UNIVERSITY OF LIGHT INDUSTRY

Patent Information

Application Number
CN202410403142.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-03
Publication Date
2024-09-10
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing point cloud denoising algorithms are prone to distortion while having high denoising efficiency. Algorithms that are good at handling isolated noise are easily affected by small-scale mixed noise. Algorithms with better adaptability to dense models are not suitable for models with uneven density. The processing effect is poor and the compatibility is poor.

Method used

Using a multi-scale point cloud fusion denoising method, the noise point cloud is classified into large-scale and small-scale noise according to distance, and the improved bilateral filtering method of conditional filtering, statistical filtering, radius filtering and normal vector correction is used to remove the noise, forming a multi-algorithm Fusion denoising strategy.

Benefits of technology

It effectively removes noise and keeps the outline of the model clear and smooth, providing a good data foundation to ensure the restoration, reconstruction and virtual display of cultural relics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628384A
    Figure CN118628384A
Patent Text Reader

Abstract

The invention belongs to the technical field of cultural relic digitization point cloud denoising, and particularly relates to a cultural relic digitization-oriented multi-scale point cloud fusion denoising method, which comprises the following steps of: dividing background noise and outlier noise (including isolated noise points and redundant noise points) into large-scale noise according to the distance between the point cloud noise and a point cloud model; the method comprises the following steps: dividing mixed noise into small-scale noise, then processing corresponding noise by fusing advantages of multiple algorithms, firstly processing large-scale noise, then processing the small-scale noise, respectively completing denoising of point cloud data from far to near, classifying noise point clouds into large-scale noise and small-scale noise based on distance, and removing the large-scale noise by fusing multiple algorithms. Small-scale noise is removed by adopting the improved bilateral filtering of normal vector correction, a verification experiment is carried out by applying a bunny model, and the algorithm has a good noise removal effect on the point cloud data and establishes a good data basis for subsequent curved surface reconstruction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of cultural relic digitization point cloud denoising, and in particular relates to a multi-scale point cloud fusion denoising method for cultural relic digitization. Background Art

[0002] Cultural relics are a typical material cultural heritage, which plays an important role in the research, inheritance, appreciation and education of traditional culture. However, with the passage of time, natural erosion, human destruction and other factors, the protection of cultural relics is facing severe challenges. Therefore, the digitization of cultural relics has become the key development direction of cultural relics protection. The key technologies in the digitization process of cultural relics mainly include the collection of point cloud data, the establishment of point cloud topological relationships, point cloud denoising, point cloud simplification, surface reconstruction, texture mapping, etc. The three-dimensional spatial information detection technology based on laser scanning technology provides a feasible and efficient method for the restoration of cultural relics. Three-dimensional scanning technology is a new technology for quickly and directly obtaining three-dimensional data of the surface of a solid, which can quickly and accurately realize the three-dimensional reconstruction of the target entity and realize digitization. The number is huge, and there is no topological information between points. During scanning, due to the influence of external environmental factors, human operation and other factors, the collected point cloud data contains many noise points and outliers. The processing of these noise points and outliers is very important for the subsequent surface reconstruction.

[0003] Experts and scholars at home and abroad have done a lot of research on point cloud data denoising algorithms. The main denoising methods for ordered point clouds include median filtering, mean filtering, Gaussian filtering, random filtering, curve checking, etc. The denoising of scattered point clouds mainly includes: denoising based on triangular meshes, firstly introducing triangular meshes based on point clouds, and then forming topological relationships between point clouds, and finally completing the denoising of point cloud models based on topological relationships. Denoising based on point cloud models, first establish a neighborhood relationship for the point cloud, and then traverse the entire point cloud model based on the neighborhood relationship to establish the topological relationship between points, and finally complete the denoising of the point cloud model based on the topological relationship.

[0004] Overall, the existing point cloud processing methods always have certain limitations. Various algorithms can generally only handle specific problems and have poor compatibility. There are the following problems: the local features of algorithms with high denoising efficiency are easily distorted after denoising; algorithms that are good at processing isolated noise are easily affected by small-scale mixed noise; algorithms that are well adaptable to models with high density have poor processing effects on models with uneven density. In response to the above problems, this paper proposes a multi-scale point cloud fusion denoising algorithm. The noise point cloud is classified into large-scale and small-scale noise based on distance, and a fusion of multiple algorithms is used to remove large-scale noise. The improved bilateral filtering with normal vector correction is used to remove small-scale noise, and the bunny model is used for verification experiments. Summary of the invention

[0005] The purpose of the present invention is to provide a multi-scale point cloud fusion denoising method for cultural relics digitization.

[0006] In order to achieve the above object, the technical solution adopted by the present invention is:

[0007] A multi-scale point cloud fusion denoising method for cultural relics digitization includes the following steps:

[0008] S1. Collect and classify the point cloud data to be processed: Classify the noise points into background noise, outlier noise (including isolated noise points and redundant noise points) and mixed noise according to the spatial distribution of the noise points in the point cloud model. Based on the distance between the point cloud noise and the point cloud model, classify the background noise and outlier noise into large-scale noise, and classify the mixed noise into small-scale noise;

[0009] S2. Background noise removal: Conditional filtering method is used to remove background noise. The specific operation is as follows:

[0010] (1) Input the point cloud value and set the thresholds of the filter conditions in the x, y, and z directions;

[0011] (2) Delete the point cloud data outside the threshold;

[0012] (3) Visualize the model to see whether the removal is complete. If it is complete, export the data. If not, return to step (1) to revise the filtering conditions and continue the execution.

[0013] (4) Output the model after removing background noise;

[0014] S3. Removal of outlier noise: The statistical filtering method is used to remove outlier noise. The specific operation is as follows: Assume that the distance values ​​of all points in the point cloud model and the points in their neighborhood conform to the Gaussian distribution, and set a standard range value d by the mean and standard deviation of the Gaussian curve max , and then take the number of domain points k, and calculate the average distance from each point in the neighborhood to the sampling point Compare max and The size of Then the selected point is determined to be a model point and retained. Then the point is determined to be a noise point and deleted, and the algorithm ends after traversing all points;

[0015] S4. Removal of local residual large-scale noise: The radius filtering method is used to remove local residual large-scale noise. The specific operation is as follows:

[0016] (1) Assume that any point P in the scattered point cloud model i , take P i The radius of k nearest neighbors is r, and if P i The number of nearest neighbors is N;

[0017] (2) Set the threshold to N t ;

[0018] (3) Determine the number of neighbors N and the threshold N t The size of: If N>N t , then keep P i Point, if N <N t , then delete P i point;

[0019] (4) Let i=i+1, that is, P i =P i+1 ;

[0020] (5) Traverse all points and output the denoised point cloud;

[0021] (6) Determine whether the noise has been removed: if it has been removed, output the point cloud data; if it has not been removed, adjust the radius to r = rC, and repeat steps (1) to (5);

[0022] (7) After large-scale noise removal is completed, denoising is completed and point cloud data is output;

[0023] S5. Removal of small-scale noise points: The improved bilateral filtering method with normal vector correction is used to remove small-scale noise. The specific operations are as follows: First, a KD tree structure is constructed based on the K neighborhood to establish a topological relationship for the scattered point cloud, and then the improved PCA algorithm is used to estimate the normal vector n i , and then use the minimum tree generation method to correct the normal direction to n i ', then optimize the bilateral filter factor α and convert the normal vector n of all points i Substitute 'and the improved filter factor α' into the bilateral filter definition to complete the denoising of the point cloud data.

[0024] Furthermore, in step S3, outlier noise is removed, and the specific algorithm steps are as follows:

[0025] (1) Select the k value of the domain, select any point and calculate the average distance from the point to its k nearest neighbors for:

[0026]

[0027] (2) Calculation The mean and standard deviation of max :

[0028] d max =μ+a·σ (2)

[0029]

[0030]

[0031] Among them, μ is the mean, σ is the standard deviation, a is the proportionality coefficient, and a is related to the k value;

[0032] (3) Compare the average distance of each point With the standard range value d max The size of Then the point is a normal point and is retained; if Then the point is a noise point, delete it, traverse all points, and the outlier noise removal is completed.

[0033] Furthermore, when removing small-scale noise in step S5, the improved bilateral filter definition and filter factor are:

[0034] P i '=P i +α'·n i ' (5)

[0035]

[0036]

[0037]

[0038] x=||p j -p i || (9)

[0039]

[0040] Among them, α' is the improved filtering factor, l i For any point P in the point cloud model i The corresponding neighborhood curvature, when l i The larger the corresponding P i The greater the distance the point moves in the normal direction, the greater the distance l i The smaller the corresponding P i The smaller the distance the point moves in the normal direction;

[0041] The specific steps of the small-scale denoising algorithm based on improved bilateral filtering of normal vector correction are as follows:

[0042] (1) Input point cloud data and construct a KD tree structure;

[0043] (2) Given the number of points k in the domain, any point P in the neighborhood i The neighborhood point set N(P i );

[0044] (3) Use the improved PCA algorithm to calculate the normal vector n of each neighborhood point i ;

[0045] (4) The minimum tree generation method corrects the direction of the normal vector to make it consistent. The normal vector is denoted by n i ';

[0046] (5) Calculate the curvature k of all points i ;

[0047] (6) According to equations (9) and (10), calculate the parameters x and y;

[0048] (7) According to equations (7) and (8), calculate the spatial domain weight and feature domain weights

[0049] (8) Obtain the filter factor α' according to formula (6);

[0050] (9) Relative α' and n i Substitute into formula (5) to get the new point P after adjusting the position i ';

[0051] (10) All point cloud data are traversed in sequence to complete denoising, and the algorithm ends.

[0052] The advantages of the present invention are: after being processed by a multi-scale point cloud fusion denoising algorithm, the point cloud data of the main model of the experimental sample remains good, the contour is clear and smooth, and the original model is basically obtained. Comprehensive results show that the algorithm has a good noise removal effect on point cloud data, establishes a good data foundation for subsequent surface reconstruction, and can provide data guarantee for the restoration, reconstruction, virtual display, and re-innovation of cultural relics. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 It is a bunny point cloud image containing noise points used in the verification test of the present invention.

[0054] Figure 2 It is a flow chart of the multi-scale point cloud fusion denoising algorithm of the present invention.

[0055] Figure 3 It is a flow chart of the background noise removal algorithm in the present invention.

[0056] Figure 4 It is a schematic diagram of the statistical filtering algorithm of the present invention.

[0057] Figure 5 It is a flow chart of the algorithm for removing outlier noise in the present invention.

[0058] Figure 6 It is a schematic diagram of the radius filtering algorithm in the present invention.

[0059] Figure 7 It is a flow chart of the algorithm for removing local residual large-scale noise in the present invention.

[0060] Figure 8 It is a flow chart of a small-scale denoising algorithm of an improved bilateral filtering based on normal vector correction in the present invention.

[0061] Fig. 9 This is the original 3D model of bunny.

[0062] Fig.10 This is the experimental result of the scale point cloud fusion denoising algorithm. DETAILED DESCRIPTION

[0063] According to the spatial distribution of noise points in the point cloud model, noise can be divided into outlier noise points, isolated noise points, redundant noise points and mixed noise points. In order to achieve more efficient and high-quality denoising of point cloud data, a multi-scale point cloud data fusion denoising algorithm for cultural relics digitization is proposed. 3200 random noise points are added to the Stanford University Bunny point cloud to generate a Bunny point cloud model with noise points. Figure 1 shown.

[0064] The multi-scale point cloud fusion denoising algorithm is based on the distance between the point cloud noise and the point cloud model, and divides the background noise and outlier noise (including isolated noise points and redundant noise points) into large-scale noise, and the mixed noise into small-scale noise. Then, the corresponding noise is processed by integrating the advantages of multiple algorithms, first processing large-scale noise, then processing small-scale noise, and completing the denoising of point cloud data from far to near. The flow chart of the multi-scale point cloud fusion denoising algorithm is shown below: Figure 2 shown.

[0065] A multi-scale point cloud fusion denoising method for cultural relics digitization includes the following steps:

[0066] 1.1 Large-scale noise point removal method

[0067] By analyzing the advantages of conditional filtering, statistical filtering, and radius filtering algorithms, different types of point cloud noise are processed respectively, so that the advantages of several algorithms can be complementary. Finally, a large-scale noise removal method based on multi-algorithm fusion is used to achieve the removal of large-scale noise points.

[0068] 1.1.1 Removal of background noise

[0069] In the classification of large-scale noise, there are some background noises collected during the scanning phase due to the scanning environment, such as noise models of workbenches, walls, and ground. These noises are significantly greater than the noise of the main point cloud model, so conditional filtering methods will be used to process such noises. The steps to remove background noise are:

[0070] (1) Set the thresholds in the x, y, and z directions respectively;

[0071] (2) Delete the point cloud data outside the threshold;

[0072] (3) Visualize the model to see whether the removal is complete. If it is complete, export the data. If not, return to step (1) and start execution.

[0073] (4) Output the model after removing background noise.

[0074] The flowchart of the background noise removal algorithm is as follows Figure 3 As shown:

[0075] 1.1.2 Removal of outlier noise

[0076] The conditional filtering algorithm only removes the dense background point cloud data outside the main point cloud, and there are still outlier noise points in the point cloud model that have not been processed. Outlier noise is generally outside the main point cloud and has a sparse density. The distance between the outlier noise point and the main point cloud is much greater than the distance between the main point clouds. The statistical filtering method will be used to remove this type of noise.

[0077] Assume that the distance values ​​of all points in the point cloud model and their neighborhood points conform to the Gaussian distribution, and set a standard range value d by the mean and standard deviation of the Gaussian curve max , and then take the number of domain points k, and calculate the average distance from each point in the neighborhood to the sampling point Compare max and The size of Then the selected point is determined to be a model point and retained. Then the point is determined to be a noise point and deleted. After all points are traversed, the algorithm ends. Figure 4 As shown: Take k = 4, d max Represented by a solid circle, It is represented by a dotted circle. It can be seen from the figure that at point P1 Therefore, point P1 is judged as a noise point and deleted; point P2 Therefore, point P2 is judged as a normal point and is retained; point P3 is Therefore, point P3 is determined to be a normal point and retained. All point clouds are traversed by statistical filtering algorithm to achieve point cloud denoising.

[0078] Next, the outlier noise of the point cloud model is removed. The specific algorithm steps are as follows:

[0079] (1) Select the k value of the domain. Select any point and calculate the average distance from the point to its k nearest neighbors. for:

[0080]

[0081] (2) Calculation The mean and standard deviation of max :

[0082] d max =μ+a·σ (2)

[0083]

[0084]

[0085] Among them, μ is the mean, σ is the standard deviation, and a is the proportional coefficient, which is related to the k value.

[0086] (3) Compare the average distance of each point With the standard range value d max The size of Then the point is a normal point and is retained; if Then the point is a noise point and is deleted. After traversing all points, the outlier noise removal is completed.

[0087] 1.1.3 Removal of local residual large-scale noise

[0088] After the statistical filter is run, a small amount of sparse large-scale noise will still remain in the complex areas of the surface. For this kind of noise, the radius filtering method will be used to further remove the noise and complete the removal of large-scale noise in the point cloud data.

[0089] The radius filtering algorithm sets a sphere radius by selecting a target point, and then gives a threshold, stipulating that the number of points in each sphere is not less than the threshold. If it is less than the threshold, the target point is deleted, and the algorithm ends after traversing the data points of the entire model. Figure 6 As shown in the figure: Assuming the sphere filter radius is r, and the threshold of the number of points in the sphere is set to 2, it can be seen that the number of points in P1 is less than 2, so P1 is judged as a noise point and deleted; the number of points in P2 and P3 is greater than 2, so P2 and P3 are judged as normal points and retained. In this way, by traversing all point clouds, the radius filter algorithm denoising of the point cloud is realized.

[0090] The steps of the algorithm for removing local residual large-scale noise are as follows:

[0091] (1) Assume that any point P in the scattered point cloud model i , take P i The radius of k nearest neighbors is r, and if P i The number of nearest neighbors is N;

[0092] (2) Set the threshold to N t ;

[0093] (3) Determine the number of neighbors N and the threshold N t The size of: If N>N t , then keep P i Point, if N <N t , then delete P i point;

[0094] (4) Let i=i+1, that is, P i =P i+1 ;

[0095] (5) Traverse all points and output the denoised point cloud;

[0096] (6) Determine whether the noise has been removed: if it has been removed, output the point cloud data; if it has not been removed, adjust the radius to r = rC, and repeat steps (1) to (5);

[0097] (7) After large-scale noise removal is completed, denoising is completed and point cloud data is output.

[0098] The flowchart of the algorithm for removing local residual large-scale noise is as follows: Figure 7 As shown:

[0099] 1.2 Small-scale noise point removal method

[0100] Small-scale noise is mainly mixed noise. For this type of noise, smoothing denoising is generally used to remove it. That is, a small-scale denoising algorithm based on improved bilateral filtering with normal vector correction is used to remove small-scale noise. By adjusting points with poor positions to appropriate positions, the model plane is made smooth to achieve a denoising effect.

[0101] Aiming at the problem of model distortion and over-smoothing in bilateral filtering algorithm when processing point cloud, a small-scale noise removal algorithm based on normal vector correction of bilateral filtering is proposed. Firstly, a KD tree structure is constructed based on K neighborhood to establish the topological relationship of scattered point cloud, and then the improved PCA algorithm is used to estimate the normal vector n i , and then use the minimum tree generation method to correct the normal direction to n i ', then optimize the bilateral filter factor α and convert the normal vector n of all points iSubstitute the improved filter factor α into the bilateral filter definition to complete the denoising of the point cloud data. The flowchart of the small-scale denoising algorithm based on the improved bilateral filter with normal vector correction is as follows: Figure 8 shown.

[0102] After the small-scale denoising of the improved bilateral filter with normal vector correction, any point P in the point cloud data i , whose neighborhood is N(P i ), the corresponding corrected normal vector is n i , at this time, the normal vector directions of all points in the model are consistent. The filter factor is the main factor that controls the denoising effect. The traditional bilateral filter factor is obviously insufficient in adaptability. In order to better apply to the denoising of various types of point cloud data, it is necessary to improve the bilateral filter to achieve better denoising effect. Therefore, this paper proposes a method based on the neighborhood curvature l corresponding to each point i , a method of adaptively adjusting the filter factor in a targeted manner is used to improve the denoising effect of bilateral filtering. The improved bilateral filtering definition and filter factor are:

[0103] P i '=P i +α'·n i ' (5)

[0104]

[0105]

[0106]

[0107] x=||p j -p i || (9)

[0108]

[0109] Among them, α' is the improved filtering factor, l i For any point P in the point cloud model i The corresponding neighborhood curvature, when l i The larger the corresponding P i The greater the distance the point moves in the normal direction, the greater the distance l i The smaller the corresponding P i The smaller the distance the point moves in the normal direction;

[0110] The specific steps of the small-scale denoising algorithm based on improved bilateral filtering of normal vector correction are as follows:

[0111] (1) Input point cloud data and construct a KD tree structure;

[0112] (2) Given the number of points k in the domain, any point P in the neighborhood i The neighborhood point set N(P i );

[0113] (3) Use the improved PCA algorithm to calculate the normal vector n of each neighborhood point i ;

[0114] (4) The minimum tree generation method corrects the direction of the normal vector to make it consistent. The normal vector is denoted by n i ';

[0115] (5) Calculate the curvature k of all points i ;

[0116] (6) According to equations (9) and (10), calculate the parameters x and y;

[0117] (7) According to equations (7) and (8), calculate the spatial domain weight and feature domain weights

[0118] (8) Obtain the filter factor α' according to formula (6);

[0119] (9) Relative α' and n i Substitute into formula (5) to get the new point P after adjusting the position i ';

[0120] (10) All point cloud data are traversed in sequence to complete denoising, and the algorithm ends.

[0121] 2 Experiment and analysis of multi-scale point cloud fusion denoising algorithm

[0122] This paper uses the bunny from the Stanford University 3D scan repository as the experimental sample. The original 3D solid model of the sample is shown in Fig. 9 After adding noise to the bunny original point cloud, the multi-scale point cloud fusion denoising algorithm is run to show the effect. The algorithm experimental results are shown in the figure below. Fig.10 As shown. Among them, Fig.10 (a) is the original point cloud after bunny added random noise; Fig.10 (b) is the effect diagram after the algorithm in this paper runs to the large-scale noise removal algorithm based on multi-algorithm fusion, that is, large-scale noise removal. It can be seen that after running the algorithm, the large-scale noise of the point cloud is basically removed, and the effect is good; Fig.10 (c) is the effect diagram of the algorithm in this paper after running to the small-scale noise removal algorithm based on normal vector correction bilateral filtering, that is, small-scale noise removal. It is also the final denoising result diagram of the algorithm in this paper. It can be seen that the small-scale noise drifting around the model has been basically removed; Fig.10 (d) Fig.10 (e) Fig.10 (f) corresponds to Fig.10 (a) Fig.10 (b) Fig.10 (c) is the reconstruction effect diagram based on Geomagic Wrap 2017. It can be seen more intuitively that the effect after the algorithm is run. Before running the algorithm, the model has problems such as burrs, flash, convex hulls, holes, etc. After the algorithm is run, the reconstruction effect is relatively smooth. Table 1 also shows intuitively that during the execution of the denoising algorithm, the noise points are significantly reduced, the number of fitted triangles after reconstruction is reduced, and the problems such as nails are also largely removed, and the denoising effect is good.

[0123] Table 1 Bunny model data analysis table

[0124]

[0125] According to the experimental results, it can be analyzed that after the multi-scale point cloud fusion denoising algorithm is used, the point cloud data of the main model of the experimental sample is kept well, the contour is clear and smooth, and the original model is basically obtained. The overall result shows that this algorithm has a good effect on noise removal of point cloud data and establishes a good data foundation for subsequent surface reconstruction.

[0126] 3 Conclusion

[0127] This paper mainly studies the source, model and classification of noise, proposes a multi-scale point cloud fusion denoising algorithm, and verifies the algorithm effect through experiments. First, the source of point cloud noise is analyzed and the data model of noise is established. Secondly, the point cloud noise is classified according to the spatial distance between the noise and the main point cloud. Then, a multi-scale point cloud fusion denoising algorithm is proposed. By classifying the noise according to scale, large-scale noise is removed by a large-scale noise removal algorithm based on multi-algorithm fusion, and small-scale noise is removed by a bilateral filtering method based on normal vector correction. Finally, the effectiveness of the multi-scale point cloud fusion denoising method is verified through the Bunny experiment.

Claims

1. A multi-scale point cloud fusion denoising method for cultural relics digitization, characterized in that: The following steps are involved: S1. Collect and classify the point cloud data to be processed: classify the noise points into background noise, outlier noise and mixed noise according to their spatial distribution in the point cloud model; classify the background noise and outlier noise into large-scale noise and the mixed noise into small-scale noise based on the distance between the point cloud noise and the point cloud model; S2. Background noise removal: Conditional filtering method is used to remove background noise. The specific operation is as follows: (1) Input the point cloud value and set the thresholds of the filter conditions in the x, y, and z directions; (2) Delete the point cloud data outside the threshold; (3) Visualize the model to see whether the removal is complete. If the removal is complete, export the data. If not, return to step (1) to adjust the filtering conditions and continue the execution. (4) Output the model after removing background noise; S3. Removal of outlier noise: The statistical filtering method is used to remove outlier noise. The specific operation is as follows: Assume that the distance values ​​of all points in the point cloud model and the points in their neighborhood conform to the Gaussian distribution, and set a standard range value d by the mean and standard deviation of the Gaussian curve max , and then take the number of domain points k, and find the average distance from each point in the neighborhood to the sampling point Compare max and The size of Then the selected point is determined to be a model point and retained. Then the point is determined to be a noise point and deleted, and the algorithm ends after traversing all points; S4. Removal of local residual large-scale noise: The radius filtering method is used to remove local residual large-scale noise. The specific operation is as follows: (1) Assume that any point P in the scattered point cloud model i , take P i The radius of k nearest neighbors is r, and if P i The number of nearest neighbors is N; (2) Set the threshold to N t ; (3) Determine the number of neighbors N and the threshold N t The size of: If N>N t , then keep P i Point, if N <N t , then delete P i point; (4) Let i=i+1, that is, P i =P i+1 ; (5) Traverse all points and output the denoised point cloud; (6) Determine whether the noise has been removed: if it has been removed, output the point cloud data; If the removal is not complete, adjust the radius to r = rC and repeat steps (1) to (5); (7) After large-scale noise removal is completed, denoising is completed and point cloud data is output; S5. Removal of small-scale noise points: The improved bilateral filtering method with normal vector correction is used to remove small-scale noise. The specific operations are as follows: First, a KD tree structure is constructed based on the K neighborhood to establish a topological relationship for the scattered point cloud, and then the improved PCA algorithm is used to estimate the normal vector n i , and then use the minimum tree generation method to correct the normal direction to n i ', then optimize the bilateral filter factor α and convert the normal vector n of all points i Substitute 'and the improved filter factor α' into the bilateral filter definition to complete the denoising of the point cloud data.

2. The multi-scale point cloud fusion denoising method for cultural relics digitization as claimed in claim 1, characterized in that: In step S3, outlier noise is removed, and the specific algorithm steps are as follows: (1) Select the k value of the domain, select any point and calculate the average distance from the point to its k nearest neighbors for: (2) Calculation The mean and standard deviation of max : d max =μ+a·σ (2) Among them, μ is the mean, σ is the standard deviation, a is the proportionality coefficient, and a is related to the k value; (3) Compare the average distance of each point With the standard range value d max The size of Then the point is a normal point and is retained; if Then the point is a noise point, delete it, traverse all points, and the outlier noise removal is completed.

3. The multi-scale point cloud fusion denoising method for cultural relics digitization as claimed in claim 1, characterized in that: When removing small-scale noise in step S5, the improved bilateral filtering definition and filtering factor are: P i '=P i +a'·n i ' (5) x=||p j -p i || (9) Among them, α' is the improved filtering factor, l i For any point P in the point cloud model i The corresponding neighborhood curvature, when l i The larger the corresponding P i The greater the distance the point moves in the normal direction, the greater the distance l i The smaller the corresponding P i The smaller the distance the point moves in the normal direction; The specific steps of the small-scale denoising algorithm based on improved bilateral filtering of normal vector correction are as follows: (1) Input point cloud data and construct a KD tree structure; (2) Given the number of points k in the domain, any point P in the neighborhood i The neighborhood point set N(P i ); (3) Use the improved PCA algorithm to calculate the normal vector n of each neighborhood point i ; (4) The minimum tree generation method corrects the direction of the normal vector to make it consistent. The normal vector is denoted by n i '; (5) Calculate the curvature k of all points i ; (6) According to equations (9) and (10), calculate the parameters x and y; (7) According to equations (7) and (8), calculate the spatial domain weight and feature domain weights (8) Obtain the filter factor α' according to formula (6); (9) Relative α' and n i Substitute into formula (5) to get the new point P after adjusting the position i '; (10) All point cloud data are traversed in sequence to complete denoising, and the algorithm ends.

Citation Information

Patent Citations

  • Three-dimensional point cloud data acquisition and processing method

    CN114170281A

  • Image processing-based k-nearest neighbor point cloud filtering method, apparatus, and storage medium

    WO2021142995A1

Cited By

  • Point cloud data processing and fine calculation method and device and readable storage medium thereof

    CN119477957A

  • Point cloud data processing and refined calculation method, device and readable storage medium thereof

    CN119477957B

  • Adaptive joint filtering method based on local feature and spatial distance relation

    CN120318525A

  • Adaptive joint filtering method based on local feature and spatial distance relationship

    CN120318525B