A denoising filtering method, terminal and readable storage medium suitable for 3D grid
By calculating the similarity between patches in 3D mesh data and their neighbor patch sets for adaptive filtering, the problem of multiple and sensitive parameters in the existing technology is solved, and efficient 3D mesh data denoising and feature retention are achieved.
Patent Information
- Application Number
- CN202410121561.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-29
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-01-29
AI Technical Summary
In existing 3D grid data filtering algorithms, local-based filtering methods need to set multiple sensitive threshold parameters, resulting in complex and inflexible parameter settings.
By calculating the similarity between patches in 3D mesh data and their neighbor patch sets, adaptive filtering is performed to reduce parameter settings and improve the automation and real-time performance of the algorithm.
It achieves effective denoising and retains the geometric characteristics of 3D mesh data without setting too many parameters, and improves the automation and real-time performance of the filtering algorithm.
Smart Images

Figure CN118115377B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image data processing, and in particular to a denoising filtering method, a terminal and a readable storage medium suitable for 3D grids. Background Art
[0002] In recent years, with the continuous advancement of 3D scanning technology, 3D mesh data and surrounding algorithms have exploded. Using 3D scanning equipment, you can easily obtain 3D mesh models of real-world objects, but the 3D mesh data generated by these devices is more or less noisy due to the influence of the environment and the algorithm, which causes errors in the scanned model, so the scanned data cannot be used directly. Some preprocessing is needed for these original 3D meshes to enhance the quality of the data. A good processing algorithm to enhance data quality should remove noise while retaining the geometric details in the model as much as possible. Therefore, in the field of 3D mesh data filtering, the research on feature-preserving filtering algorithms has always been an active topic in academia and industry.
[0003] In the prior art, filtering algorithms can be roughly divided into two categories, local-based filtering and global-based filtering. In general, the filtering effect of the global filtering algorithm is better than that of the local filtering algorithm, but it is weaker than the local filtering algorithm in protecting local details. However, compared with the local filtering algorithm, its computational complexity is high and its real-time performance is poor. The real-time performance of the algorithm is an important indicator to measure the quality of the algorithm, and the performance of the current local filtering algorithm is getting closer and closer to the global filtering algorithm. Therefore, the local filtering algorithm is increasingly favored by researchers and users.
[0004] However, the local filtering algorithm based on the existing technology is based on the smallest unit (please refer to Figure 1 As shown, the minimum processing unit of the 3D grid is a face or vertex) and the weighted average of its neighborhood elements to achieve filtering. For example, in the filtering algorithm based on the two-part method, the mesh face normals are first filtered, and then the vertices are updated according to the first step of face normal filtering results. In these filtering methods, the 3D grid and the image have very obvious topological connection structures. Therefore, the filtering methods based on local neighborhoods are closer to image filtering in principle. Although these image filtering methods can well complete the feature-preserving filtering task, this method requires manual control of the filtering parameters. In these methods, more threshold parameters must be set to achieve better results. Many parameters and sensitivity are common problems of this type of algorithm. Summary of the invention
[0005] The purpose of the present invention is to provide a denoising filtering method, terminal and readable storage medium suitable for 3D grids, aiming to solve the problem that the feature-preserving filtering algorithm has many and sensitive parameters when filtering 3D grid data in the prior art.
[0006] The technical solution adopted by the present invention to solve the technical problem is as follows:
[0007] The present invention provides a denoising filtering method applicable to a 3D grid, the denoising filtering method applicable to a 3D grid comprising:
[0008] Acquire 3D mesh data, and select a plurality of surface units to be processed according to the 3D mesh data;
[0009] Obtaining neighboring patches of each of the patch units to be processed within a set step range, and forming a plurality of neighboring patch sets corresponding to the patch units to be processed one by one, and calculating the similarity between each of the patch units to be processed and the corresponding neighboring patch set;
[0010] According to the similarity between each of the to-be-processed patch units and the corresponding neighborhood patch set, filtering processing is performed on each of the to-be-processed patch units.
[0011] Further, calculating the similarity between each of the to-be-processed face unit and the corresponding neighborhood face set specifically includes:
[0012] Acquire the normal vector of each of the to-be-processed facet units and the normal vector of each neighboring facet in the corresponding neighboring facet set according to the 3D mesh data;
[0013] For each patch unit to be processed, according to the normal vector of the patch unit to be processed and the normal vector of each neighboring patch in the corresponding neighboring patch set, calculate the angle difference between the normal vector of the patch unit to be processed and the normal vector of each neighboring patch in the corresponding neighboring patch set;
[0014] The similarity between each of the to-be-processed patch units and the corresponding neighborhood patch set is calculated according to the angle difference corresponding to each of the to-be-processed patch units.
[0015] Further, the calculating the similarity between each of the to-be-processed patch units and the corresponding neighborhood patch set according to the angle difference corresponding to each of the to-be-processed patch units specifically includes:
[0016] Normalizing each angle difference corresponding to each of the surface units to be processed, and forming a plurality of new variable sets corresponding to the surface units to be processed one by one;
[0017] Based on each new set of variables, calculate the similarity parameters for each new set of variables;
[0018] According to the similarity parameters of each new variable set, the similarity between the to-be-processed patch unit corresponding to the new variable set and the corresponding neighborhood patch set is obtained.
[0019] Furthermore, the similarity parameters include mean, variance, coefficient of variation and interquartile range.
[0020] Furthermore, the obtaining, according to the similarity parameters of each new variable set, the similarity between the to-be-processed patch unit corresponding to the new variable set and the corresponding neighborhood patch set specifically includes:
[0021] If the similarity parameter of the new variable set satisfies that the variance is less than the variance threshold, it is considered that the similarity between the to-be-processed face unit corresponding to the new variable set and the corresponding neighborhood face set is fully similar;
[0022] If the similarity parameters of the new variable set do not satisfy that the variance is less than the variance threshold, the coefficient of variation is less than the mean, and the four-point difference is less than the coefficient of variation, then it is considered that the similarity between the to-be-processed patch unit corresponding to the new variable set and the corresponding neighborhood patch set is two-thirds similar;
[0023] If the similarity parameters of the new variable set do not satisfy the variance being less than the variance threshold, the coefficient of variation being less than the mean, and the four-point difference being less than the coefficient of variation, then it is considered that the similarity between the to-be-processed face unit corresponding to the new variable set and the corresponding neighborhood face set is one-third similar.
[0024] Further, according to the similarity between each of the to-be-processed patch units and the corresponding neighborhood patch set, filtering processing is performed on each of the to-be-processed patch units, specifically including:
[0025] According to the similarity between each of the to-be-processed patch units and the corresponding neighborhood patch set, a normal guide value of each to-be-processed patch unit is obtained;
[0026] Each vertex of each patch unit to be processed updates its own coordinates according to the normal guide value of the patch unit including the vertex and the patch unit information.
[0027] Further, the obtaining of the normal guide value of each to-be-processed face unit according to the similarity between each to-be-processed face unit and the corresponding neighborhood face set specifically includes:
[0028] According to each of the new variable sets, the corresponding neighborhood patch sets are sorted to obtain sorted neighborhood patch sets corresponding one by one to the patch units to be processed;
[0029] For each of the patch units to be processed, according to the similarity between the patch unit to be processed and the corresponding neighborhood patch set, the unit normal vectors of a set proportion of neighborhood patches with a higher ranking in the corresponding sorted neighborhood patch set are selected and weighted averaged to obtain the normal guide value corresponding to the patch unit to be processed.
[0030] Furthermore, each vertex of each to-be-processed patch unit updates its own coordinates according to the normal guide value of the patch unit including the vertex and the patch unit information, specifically including:
[0031] For each vertex of each patch unit to be processed, obtaining each patch including the vertex as a common point patch set;
[0032] Iterate for each vertex and update the coordinates of the vertex according to the geometric center point and normal guide value of each patch in the common point patch set corresponding to the vertex:
[0033]
[0034] Among them, v′ l is the updated vertex, F v(l) is the set of common facets corresponding to the lth vertex, |F v(l) | is the vertex v l The set of common points F v(l) The number of patches in the k For vertex v l The set of common points F v(l) The geometric center point of the kth face in is the set of common points F v(l) The normal guide value of the kth face in .
[0035] In addition, to achieve the above-mentioned purpose, the present invention also provides a terminal, which includes: a memory, a processor, and a denoising filter program applicable to 3D grids stored in the memory and executable on the processor, wherein the denoising filter program applicable to 3D grids, when executed by the processor, controls the terminal to implement the steps of the denoising filter method applicable to 3D grids as described above.
[0036] In addition, to achieve the above-mentioned purpose, the present invention also provides a readable storage medium, which stores a denoising filter program suitable for 3D grids. When the denoising filter program suitable for 3D grids is executed by a processor, the steps of the denoising filter method suitable for 3D grids as described above are implemented.
[0037] The present invention adopts the above technical solution to achieve the following effects:
[0038] The present invention calculates the similarity between a facet and a set of surrounding neighborhood facets according to the geometric features of the 3D grid itself, and finds a suitable facet for adaptive filtering. Therefore, it only needs to set the number of iterative calculations without setting too many parameters, thus avoiding the problem of the existing feature-preserving filtering algorithm being sensitive to many parameters. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1It is a schematic diagram of a 3D grid and its smallest unit triangle patch;
[0040] Figure 2 is a flowchart of the steps of a denoising filtering method applicable to a 3D grid in a preferred embodiment of the present invention;
[0041] Figure 3 is a schematic diagram of a triangular face and normal line in a preferred embodiment of the present invention;
[0042] Figure 4 Schematic diagram of neighborhoods with one step length and two step lengths in a preferred embodiment of the present invention;
[0043] Figure 5 is a schematic diagram comparing the noise models before and after denoising in the first test example in a preferred embodiment of the present invention;
[0044] Figure 6 is a schematic diagram comparing the noise models before and after denoising in the second test example in a preferred embodiment of the present invention;
[0045] Figure 7 It is a schematic diagram of the operating environment of a preferred embodiment of the terminal of the present invention. DETAILED DESCRIPTION
[0046] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0047] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or end including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or ends.
[0048] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0049] Embodiment 1
[0050] Please refer to Figure 2 Embodiment 1 of the present invention is a denoising filtering method applicable to 3D grids, comprising the steps of:
[0051] S1. Acquire 3D mesh data, and select a plurality of surface units to be processed according to the 3D mesh data.
[0052] Please refer to Figure 3 As shown, according to the discretized 3D mesh data, a facet as the smallest unit is selected as the facet unit to be processed. In this embodiment, the 3D mesh data is specifically triangular mesh data, and the smallest unit is a triangular facet, which is composed of vertices V (three points), edges E (three edges) and faces F (one face).
[0053] Specifically, the selected face units to be processed can be all the face units of the 3D mesh data, or they can be selected by processing different meshes using different methods according to actual needs, thereby selecting meshes in a specific area. For example, the face units in the area requiring high quality preservation are selected as the face units to be processed, while the parts that do not require high quality preservation are processed using other methods.
[0054] S2. Obtain the neighboring patches of each patch unit to be processed within a set step range, and form a plurality of neighboring patch sets corresponding to the patch units to be processed one by one, and calculate the similarity between each patch unit to be processed and the corresponding neighboring patch set.
[0055] Please refer to Figure 4 As shown, in this embodiment, the step range is set to 2 steps, and the neighborhood facets of the set range are obtained as follows Figure 4 As shown, Figure 4 In the figure, a shows a neighborhood patch with one step size, and b shows a neighborhood patch with two step sizes. It is worth noting that the larger the step size, the better. The larger the step size, the smoother it will be. As a result, the features will also be blurred. If the step size is too small, the filtering effect cannot be achieved. In this embodiment, the step size is set to a 2-ring neighborhood to achieve a balance between time consumption and effect.
[0056] Specifically, for the patch unit f to be processed i , get the patch unit f to be processed i The neighboring patch set of the corresponding neighboring patch
[0057] Then, the face unit to be processed is obtained according to the 3D grid data. i Normal and the collection The normals of each neighboring patch in
[0058] Calculate the face unit f to be processed i Normal and the normal of each neighboring face in the set Angle difference As a variable set.
[0059] Among them, the surface unit to be processed f i Normal The normal to the jth neighboring face in the set Angle difference for:
[0060]
[0061] In the formula, is the patch unit to be processed f i Normal The unit direction vector, that is, the normal vector, is the normal of the jth neighboring face in the set The unit direction vector, that is, the normal vector, is the normal vector and the normal vector The dot product of .
[0062] Afterwards, according to the variable set Δ i , calculate the patch unit f to be processed i The normal vector and the set The mean, variance, coefficient of variation and quartile difference of the normal vectors of each neighborhood patch in .
[0063] Specifically, we first i Perform normalization and sort the normalized variable set to obtain a normalized new variable set Δ′ i :
[0064] Δ′ i =SORT(Δ i / MAX), MAX≠0;
[0065] In the formula, SORT is the sorting function and max is the function for finding the maximum value.
[0066] According to the new variable set Δ′ i Calculate the mean μ i :
[0067]
[0068] According to the mean μ i and the new variable set Δ′ i Calculate the variance σi :
[0069]
[0070] According to the mean μ i and the new variable set Δ′ i Calculate the coefficient of variation:
[0071] cv i =σ i / μ i ,μ i ≠0;
[0072] According to the new variable set Δ′ i Calculate the four-point difference qd i :
[0073] qd i =(Δ′ i ) 0.25 -(Δ′ i ) 0.75 ;
[0074] In the formula, the subscript 0.25 indicates that it is the 1 / 4 number in the variable set, and the subscript 0.75 indicates that it is the 3 / 4 number in the variable set. For example, if there are 8 numbers in the variable set, the subscript 0.2 indicates the 2nd number in the variable set, and the subscript 0.75 indicates the 6th number in the variable set. That is, (Δ′ i ) 0.25 is the new variable set Δ′ i The second number in (Δ′ i ) 0.75 is the new variable set Δ′ i The 6th number in the.
[0075] The surface unit to be processed f is obtained according to the mean, variance, coefficient of variation and four-point difference i With the surface unit to be processed f i Set the similarity of the neighboring patch cells within the step range.
[0076] Specifically, in this embodiment, the similarity is divided into full similarity, two-thirds similarity and one-third similarity, and the face unit to be processed f is divided into i With the surface unit to be processed f i The similarity of the neighborhood patch units within the set step range is classified into full similarity, two-thirds similarity and one-third similarity.
[0077] Specifically, in this embodiment, if the variance σ is satisfied i <ξ, then it is considered that the face unit to be processed f i With the surface unit to be processed f iThe similarity of the neighborhood patch units within the step range is set to be fully similar, where ξ is the set variance threshold, which is a sufficiently small value, which means that if the variance σ is satisfied i <ξ, then the face unit to be processed f i The change between the facets and its neighboring faces is small enough to determine the facet unit to be processed f i It belongs to a flat area. In this embodiment, ξ=0.25; if (σ i ≥ξ,cv i ≤μ i ,qd i ≤cv i ), then it is considered that the face unit to be processed f i With the surface unit to be processed f i The similarity of the neighborhood patch units within the step range is set to two-thirds similarity.
[0078] If the above two adjustments are not satisfied, it is considered that the patch unit to be processed f i With the surface unit to be processed f i The similarity of the neighborhood patch units within the step range is set to one-third similarity.
[0079] S3. Perform filtering processing on each of the patch units to be processed according to the similarity between each of the patch units to be processed and the corresponding neighborhood patch set.
[0080] Specifically, in this embodiment, firstly, the normal guide values of each to-be-processed patch and the neighboring patch are obtained according to the similarity between each to-be-processed patch unit and the patch unit within the step range set by the to-be-processed patch unit.
[0081] Specifically, in this embodiment, firstly according to the variable set Δ′ i To process the patch element f i The corresponding set Each neighboring patch and the patch unit to be processed in i The similarity is sorted to obtain the sorted neighborhood face set, and the new normal set corresponding to the sorted neighborhood face set is obtained according to the sorted neighborhood face set.
[0082] According to the new normal set Select the reference normals of similarity ratio, calculate the unit normal vectors of each reference normal, and calculate the weighted average of the unit normal vectors of each reference normal to obtain the normal guide value
[0083]
[0084] In the formula, is the new normal set The number of median normals, is the unit normal vector of the jth neighborhood patch after sorting.
[0085] Each patch unit to be processed updates its own vertex coordinates according to the normal guide value.
[0086] Specifically, the neighborhood patches of the common points of each vertex of the patch unit to be processed are obtained to form a common point patch set;
[0087] Each vertex iteratively updates its own coordinates according to the concentrated normal guide value of the corresponding neighborhood facet of the common point.
[0088] Among them, the original coordinates of the lth vertex are v l , then its updated coordinate v′ l for:
[0089]
[0090] In the formula, F v(l) is the set of common facets corresponding to the lth vertex, |F v(l) | is the vertex v l The set of common points F v(l) The number of patches in the k For vertex v l The set of common points F v(l) The geometric center point of the kth face in is the set of common points F v(l) The normal guide value of the kth face in .
[0091] In order to illustrate the denoising effect of the technical solution of the present invention, the present invention adopts two test examples for illustration, please refer to Figure 5-Figure 6 , Figure 5 is the noise model before and after denoising in the first test example of this embodiment, Figure 5 The left side in the middle is the noise model before denoising in the first test example of this embodiment. Figure 5 The middle right side is the noise model after denoising in the first test example of this embodiment; Figure 6 is the noise model before and after denoising in the second test example of this embodiment, Figure 6 The middle left side is the noise model before denoising in the second test example of this embodiment. Figure 5 The middle right side is the noise model after denoising in the second test example of this embodiment.
[0092] It can be seen from the two test examples that the technical solution of the present invention can still achieve the removal of 3D scanning noise without too many parameters, and maintains the characteristics of 3D scanning, thereby achieving feature-preserving denoising of 3D data.
[0093] Embodiment 2
[0094] See also Figure 7 Based on the above method, the present invention also provides a terminal, which includes: a memory 10, a processor 20, and a denoising filter program applicable to 3D grids stored in the memory 10 and executable on the processor 20. When the denoising filter program applicable to 3D grids is executed by the processor 20, the terminal is controlled to implement the steps of the denoising filter method applicable to 3D grids as described above.
[0095] In some embodiments, the memory 10 may be an internal storage unit of the terminal, such as a hard disk or memory of the terminal. In other embodiments, the memory 10 may also be an external storage device of the terminal, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal. Further, the memory 10 may also include both an internal storage unit of the terminal and an external storage device. The memory 10 is used to store application software and various types of data installed in the terminal, such as the program code of the installation terminal. The memory 10 can also be used to temporarily store data that has been output or is to be output. In one embodiment, a denoising filter program suitable for 3D grids is stored on the memory 10, and the denoising filter program suitable for 3D grids can be executed by the processor 20, thereby realizing the denoising filter method suitable for 3D grids in the present application.
[0096] In some embodiments, the processor 20 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 10, such as executing the denoising filtering method applicable to 3D grids.
[0097] Embodiment 3
[0098] This embodiment provides a storage medium, characterized in that the readable storage medium stores a denoising filter program applicable to a 3D grid, and when the denoising filter program applicable to a 3D grid is executed by a processor, the steps of the denoising filter method applicable to a 3D grid as described above are implemented.
[0099] To summarize, the present invention calculates the similarity between a facet and a set of surrounding neighborhood faces based on the geometric features of the 3D grid itself, and seeks suitable faces for adaptive filtering. Thus, it is only necessary to set the number of iterative calculations without setting too many parameters, thus avoiding the problem of the existing feature-preserving filtering algorithm being sensitive to many parameters.
[0100] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or terminal including the element.
[0101] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer-readable storage medium, and the program can include the processes of the above-mentioned method embodiments when executed. The storage medium can be a memory, a disk, an optical disk, etc.
[0102] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.
Claims
1. A denoising filtering method suitable for 3D grids, characterized in that: The denoising filtering method applicable to 3D grids includes: Acquire 3D mesh data, and select a plurality of surface units to be processed according to the 3D mesh data; Obtaining neighboring patches of each of the patch units to be processed within a set step range, and forming a plurality of neighboring patch sets corresponding to the patch units to be processed one by one, and calculating the similarity between each of the patch units to be processed and the corresponding neighboring patch set; Performing filtering processing on each of the to-be-processed patch units according to the similarity between each of the to-be-processed patch units and the corresponding neighborhood patch set; The calculating of the similarity between each of the to-be-processed face unit and the corresponding neighborhood face set specifically includes: Acquire the normal vector of each of the to-be-processed facet units and the normal vector of each neighboring facet in the corresponding neighboring facet set according to the 3D mesh data; For each patch unit to be processed, according to the normal vector of the patch unit to be processed and the normal vector of each neighboring patch in the corresponding neighboring patch set, calculate the angle difference between the normal vector of the patch unit to be processed and the normal vector of each neighboring patch in the corresponding neighboring patch set; Calculating the similarity between each of the to-be-processed patch units and the corresponding neighborhood patch set according to the angle difference corresponding to each of the to-be-processed patch units; The calculating the similarity between each of the to-be-processed patch units and the corresponding neighborhood patch set according to the angle difference corresponding to each of the to-be-processed patch units specifically includes: Normalizing each angle difference corresponding to each of the surface units to be processed, and forming a plurality of new variable sets corresponding to the surface units to be processed one by one; Based on each new set of variables, calculate the similarity parameters for each new set of variables; According to the similarity parameters of each new variable set, the similarity between the to-be-processed patch unit corresponding to the new variable set and the corresponding neighborhood patch set is obtained; According to the similarity between each of the to-be-processed patch units and the corresponding neighborhood patch set, filtering is performed on each of the to-be-processed patch units, specifically comprising: According to the similarity between each of the to-be-processed patch units and the corresponding neighborhood patch set, a normal guide value of each to-be-processed patch unit is obtained; Each vertex of each patch unit to be processed updates its own coordinates according to the normal guide value of the patch unit including the vertex and the patch unit information; The step of obtaining the normal guide value of each to-be-processed face unit according to the similarity between each to-be-processed face unit and the corresponding neighborhood face set specifically includes: According to each of the new variable sets, the corresponding neighborhood patch sets are sorted to obtain sorted neighborhood patch sets corresponding one by one to the patch units to be processed; For each of the patch units to be processed, according to the similarity between the patch unit to be processed and the corresponding neighboring patch set, select the unit normal vectors of the neighboring patches with a set proportion of top rankings in the corresponding sorted neighboring patch set, and perform weighted averaging to obtain the normal guide value corresponding to the patch unit to be processed; Each vertex of each to-be-processed patch unit updates its own coordinates according to the normal guide value of the patch unit including the vertex and the patch unit information, specifically including: For each vertex of each patch unit to be processed, obtaining each patch including the vertex as a common point patch set; Iterate for each vertex and update the coordinates of the vertex according to the geometric center point and normal guide value of each patch in the common point patch set corresponding to the vertex: Among them, v′ l is the updated vertex, F v(l) is the set of common facets corresponding to the lth vertex, |F v(l) | is the vertex v l The set of common points F v(l) The number of patches in the k For vertex v l The set of common points F v(l) The geometric center point of the kth face in is the set of common points F v(l) The normal guide value of the kth face in .
2. A denoising filtering method applicable to 3D grids according to claim 1, characterized in that: The similarity parameters include mean, variance, coefficient of variation and interquartile range.
3. A denoising filtering method applicable to 3D grids according to claim 2, characterized in that: The step of obtaining the similarity between the to-be-processed patch unit corresponding to the new variable set and the corresponding neighborhood patch set according to the similarity parameters of each new variable set specifically includes: If the similarity parameter of the new variable set satisfies that the variance is less than the variance threshold, it is considered that the similarity between the to-be-processed patch unit corresponding to the new variable set and the corresponding neighborhood patch set is fully similar; If the similarity parameters of the new variable set do not satisfy that the variance is less than the variance threshold, the coefficient of variation is less than the mean, and the four-point difference is less than the coefficient of variation, then it is considered that the similarity between the to-be-processed patch unit corresponding to the new variable set and the corresponding neighborhood patch set is two-thirds similar; If the similarity parameters of the new variable set do not satisfy the variance being less than the variance threshold, the coefficient of variation being less than the mean, and the four-point difference being less than the coefficient of variation, then it is considered that the similarity between the to-be-processed face unit corresponding to the new variable set and the corresponding neighborhood face set is one-third similar.
4. A terminal, characterized in that: The terminal includes: a memory, a processor, and a denoising filtering program applicable to 3D grids stored in the memory and executable on the processor. When the denoising filtering program applicable to 3D grids is executed by the processor, the terminal is controlled to implement a denoising filtering method applicable to 3D grids as described in any one of claims 1 to 3.
5. A readable storage medium, characterized in that: The readable storage medium stores a denoising filter program applicable to a 3D grid, and when the denoising filter program applicable to a 3D grid is executed by a processor, the steps of the denoising filter method applicable to a 3D grid as described in any one of claims 1 to 3 are implemented.
