Saliency structure perception-based point cloud denoising method and device
By combining the structural measurement and diffusion model of cognitive psychology and selecting an appropriate noise estimation model to conduct guided denoising of 3D point clouds, the problem of adversarial point cloud attacks in the existing technology being difficult to effectively handle is solved, and the efficiency is significantly improved. Denoising effect and enhanced security.
Patent Information
- Application Number
- CN202410915850.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-10-22
AI Technical Summary
Existing 3D point cloud denoising methods are difficult to effectively resist adversarial point cloud attacks, especially in application fields where security requirements are priority, and existing methods fail to fully consider the characteristics of the human visual system on 3D models, resulting in denoising effects Not good.
Combined with the structure measurement and diffusion model of cognitive psychology, through the forward diffusion and reverse denoising process, an appropriate noise estimation model is selected according to the value of the structure measurement function, and the point cloud is subjected to guided denoising processing to improve the denoising effect. .
It significantly improves the denoising effect of adversarial point clouds, can better retain the sensitive dominant structure of the human visual system, and enhances the robustness and security of point clouds.
Smart Images

Figure CN118823360A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer vision technology, and in particular to a point cloud denoising method based on salient structure perception, a computer readable storage medium, a computer device, and a point cloud denoising device based on salient structure perception. Background Art
[0002] In recent years, many fields based on 3D data, such as autonomous driving and virtual reality, have developed rapidly. As a result, deep models designed for 3D point clouds have made significant progress in tasks such as classification and semantic segmentation. However, relevant studies have also shown that deep models can easily be misled by carefully designed adversarial point clouds, which is unacceptable in some application areas where security needs are prioritized. Existing defense strategies for adversarial point clouds can be divided into two main types. The first type of defense strategy is to train a powerful and stable deep model to better extract the features of adversarial point clouds. The other strategy is to denoise the adversarial point cloud and then input the denoised point cloud into a well-trained deep model. Such a strategy is not limited by the deep model, is efficient and easy to migrate.
[0003] Existing denoising modules designed for three-dimensional point clouds essentially define and measure the significant structures of point clouds. For example, the classic three-dimensional Gaussian filter has the same smoothing performance in all directions and does not give preference to structures in specific directions. The bilateral filter designed for point clouds improves the filtering effect by introducing plane models and normal vector information. However, for non-planar local point clouds, the use of plane models for estimation will lose some local features.
[0004] Salient structure perception is regarded as an important part of computer vision and computer graphics. It can be used to find perceptually important areas and provide saliency measurement guidance for tasks such as interest point detection, viewpoint selection, mesh simplification and segmentation. The modeling methods of saliency detection can be divided into three types: non-learning methods, traditional machine learning methods and deep learning methods. In non-learning methods, low-level features such as color, brightness, texture or mid-level features such as horizontal lines and center points are usually used to define saliency structures. In methods based on traditional machine learning models, researchers define saliency detection problems as binary classification problems or supervised learning regression problems and use traditional machine learning algorithms to calculate saliency values. In recent years, with the rapid development of deep learning theory and applications, researchers have applied deep convolutional neural networks to saliency detection and achieved good results.
[0005] However, current research on visual salient structures mainly focuses on 2D images and videos, and existing saliency detection methods designed for 2D data are difficult to directly apply to 3D models. Purely mathematical measurement methods, such as curvature, are used for saliency measurement, but do not take into account the characteristics of the human visual system on 3D models. Summary of the invention
[0006] The present invention aims to solve at least one of the technical problems in the above-mentioned technology to a certain extent. To this end, one purpose of the present invention is to propose a point cloud denoising method based on significant structure perception, by combining the structure metric based on cognitive psychology with the diffusion model, using the confidence calculated according to the structure metric based on cognitive psychology to measure and compare the degree of disturbance to the point cloud, and selecting a suitable noise estimation model to perform guided denoising on the point cloud, thereby improving the denoising effect.
[0007] A second object of the present invention is to provide a computer-readable storage medium.
[0008] A third object of the present invention is to provide a computer device.
[0009] The fourth objective of the present invention is to propose a point cloud denoising device based on salient structure perception.
[0010] To achieve the above-mentioned purpose, the first embodiment of the present invention proposes a point cloud denoising method based on significant structure perception, including obtaining three-dimensional point cloud data; constructing a diffusion probability model, and forward diffusing the three-dimensional point cloud data according to a plurality of pre-set different forward diffusion time steps and the diffusion probability model to obtain a corresponding trained noise estimation model, wherein, when performing forward diffusion, a first structure measurement function value corresponding to the noise point cloud corresponding to the feedback is calculated; a measurement table is created according to each different forward diffusion time step, the first structure measurement function value corresponding to each different forward diffusion time step, and the noise estimation model; an adversarial point cloud is obtained, and a second structure measurement function value corresponding to the adversarial point cloud is calculated; according to the second structure measurement function value, the closest first structure measurement function value is queried in the measurement table, and the forward diffusion time step and noise estimation model corresponding to the closest first structure measurement function value are obtained; the adversarial point cloud is denoised using the corresponding forward diffusion time step and the noise estimation model to obtain a denoised point cloud.
[0011] According to the point cloud denoising method based on significant structure perception of an embodiment of the present invention, first, three-dimensional point cloud data is obtained; then, a diffusion probability model is constructed, and the three-dimensional point cloud data is forward diffused according to a plurality of pre-set different forward diffusion time steps and diffusion probability models to obtain a corresponding trained noise estimation model, wherein, when performing forward diffusion, a first structure measurement function value corresponding to the noise point cloud corresponding to the feedback is calculated; then, a measurement table is created according to each different forward diffusion time step, the first structure measurement function value corresponding to each different forward diffusion time step, and the noise estimation model; then, an adversarial point cloud is obtained, and according to the The second structure measurement function value corresponding to the resistant point cloud is displayed; then, according to the second structure measurement function value, the first structure measurement function value closest to it is queried in the measurement table, and the forward diffusion time step and noise estimation model corresponding to the first structure measurement function value closest to it are obtained; finally, the corresponding forward diffusion time step and noise estimation model are used to denoise the adversarial point cloud to obtain a denoised point cloud; thus, the confidence obtained by calculating the structural metric based on cognitive psychology can be used to measure and compare the degree of disturbance of the point cloud, and a suitable noise estimation model can be selected to perform guided denoising on the point cloud, thereby improving the denoising effect.
[0012] In addition, the point cloud denoising method based on significant structure perception proposed in the above embodiment of the present invention may also have the following additional technical features:
[0013] Optionally, the first structure measurement function value and the second structure measurement function value are obtained by using the same structure measurement function value calculation method.
[0014] Optionally, the method for calculating the structural measurement function value includes: acquiring point cloud data; calculating the anisotropy metric, local directional metric and non-periodic metric of each point in the point cloud data in its neighborhood; obtaining the structural measurement function value corresponding to each point according to the anisotropy metric, local directional metric and non-periodic metric, wherein the larger the structural measurement function value, the higher the confidence level that the corresponding point belongs to the dominant structure in the point cloud data; calculating an average value according to the structural measurement function values corresponding to all points, and using the average value as the structural measurement function value corresponding to the point cloud data.
[0015] Optionally, the anisotropy measure of each point in the point cloud data in its neighborhood is calculated, including: migrating each point in the point cloud data to a three-dimensional scene to obtain a three-dimensional structure tensor matrix corresponding to each point; obtaining the main eigenvalue and secondary eigenvalue corresponding to the three-dimensional structure tensor matrix corresponding to each point, and obtaining the anisotropy measure of each point in its neighborhood based on the main eigenvalue and the secondary eigenvalue.
[0016] Optionally, the local directionality metric of each point in the point cloud data in its neighborhood is calculated according to the following formula:
[0017]
[0018] Among them, P i represents the i-th point in the point cloud data, represents the local directionality measure of the i-th point in the point cloud data in its neighborhood, r(P i ) represents point P i The neighborhood window centered at r(P i ) is a point in the neighborhood window, A(q) represents the anisotropy measure of point q in its neighborhood in the point cloud data, Indicates point P i The absolute value of the dot product of the principal eigenvalue of the corresponding three-dimensional structure tensor matrix and the principal eigenvalue of the three-dimensional structure tensor matrix corresponding to point q.
[0019] Optionally, the non-periodic measure of each point in the point cloud data in its neighborhood is calculated according to the following formula:
[0020]
[0021] Among them, L(P i ) represents the non-periodic measure of the i-th point in the point cloud data in its neighborhood, xyz represents the spatial coordinates, w(r) represents the weighting coefficient of each point in the neighborhood window, I x ,I y ,I z Represent the first-order partial derivatives of each point in the window in the x, y, and z directions respectively.
[0022] Optionally, the following formula is used to obtain the structure measurement function value corresponding to each point according to the anisotropic metric, the local directional metric and the non-periodic metric:
[0023]
[0024] Among them, M represents the value of the structure measurement function, which is used to evaluate the confidence of whether the corresponding point in the point cloud belongs to the dominant structure. The higher the confidence, the larger the M value. α represents the normalization factor, and γ and δ represent the sensitivity adjustment factors.
[0025] To achieve the above-mentioned objectives, the second aspect of the present invention proposes a computer-readable storage medium, on which a point cloud denoising program based on salient structure perception is stored. When the point cloud denoising program based on salient structure perception is executed by a processor, the point cloud denoising method based on salient structure perception as described above is implemented.
[0026] To achieve the above-mentioned objectives, the third aspect of the present invention proposes a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the point cloud denoising method based on significant structure perception as described above is implemented.
[0027] To achieve the above-mentioned purpose, the fourth aspect of the present invention proposes a point cloud denoising device based on significant structure perception, including a first acquisition module for acquiring three-dimensional point cloud data; a forward diffusion module for constructing a diffusion probability model, and forward diffusion of the three-dimensional point cloud data according to a plurality of pre-set different forward diffusion time steps and the diffusion probability model to obtain a corresponding trained noise estimation model, wherein, when performing forward diffusion, a first structural measurement function value corresponding to the noise point cloud corresponding to the feedback is calculated; a creation module for generating a noise estimation model according to each different forward diffusion time step and each different forward diffusion time step. A measurement table is created based on the first structure measurement function value and the noise estimation model corresponding to the diffusion time step; a second acquisition module is used to obtain the adversarial point cloud, and the second structure measurement function value corresponding to the adversarial point cloud is calculated; a query module is used to query the closest first structure measurement function value in the measurement table based on the second structure measurement function value, and obtain the forward diffusion time step and the noise estimation model corresponding to the closest first structure measurement function value; a denoising module is used to denoise the adversarial point cloud using the corresponding forward diffusion time step and the noise estimation model to obtain a denoised point cloud.
[0028] According to the point cloud denoising device based on significant structure perception of an embodiment of the present invention, three-dimensional point cloud data is acquired through a first acquisition module; a forward diffusion module constructs a diffusion probability model, and forward diffuses the three-dimensional point cloud data according to a plurality of pre-set different forward diffusion time steps and diffusion probability models to obtain a corresponding trained noise estimation model, wherein, when performing forward diffusion, a first structure measurement function value corresponding to the noise point cloud corresponding to the corresponding feedback is calculated; a creation module creates a measurement table according to each different forward diffusion time step, the first structure measurement function value corresponding to each different forward diffusion time step, and the noise estimation model; a second acquisition module acquires adversarial point cloud data. The adversarial point cloud is calculated according to the second structural measurement function value corresponding to the adversarial point cloud; the query module queries the first structural measurement function value closest to it in the measurement table according to the second structural measurement function value, and obtains the forward diffusion time step and noise estimation model corresponding to the first structural measurement function value closest to it; the denoising module uses the corresponding forward diffusion time step and noise estimation model to denoise the adversarial point cloud to obtain a denoised point cloud; thus, the confidence obtained by calculating the structural metric based on cognitive psychology can be used to measure and compare the degree of disturbance of the point cloud, and a suitable noise estimation model can be selected to perform guided denoising on the point cloud, thereby improving the denoising effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 A schematic diagram of a process of a point cloud denoising method based on significant structure perception according to an embodiment of the present invention;
[0030] Figure 2 A schematic diagram of a structural flow chart according to an embodiment of the present invention;
[0031] Figure 3 A schematic diagram showing a comparison of the effects of denoising the attacked point cloud using the denoising method according to an embodiment of the present invention and other methods;
[0032] Figure 4 4 is a block diagram of a point cloud denoising device based on significant structure perception according to an embodiment of the present invention. DETAILED DESCRIPTION
[0033] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0034] In order to better understand the above technical solution, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.
[0035] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0036] Figure 1 FIG. 1 is a flow chart of a point cloud denoising method based on significant structure perception according to an embodiment of the present invention. Figure 1 As shown in FIG. 1 , the point cloud denoising method based on salient structure perception includes the following steps:
[0037] S101, obtaining three-dimensional point cloud data.
[0038] It should be noted that the three-dimensional point cloud data is a clean point cloud data set.
[0039] S102, constructing a diffusion probability model, and forward diffusion of the three-dimensional point cloud data according to a plurality of pre-set different forward diffusion time steps and diffusion probability models to obtain a corresponding trained noise estimation model, wherein, when performing forward diffusion, a first structure measurement function value corresponding to the corresponding feedback noise point cloud is calculated.
[0040] That is, when the three-dimensional point cloud data is forward diffused through the diffusion probability model, forward diffusion is performed according to different preset forward diffusion time steps, thereby obtaining the first structure measurement function value corresponding to each forward diffusion time step and the trained noise estimation model.
[0041] As an example, assume that the preset multiple gradually increasing forward diffusion time steps include t={t1, t2...t n}, then after forward diffusion according to each forward diffusion time step, a trained noise estimation model and a first structure measurement function value corresponding to each are obtained.
[0042] It should be noted that the diffusion probability model is inspired by non-equilibrium statistical physics. Its basic idea is to slowly destroy the structure of data distribution through an iterative forward diffusion process, and then gradually restore the structure of the data by learning a reverse denoising process. This application introduces the laws of human visual cognition in cognitive psychology into the design of three-dimensional point cloud denoising filters, providing new ideas and means for high-quality denoising reconstruction of adversarial point clouds; that is, in the process of forward diffusion of the clean point cloud by the diffusion probability model, each point in the point cloud will gradually be superimposed with independent Gaussian noise to simulate the disturbance imposed on the point cloud by the attack strategy; as the forward diffusion process proceeds, when the degree of disturbance imposed on the clean point cloud is slightly greater than the disturbance imposed on the point cloud by a certain attack strategy, the forward diffusion is stopped and training is performed to obtain a noise estimation model; at this time, the trained noise estimation model is used to reversely denoise the adversarial point cloud under the attack strategy, which can offset the attack disturbance to a certain extent, so that the points in the adversarial point cloud return to their original correct positions, thereby achieving the purpose of noise reduction.
[0043] In order to measure and compare the degree of disturbance to the point cloud, the structural metric based on cognitive psychology is introduced into the denoising module. The structural measurement function M of a certain point cloud is calculated according to the structural metric based on cognitive psychology, and a specific measurement and comparison standard is obtained. Specifically, in the forward diffusion process, as the degree of disturbance increases, the salient structure of the point cloud gradually degenerates, and the value of the structural measurement function M of the point cloud tends to decrease. Therefore, in this process, the structural metric based on cognitive psychology can be used as a metric for the degree of disturbance of the point cloud. In the reverse denoising process, for point clouds with high disturbance degree and poor salient structure, a larger time step t is suitable to offset the attack disturbance; for point clouds with small disturbance degree and obvious salient structure, a smaller time step t is suitable to retain the basic structure of the point cloud. Therefore, in this process, the structural metric based on cognitive psychology can be used as a selection criterion for the time step t and the noise estimation model p.
[0044] S103: Create a measurement table according to each different forward diffusion time step, the first structure measurement function value corresponding to each different forward diffusion time step, and the noise estimation model.
[0045] That is to say, in the process of forward diffusion, the saliency structure of the point cloud is destroyed and its M value is continuously reduced; therefore, according to the set value decreasing scale M = {M1, M2...M m}, by querying the measurement table, we can get the appropriate forward diffusion time step t and the well-trained noise estimation model p corresponding to different M values.
[0046] S104, obtaining an adversarial point cloud, and measuring a function value according to a second structure corresponding to the adversarial point cloud.
[0047] S105, searching the measurement table for the first structure measurement function value closest to the second structure measurement function value according to the second structure measurement function value, and obtaining the forward diffusion time step and noise estimation model corresponding to the first structure measurement function value closest to the second structure measurement function value.
[0048] S106, denoising the adversarial point cloud using the corresponding forward diffusion time step and noise estimation model to obtain a denoised point cloud.
[0049] As an embodiment, the same structure measurement function value calculation method is used to obtain the first structure measurement function value and the second structure measurement function value.
[0050] As a specific embodiment, a method for calculating a structural measurement function value includes: acquiring point cloud data; calculating anisotropic metrics, local directional metrics, and non-periodic metrics for each point in the point cloud data in its neighborhood; obtaining a structural measurement function value corresponding to each point based on the anisotropic metrics, local directional metrics, and non-periodic metrics, wherein the larger the structural measurement function value, the higher the confidence level that the corresponding point belongs to the dominant structure in the point cloud data; calculating an average value based on the structural measurement function values corresponding to all points, and using the average value as the structural measurement function value corresponding to the point cloud data.
[0051] It should be noted that psychological research shows that the human cognitive system is sensitive to the structure of various forms of entities; and that human understanding of visual information is achieved through structural grouping of visual information; therefore, if an entity needs to be abstracted, the most important step is how to define and extract the structural features of the entity. Specifically, it is how to distinguish between significant visual structures and unimportant visual structures, how to maintain significant visual structures, and how to eliminate the interference of unimportant visual structures on the cognitive process.
[0052] Furthermore, the laws of human visual cognition in cognitive psychology show that "human understanding of structural information is cognitively driven, stimulated by visual events, has significant changes and directions, and may be inhibited by the relationship between entities." This cognitive law can be specifically supported by the following observations:
[0053] Anisotropy; the consistent but unequal perception of stimuli in different directions caused by intensity changes, the structure is often uneven, that is, visually significant structures tend to form a main direction in intensity changes rather than changing equally in all directions. This visual anisotropy is a widely recognized discovery and a simple clue that can directly obtain structural information.
[0054] Local directionality: Visually salient structures have intensity variations that usually have consistent directionality within a local area.
[0055] Aperiodic; unlike texture details which tend to appear periodically within a local area, the intensity variations exhibited by salient visual structures do not usually oscillate frequently.
[0056] Inspired by some of the above-mentioned solid observations in psychology, a structural measurement method that is more in line with the human cognitive process can more completely preserve the structural information that is more sensitive to the human visual system during the abstraction process of the entity. This application introduces the theory of cognitive psychology into the saliency structure measurement of three-dimensional point clouds, and proposes a structural measurement based on cognitive psychology to identify, obtain and measure the dominant structure that conforms to human visual cognition. Specifically, the anisotropy, local directionality and non-periodicity of each point in the 3D point cloud in its neighborhood are comprehensively considered to define the structural measurement function.
[0057] As an embodiment, the anisotropy measure of each point in the point cloud data in its neighborhood is calculated, including: migrating each point in the point cloud data to a three-dimensional scene to obtain a three-dimensional structure tensor matrix corresponding to each point; obtaining the main eigenvalue and secondary eigenvalue corresponding to the three-dimensional structure tensor matrix corresponding to each point, and obtaining the anisotropy measure of each point in its neighborhood based on the main eigenvalue and the secondary eigenvalue.
[0058] Specifically, the measure of anisotropy A is derived from the structure tensor in a three-dimensional scene. In two-dimensional image processing, the structure tensor not only contains the intensity distribution information in a neighborhood centered on each pixel, but also describes the dominant direction of the gradient change at the pixel. Thanks to the excellent properties of the structure tensor, it is transferred to the three-dimensional scene:
[0059]
[0060] Among them, S represents the three-dimensional structure tensor matrix, P i represents the i-th point in the point cloud data, xyz represents the spatial coordinates, r represents the neighborhood window centered on P, ω(r) represents the weighting coefficient of each point in the neighborhood window, and I x ,I y ,I z Represent the first-order partial derivatives of each point in the window in the x, y, and z directions respectively.
[0061] The eigenvalues and eigenvectors of the structure tensor have certain physical meanings. Specifically, the main eigenvalues and main eigenvectors of the structure tensor describe the maximum degree and direction of the visually significant structure, while the secondary eigenvalues and secondary eigenvectors of the structure tensor describe the secondary degree and direction of the visually significant structure; the relationship between the two eigenvalues can be used to determine the nature of the region to which the pixel belongs. Therefore, the anisotropy A can be derived from the structure tensor:
[0062]
[0063] Among them, λ1 and λ2 represent the main eigenvalue and secondary eigenvalue of the structure tensor at point P, respectively. It should be noted that there are three eigenvalues in the structure tensor matrix at point P. The largest eigenvalue can be selected as the main eigenvalue, and the second largest eigenvalue can be selected as the secondary eigenvalue. Obviously, the value range of this anisotropy metric is [0, 1], which describes the degree of anisotropy at this point. The larger the value, the higher the degree of anisotropy at the pixel point. The larger the value, the more there is a structure with a dominant intensity variation trend at the pixel. It is hoped that those pixels with a higher degree of anisotropy will have more contributions, so anisotropy A is used as a metric to better detect the main direction.
[0064] As an example, local directionality can be described as the intensity variations of visually salient structures having generally consistent directionality within a local region.
[0065] The local directional measure D of the structure in a region is also based on the three-dimensional structure tensor and is defined with the help of the anisotropy A of the structure tensor:
[0066]
[0067] Among them, the value range of the vector inner product is [0, 1], so the value range of this local directionality measure is [0, 1]. Obviously, when the two vectors are closer to collinearity, that is, when the angle between them is close to 0 or π, the value of the scalar product increases; when the two vectors are perpendicular, the scalar product is equal to 0; in addition, points with high anisotropy are encouraged to contribute more, so the anisotropy A of the structure tensor is applied as a weight to better capture the main direction.
[0068] As an embodiment, the non-periodicity measure of each point in the point cloud data in its neighborhood is calculated according to the following formula:
[0069]
[0070] Among them, L(P i ) represents the non-periodic measure of the i-th point in the point cloud data in its neighborhood, xyz represents the spatial coordinates, w(r) represents the weighting coefficient of each point in the neighborhood window, I x ,I y ,I z Respectively represent the first-order partial derivatives of each point in the window in the x, y, and z directions; the non-periodic metric suppresses the periodic texture style elements by offsetting the gradients.
[0071] As an example, the theory of cognitive psychology is introduced into the saliency structure measurement of three-dimensional point clouds, and a structure measurement based on cognitive psychology is proposed to identify, obtain and measure the dominant structure that conforms to human visual cognition. Specifically, the anisotropy, local directionality and non-periodicity of each point in the 3D point cloud in its neighborhood are comprehensively considered, and the structure measurement function is defined as:
[0072]
[0073] Among them, M is the confidence level for evaluating whether a point x in a specific point cloud belongs to the dominant structure. The higher the confidence level, the larger the M value. A, D, and L are the manifestations of observations corresponding to the relevant laws of cognitive psychology. α is the normalization factor. γ and δ are sensitivity adjustment factors, among which γ is specifically used for non-periodic sensitivity adjustment.
[0074] In the process of designing noise reduction defense strategies, it is very important to define and measure a general salient structure and use it as a guide for noise reduction. Thanks to the introduction of psychological theory into the salient structure measurement, the structural measurement based on cognitive psychology can calculate the confidence that each point belongs to the salient structure. On this basis, by combining the structural measurement based on cognitive psychology with the diffusion model, we can focus on the dominant structure that truly conforms to human visual saliency in the process of reconstructing the adversarial point cloud, thereby improving the denoising effect. The specific structural flow diagram is shown in the figure. Figure 2 shown.
[0075] Specifically, a point-voxel CNN is used as the backbone network of the diffusion model, and the diffusion model is trained on ModelNet40 and ShapeNet Part, respectively.
[0076] ModelNet40 was selected as the default dataset for experiments. In addition, the ShapeNet Part dataset was selected to verify the scalability of this application. ModelNet40 includes 12,311 3D objects from 40 common categories, of which there are 2,468 test samples. ShapeNet Part includes 16,846 3D objects from 16 common categories, of which there are 2,874 test samples. In order to generate a unified standard adversarial point cloud, 1,024 points are uniformly sampled from the original point cloud surface of each object and scaled into a unit sphere. CurveNet was selected as the default target model for experiments. CurveNet designs a novel curve grouping and aggregation module to effectively capture the shape and geometric features of point clouds, and has achieved good performance in classification performance. In addition, other classic 3D point cloud recognition models were selected to verify the scalability of this application, including the multi-layer perceptron (MLP)-based method PointNet, the convolution-based method PointConv, and the Transformer-based method. Six attack methods, 3D-Adv, kNN-Adv, PGD, AdvPC, AOF, and point deletion, are selected to generate adversarial point clouds. The proposed diffusion denoising method based on cognitive psychology is compared with the baseline defense methods. These methods also aim to denoise the adversarial point cloud before inputting it into the model. SRS, SOR, DUP-Net, IF-Defense, and Ada3Dif are selected as baseline defense methods.
[0077] In order to evaluate the effectiveness of this application against different attack strategies, CurveNet was selected as the default target model, and the robust classification accuracy was tested on the ModelNet40 dataset and compared with other baseline defense methods, as shown in Table 1 below:
[0078] Table 1
[0079]
[0080]
[0081] It can be seen that the method of this application performs well in most cases; under the 3D-Adv attack, the method of this application is not as good as SOR, but it is still within an acceptable range. Under the point drop attack, that is, Drop-200 attack, all defense methods perform poorly, but the method of this application still has better results than other methods.
[0082] In order to evaluate the universality of the method of this application on different data sets, the robust classification accuracy was tested on the ShapeNet Part data set and compared with Ada3Diff, as shown in Table 2 below:
[0083] Table 2
[0084]
[0085] It can be seen that the method of this application has also achieved good defense performance on the ShapeNet Part dataset. This proves that the diffusion denoising method based on cognitive psychology can well focus on, identify, and capture the dominant structures in various target point clouds that are more sensitive to the human visual system, providing a good guide for the denoising module in the process of reconstructing adversarial point clouds.
[0086] In order to evaluate the universality of the method of this application for different 3D point cloud recognition models, the robust classification accuracy was tested on classic 3D point cloud recognition models of different architectures and compared with Ada3Diff, as shown in Table 3 below:
[0087] Table 3
[0088]
[0089]
[0090] It can be seen that the method of this application performs well and is highly portable in scenarios of 3D point cloud recognition models with different architectures. This proves that the combination of structural metrics based on cognitive psychology and the diffusion probability model inspired by non-equilibrium statistical physics can produce a highly flexible and processable guided denoising module, which can provide high-quality denoised point clouds for 3D point cloud recognition models with different architectures. The specific effect comparison diagram is shown in the figure. Figure 2 shown.
[0091] In summary, according to the point cloud denoising method based on significant structure perception in an embodiment of the present invention, first, three-dimensional point cloud data is obtained; then, a diffusion probability model is constructed, and forward diffusion is performed on the three-dimensional point cloud data according to a plurality of preset different forward diffusion time steps and diffusion probability models to obtain a corresponding trained noise estimation model, wherein, when performing forward diffusion, a first structure measurement function value corresponding to the corresponding feedback noise point cloud is calculated; then, a measurement table is created according to each different forward diffusion time step, the first structure measurement function value corresponding to each different forward diffusion time step, and the noise estimation model; then, an adversarial point cloud is obtained, The second structural measurement function value corresponding to the adversarial point cloud is calculated; then, the first structural measurement function value closest to it is queried in the measurement table according to the second structural measurement function value, and the forward diffusion time step and noise estimation model corresponding to the first structural measurement function value closest to it are obtained; finally, the adversarial point cloud is denoised using the corresponding forward diffusion time step and noise estimation model to obtain a denoised point cloud; thus, the confidence obtained by calculating the structural metric based on cognitive psychology can be used to measure and compare the degree of disturbance of the point cloud, and a suitable noise estimation model can be selected to perform guided denoising on the point cloud, thereby improving the denoising effect.
[0092] In order to implement the above-mentioned embodiment, the embodiment of the present invention further proposes a computer-readable storage medium, on which a point cloud denoising program based on salient structure perception is stored. When the point cloud denoising program based on salient structure perception is executed by a processor, the point cloud denoising method based on salient structure perception as described above is implemented.
[0093] According to the computer-readable storage medium of an embodiment of the present invention, by storing a point cloud denoising program based on significant structure perception, the processor implements the point cloud denoising method based on significant structure perception as described above when executing the point cloud denoising program based on significant structure perception. As a result, the confidence obtained by calculating the structural metric based on cognitive psychology can be used to measure and compare the degree of disturbance of the point cloud, and a suitable noise estimation model can be selected to perform guided denoising on the point cloud, thereby improving the denoising effect.
[0094] In order to implement the above embodiment, an embodiment of the present invention proposes a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the point cloud denoising method based on significant structure perception as described above is implemented.
[0095] According to the computer device of an embodiment of the present invention, the point cloud denoising program based on significant structure perception is stored in the memory, so that when the processor executes the point cloud denoising program based on significant structure perception, the point cloud denoising method based on significant structure perception as described above is implemented. As a result, the confidence level obtained by calculating the structural metric based on cognitive psychology can be used to measure and compare the degree of disturbance of the point cloud, and a suitable noise estimation model can be selected to perform guided denoising on the point cloud, thereby improving the denoising effect.
[0096] In order to implement the above embodiment, the embodiment of the present invention proposes a point cloud denoising device based on significant structure perception, such as Figure 4 As shown, the point cloud denoising device based on significant structure perception includes: a first acquisition module 10, a forward diffusion module 20, a creation module 30, a second acquisition module 40, a query module 50, and a denoising module 60.
[0097] Among them, the first acquisition module 10 is used to acquire three-dimensional point cloud data; the forward diffusion module 20 is used to construct a diffusion probability model, and forward diffuse the three-dimensional point cloud data according to a plurality of pre-set different forward diffusion time steps and diffusion probability models to obtain a corresponding trained noise estimation model, wherein, when performing forward diffusion, the first structure measurement function value corresponding to the noise point cloud is calculated according to the corresponding feedback; the creation module 30 is used to create a measurement table according to each different forward diffusion time step, the first structure measurement function value corresponding to each different forward diffusion time step, and the noise estimation model; the second acquisition module 40 is used to acquire the adversarial point cloud, and calculate the second structure measurement function value corresponding to the adversarial point cloud; the query module 50 is used to query the first structure measurement function value closest to it in the measurement table according to the second structure measurement function value, and obtain the forward diffusion time step and noise estimation model corresponding to the first structure measurement function value closest to it; the denoising module 60 is used to denoise the adversarial point cloud using the corresponding forward diffusion time step and the noise estimation model to obtain a denoised point cloud.
[0098] As an embodiment, the same structure measurement function value calculation method is used to obtain the first structure measurement function value and the second structure measurement function value.
[0099] As an embodiment, a method for calculating a structural measurement function value includes: obtaining point cloud data; calculating anisotropic metrics, local directional metrics, and non-periodic metrics for each point in the point cloud data in its neighborhood; obtaining a structural measurement function value corresponding to each point based on the anisotropic metrics, local directional metrics, and non-periodic metrics, wherein the larger the structural measurement function value, the higher the confidence level that the corresponding point belongs to the dominant structure in the point cloud data; calculating an average value based on the structural measurement function values corresponding to all points, and using the average value as the structural measurement function value corresponding to the point cloud data.
[0100] As an embodiment, the anisotropy measure of each point in the point cloud data in its neighborhood is calculated, including: migrating each point in the point cloud data to a three-dimensional scene to obtain a three-dimensional structure tensor matrix corresponding to each point; obtaining the main eigenvalue and secondary eigenvalue corresponding to the three-dimensional structure tensor matrix corresponding to each point, and obtaining the anisotropy measure of each point in its neighborhood based on the main eigenvalue and the secondary eigenvalue.
[0101] As an embodiment, the local directionality metric of each point in the point cloud data in its neighborhood is calculated according to the following formula:
[0102]
[0103] Among them, P i represents the i-th point in the point cloud data, represents the local directionality measure of the i-th point in the point cloud data in its neighborhood, r(P i ) represents point P i The neighborhood window centered at r(P i ) is a point in the neighborhood window, A(q) represents the anisotropy measure of point q in its neighborhood in the point cloud data, Indicates point P i The absolute value of the dot product of the principal eigenvalue of the corresponding three-dimensional structure tensor matrix and the principal eigenvalue of the three-dimensional structure tensor matrix corresponding to point q.
[0104] As an embodiment, the non-periodic measure of each point in the point cloud data in its neighborhood is calculated according to the following formula:
[0105]
[0106] Among them, L(P i ) represents the non-periodic measure of the i-th point in the point cloud data in its neighborhood, xyz represents the spatial coordinates, w(r) represents the weighting coefficient of each point in the neighborhood window, I x ,I y ,I z Represent the first-order partial derivatives of each point in the window in the x, y, and z directions respectively.
[0107] As an embodiment, the following formula is used to obtain the structure measurement function value corresponding to each point according to the anisotropy metric, the local directionality metric and the aperiodic metric:
[0108]
[0109] Among them, M represents the value of the structure measurement function, which is used to evaluate the confidence of whether the corresponding point in the point cloud belongs to the dominant structure. The higher the confidence, the larger the M value. α represents the normalization factor, and γ and δ represent the sensitivity adjustment factors.
[0110] It should be noted that the above Figure 1 The description of the point cloud denoising method based on salient structure perception in is also applicable to the point cloud denoising device based on salient structure perception, and will not be repeated here.
[0111] In summary, according to the point cloud denoising device based on significant structure perception of an embodiment of the present invention, three-dimensional point cloud data is acquired through a first acquisition module; a forward diffusion module constructs a diffusion probability model, and forward diffuses the three-dimensional point cloud data according to a plurality of pre-set different forward diffusion time steps and diffusion probability models to obtain a corresponding trained noise estimation model, wherein, when performing forward diffusion, a first structure measurement function value corresponding to the noise point cloud corresponding to the corresponding feedback is calculated; a creation module creates a measurement table according to each different forward diffusion time step, the first structure measurement function value corresponding to each different forward diffusion time step, and the noise estimation model; a second acquisition module acquires adversarial The adversarial point cloud is calculated according to the second structural measurement function value corresponding to the adversarial point cloud; the query module queries the first structural measurement function value closest to it in the measurement table according to the second structural measurement function value, and obtains the forward diffusion time step and noise estimation model corresponding to the first structural measurement function value closest to it; the denoising module denoises the adversarial point cloud using the corresponding forward diffusion time step and noise estimation model to obtain a denoised point cloud; thus, the confidence obtained by calculating the structural metric based on cognitive psychology can be used to measure and compare the degree of disturbance of the point cloud, and a suitable noise estimation model can be selected to perform guided denoising on the point cloud, thereby improving the denoising effect.
[0112] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0113] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0114] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0115] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0116] It should be noted that in the claims, any reference signs placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claim. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.
[0117] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0118] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
[0119] In the description of the present invention, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0120] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0121] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0122] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms should not be understood as necessarily referring to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0123] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A point cloud denoising method based on salient structure perception, characterized in that: The following steps are involved: Obtain 3D point cloud data; Constructing a diffusion probability model, and forward diffusing the three-dimensional point cloud data according to a plurality of preset different forward diffusion time steps and the diffusion probability model to obtain a corresponding trained noise estimation model, wherein, when performing the forward diffusion, a first structure measurement function value corresponding to the corresponding feedback noise point cloud is calculated; Creating a measurement table according to each different forward diffusion time step, the first structure measurement function value corresponding to each different forward diffusion time step, and the noise estimation model; Obtaining an adversarial point cloud, and calculating a second structural measurement function value corresponding to the adversarial point cloud; According to the second structure measurement function value, query the closest first structure measurement function value in the measurement table, and obtain the forward diffusion time step and noise estimation model corresponding to the closest first structure measurement function value; The adversarial point cloud is denoised using the corresponding forward diffusion time step and noise estimation model to obtain a denoised point cloud.
2. The point cloud denoising method based on salient structure perception according to claim 1, characterized in that: The first structure measurement function value and the second structure measurement function value are obtained by using the same structure measurement function value calculation method.
3. The point cloud denoising method based on salient structure perception according to claim 2, characterized in that: The structure measurement function value calculation method includes: Get point cloud data; Calculating anisotropic metrics, local directional metrics, and aperiodic metrics for each point in the point cloud data in its neighborhood; Obtaining a structure measurement function value corresponding to each point according to the anisotropy metric, the local directionality metric, and the non-periodic metric, wherein the larger the structure measurement function value, the higher the confidence level of whether the corresponding point belongs to the dominant structure in the point cloud data; An average value is calculated according to the structural measurement function values corresponding to all points, and the average value is used as the structural measurement function value corresponding to the point cloud data.
4. The point cloud denoising method based on salient structure perception according to claim 3, characterized in that: Calculating the anisotropy metric of each point in the point cloud data in its neighborhood, including: Migrating each point in the point cloud data to a three-dimensional scene to obtain a three-dimensional structure tensor matrix corresponding to each point; The main eigenvalue and the secondary eigenvalue corresponding to the three-dimensional structure tensor matrix corresponding to each point are obtained, and the anisotropy measure of each point in its neighborhood is obtained according to the main eigenvalue and the secondary eigenvalue.
5. The point cloud denoising method based on salient structure perception according to claim 4, characterized in that: The local directionality metric of each point in the point cloud data in its neighborhood is calculated according to the following formula: Among them, P i represents the i-th point in the point cloud data, represents the local directionality measure of the i-th point in the point cloud data in its neighborhood, r(P i ) represents the point P i The neighborhood window centered at r(P i ) is a point in the neighborhood window, A(q) represents the anisotropy measure of point q in its neighborhood in the point cloud data, Indicates point P i The absolute value of the dot product of the principal eigenvalue of the corresponding three-dimensional structure tensor matrix and the principal eigenvalue of the three-dimensional structure tensor matrix corresponding to point q.
6. The point cloud denoising method based on salient structure perception according to claim 5, characterized in that: The non-periodic measure of each point in the point cloud data in its neighborhood is calculated according to the following formula: Among them, L(P i ) represents the non-periodic measure of the i-th point in the point cloud data in its neighborhood, xyz represents the spatial coordinates, w(r) represents the weighting coefficient of each point in the neighborhood window, I x ,I y ,I z Represent the first-order partial derivatives of each point in the window in the x, y, and z directions respectively.
7. The point cloud denoising method based on salient structure perception according to claim 6, characterized in that: The following formula is used to obtain the structure measurement function value corresponding to each point according to the anisotropic metric, the local directional metric and the non-periodic metric: Among them, M represents the value of the structure measurement function, which is used to evaluate the confidence of whether the corresponding point in the point cloud belongs to the dominant structure. The higher the confidence, the larger the M value. α represents the normalization factor, and γ and δ represent the sensitivity adjustment factors.
8. A computer-readable storage medium, characterized in that: A point cloud denoising program based on significant structure perception is stored thereon, and when the point cloud denoising program based on significant structure perception is executed by a processor, the point cloud denoising method based on significant structure perception as described in any one of claims 1-7 is implemented.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the point cloud denoising method based on significant structure perception as described in any one of claims 1 to 7 is implemented.
10. A point cloud denoising device based on salient structure perception, characterized in that: include A first acquisition module, used for acquiring three-dimensional point cloud data; A forward diffusion module is used to construct a diffusion probability model, and to perform forward diffusion on the three-dimensional point cloud data according to a plurality of preset different forward diffusion time steps and the diffusion probability model to obtain a corresponding trained noise estimation model, wherein, when performing forward diffusion, a first structure measurement function value corresponding to the corresponding feedback noise point cloud is calculated; A creation module, used for creating a measurement table according to each different forward diffusion time step, a first structure measurement function value corresponding to each different forward diffusion time step, and a noise estimation model; A second acquisition module is used to acquire an adversarial point cloud and measure a second structural function value corresponding to the adversarial point cloud; A query module, used for querying the closest first structure measurement function value in the measurement table according to the second structure measurement function value, and obtaining the forward diffusion time step and noise estimation model corresponding to the closest first structure measurement function value; A denoising module is used to perform denoising on the adversarial point cloud using the corresponding forward diffusion time step and noise estimation model to obtain a denoised point cloud.
Citation Information
Cited By
Coal mill fault detection system and method based on intelligent deep learning technology
CN119688342A
Three-dimensional point cloud data reconstruction processing method and system
CN121883735A
A three-dimensional point cloud data reconstruction processing method and system
CN121883735B
