Noise eliminating device and program

The noise removal device optimizes normal vectors based on local shape features to address oversmoothing issues in conventional methods, ensuring effective noise removal without distorting the 3D model's shape.

JP2024121937AActive Publication Date: 2024-09-09KDDI CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023029188
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-09-09
Estimated Expiration
2043-02-28

AI Technical Summary

Technical Problem

Conventional noise removal techniques in 3D models uniformly smooth areas regardless of their shape, leading to oversmoothing and loss of original shape details, especially in curved or sharp areas.

Method used

A noise removal device that calculates local shape features and optimizes normal vectors based on these features, using anisotropic smoothing for curved surfaces and isotropic smoothing for planar areas, to preserve the original shape details.

Benefits of technology

Effectively removes noise while maintaining the integrity of the 3D model's shape, preventing oversmoothing and preserving the original details.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To provide a noise eliminating device that appropriately eliminates noise from a 3D model by suppressing an excessive smoothing.SOLUTION: A noise eliminating device that eliminates noise from a 3D model including information on at least coordinates of each point executes: a first process 11 of calculating a normal line at each point of the 3D model; a second process 12 of calculating, for each point, a local shape feature quantity of the 3D model from normal lines at peripheral points of each point; a third process 13 of obtaining an optimized normal line by optimizing the normal line at each point based on the local shape feature quantity of each point; and a fourth process 14 of obtaining, for the 3D model, a noise elimination result obtained by normalizing coordinates of each point based on the optimized normal line at each point.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an apparatus and program for removing noise from a three-dimensional model. [Background technology]

[0002] Shape information of three-dimensional (3D) space used in computer graphics, autonomous driving, etc. is recorded as a 3D model (hereinafter, simply referred to as "3D model" when there is no particular distinction between points and meshes) which is a collection of points and meshes. These 3D models are generated from sensor information such as camera images, depth sensors, and Lidar (Light Detection and Ranging), but since noise is included in the recording process, it is assumed that the obtained 3D model data does not adequately represent the true 3D shape information of the subject. To solve this problem, various technologies have been proposed to remove noise from the shape information of 3D models. In particular, Non-Patent Publication 1 proposes a noise removal method based on the assumption that "compared to the surface of a true subject without noise, the surface of a noisy 3D model (hereinafter, referred to as "noisy 3D model") has fine irregularities, and therefore the local normal vector is not smooth." Specifically, by focusing on the graph structure of the noisy 3D model, which connects nearby vertices with edges, and the normal vectors calculated for each vertex, noise removal is achieved by smoothing the normal vectors so as to increase the similarity of the local normal vectors between vertices connected by edges.In addition, this update makes it possible to achieve both smoothness of normal vectors and smoothness of vertex coordinate values ​​by simultaneously performing optimization with other constraints, such as increasing the similarity of coordinate values ​​between vertices connected by edges in the graph (suppressing fluctuations). [Prior art documents] [Non-patent literature]

[0003] [Non-Patent Document 1] Chinthaka Dinesh, Gene Cheung, and Ivan V. Baji´c, "Pointcloud denoising via feature graph laplacian regularization," IEEE Transactions on Image Processing, vol. 29, pp. 4143―4158, 2020. Summary of the Invention [Problem to be solved by the invention]

[0004] However, because conventional noise removal techniques use smoothing uniformly, they apply uniform smoothing even to areas whose original shapes are not flat (such as curved or pointed areas), which can result in the original shapes being distorted while the noise is removed.

[0005] That is, as mentioned above, the conventional technology described in Non-Patent Document 1 is designed to increase the similarity of normal vectors and coordinates between two points based on a graph structure. This is nothing more than an assumption that the points are distributed on a plane when the surface of the 3D model to be processed is viewed locally. On the other hand, when considering an actual 3D model, even when viewed locally, it may have a shape that is difficult to approximate with a planar distribution of points. For example, if the processing of Non-Patent Document 1 is applied to a gently curving surface that contains noise, the similarity of the normals of the vertices distributed on the surface is excessively increased, and the shape information of the 3D model is over-smoothed by correcting it to a shape close to a plane, resulting in damage to the shape. This is due to the fact that "the conventional technology processes the strength of the smoothing effect on the surface shape of the 3D model to be isotropically flat based only on the feature amount between two points connected by an edge."

[0006] In view of the problems with the conventional techniques described above, an object of the present invention is to provide a noise removal device, method, and program capable of removing noise appropriately from noisy 3D data. [Means for solving the problem]

[0007] In order to achieve the above object, the present invention provides a noise removal device for removing noise from a three-dimensional model including at least coordinate information of each point, the device executing a first process of calculating a normal of each point of the three-dimensional model, a second process of calculating a local shape feature of the three-dimensional model for each point from the normals of its surrounding points, a third process of obtaining an optimized normal by optimizing the normal of each point from the local shape feature of each point, and a fourth process of obtaining a result of noise removal for the three-dimensional model by optimizing the coordinates of each point from the optimized normal of each point.The present invention is also characterized by a program corresponding to the device. Effect of the Invention

[0008] According to the present invention, normals are optimized in advance based on local shape features, and then the corresponding coordinates are optimized to obtain noise removal results, making it possible to obtain noise removal results that suppress the over-smoothing that occurs in conventional techniques that do not take local shape features into account. [Brief description of the drawings]

[0009] [Figure 1] 1 is a functional block diagram of a noise removal device according to an embodiment. [Diagram 2] FIG. 13 is a diagram showing an application example of the present embodiment. [Diagram 3] FIG. 13 is a diagram showing an example of optimization by anisotropic homogenization of normals of points on a curved surface. [Figure 4] FIG. 13 is a diagram illustrating an example of processing performed by a graph weight optimization unit; [Diagram 5] FIG. 1 is a diagram illustrating a hardware configuration of a typical computer. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] 1 is a functional block diagram of a noise removal device 10 according to an embodiment. The noise removal device 10 includes a normal vector calculation unit 11, a local shape feature calculation unit 12, a normal vector optimization unit 13, a vertex coordinate optimization unit 14, a local shape classification unit 21, and a graph weight optimization unit 22. In its overall operation, the normal vector calculation unit 11 reads a noise-added 3D model as an input, and outputs a noise-removed 3D model that is the result of applying noise removal to the noise-added 3D model. Any of the 3D models that are input and output means a 3D shape (3D surface shape) of some object or the like, and includes at least each point p on the surface. i (i=1,2,…,N; N is the total number of points) and their 3D coordinates.

[0011] The 3D model is configured, for example, as a point cloud, and each point p i If the 3D model is configured as a polygon model, for example, each of these points p i are constructed as the vertices of a polygon, and any two points p i ,p j The 3D model may further include information about which polygon edges each of the points constitutes. The 3D model may also be configured as a point cloud or a polygon model, and may also include surface texture information.

[0012] In addition, although it is possible to omit the local shape classification unit 21 and / or the graph weight optimization unit 22 from the configuration shown in Fig. 1, the following description will mainly focus on the case where they are not omitted, and also includes a description of the case where they are omitted as appropriate. The details of the processing contents of each functional unit in Fig. 1 will be described below.

[0013] <<Normal vector calculation unit 11>> The normal vector calculation unit 11 calculates the normal vector for each point p of the noise-added 3D model. i For (i=1,2,…,N) normal vector n i (i=1, 2, . . . , N) and output them to the local shape feature calculation unit 12.

[0014] In the case of a 3D model with a mesh structure, the normal vector of each polygon formed by the mesh may be calculated, and a representative value such as "the average value of the normal vectors of all polygons shared by a certain vertex" may be used as the normal vector of the vertex. In the case of a 3D model made up of a point cloud, a surface polygon with the point cloud as vertices may be formed once, and the normal vectors of each vertex may be obtained by carrying out the same processing as for a mesh. In this case, since each vertex of the surface polygon is obtained from the point cloud, the normal vector of the vertex may be used as the normal vector of the corresponding point cloud. In addition, in forming the surface polygon, any existing method for forming a surface such as Non-Patent Document 2 may be used, and the surface polygon may be formed once and then processed in the same way as for a mesh. In this way, the normal vector n for each vertex of the point cloud or mesh may be obtained. i = (x, y, z). Alternatively, any existing technique for estimating normal vectors for general point clouds and meshes can be used.

[0015] [Non-Patent Document 2] F. Bernardini, J. Mittleman, H. Rushmeier, C. Silva, and G. Taubin, "The ball-pivoting algorithm for surface reconstruction," IEEE Transactions on Visualization and Computer Graphics, vol. 5, no. 4, pp. 349-359, 1999.

[0016] <<Local shape feature calculation unit 12>> In the local shape feature calculation unit 12, the normal vector calculation unit 11 calculates the vector of each vertex p i Normal vector n assigned to i Take as input, and for each vertex p i The local shape feature amount of the surface to which the vector belongs is calculated, and the local shape feature amount is output to the local shape classification unit 21 and the normal vector optimization unit 13.

[0017] Specifically, for example, a graph consisting of the vertices and edges of a 3D model is constructed using the k-Nearest Neighbor method (k-NN: a graph construction method that connects a point with its k neighbors via edges). In this case, the measure of distance between k-NN points may be Euclidean distance in three-dimensional space, or the distance in color space of the color assigned to the point. In addition, when using a mesh model, a graph may be constructed with the edges that make up the polygon as the edges of the graph.

[0018] The local features can be obtained from the obtained graph by the following process. i The neighboring point p of j Normal vector n j Using the point p i A tensor T that represents the surrounding shape information i is calculated according to the following formulas (1), (2), etc.

[0019]

number

[0020] Here, N(p i ) is the point p i represents the set of indices of the neighboring points of point p. i and its neighboring points p j For example, as shown in Eq. (1a), i and point p j A similarity α based on the distance between neighboring points can be used. (Note that in formula (1a), σ is a coefficient obtained from a representative value such as the maximum distance between neighboring points or the variance.) Alternatively, a constant such as α=1 can be used.

[0021] T ican be treated as a 3×3 matrix, and local shape information can be obtained by applying eigenvalue decomposition to it. The eigenvalues ​​are in descending order of λ1≧λ2≧λ3, and the corresponding eigenvectors are e1, e2, and e3. FIG. 2 shows the first and second eigenvectors and eigenvalues ​​for each point p of the eigenvalue decomposition when a cylindrical 3D model with noise is prepared and the eigenvalue decomposition is applied as an application example of this embodiment. i In addition, as for the distributions shown in the examples EXb and EXd, as per the legend on the left, when the eigenvalues ​​are large and small, they are drawn in dark colors (closer to black), and when the eigenvalues ​​are in between, they are drawn in light colors (closer to white).

[0022] Intuitively, the first eigenvector e1 represents the most principal component of the normal vector in the region of the k neighboring points, and a more robust point p i In FIG. 2, as shown in the example EXa and the explanation column (a), the first eigenvector e1 is obtained as a robust normal vector for a cylindrical shape. Also, the first eigenvalue λ1 is the normal vector of the point p i This is an index that indicates the degree to which the normal vector of a point differs from its neighbors, and shows a low value at corner points (points on the circumference that form the edges of both base surfaces of a circular cylinder) as shown in example EXb and explanatory column (b) of Figure 2.

[0023] The second eigenvector e2 indicates the direction of the second major component of the local region, and in the case of a cylindrical shape, for example, as in example EXc and explanation column (c) of Figure 2, it indicates the direction along the surface, along the curved surface of the side of the cylinder, and in the direction of the large displacement of the normal vector. (That is, it indicates the direction of the tangent on the circumference of the circle cut parallel to the bottom surface of the side of the cylinder.) The second eigenvalue λ2 indicates the degree of displacement of the normal vector, and indicates a large value for a curved surface, as in example EXd and explanation column (d) of Figure 2, and a small value indicates a flat surface.

[0024] The local shape feature calculation unit 12 calculates each point p i and its normal vector n iFor this, the eigenvalues ​​λ1, λ2, λ3 and the eigenvectors e1, e2, e3 are output as features indicating local shape information.

[0025] In addition, the neighborhood normal vector n j Instead, the amount of displacement (n j -n^), the following formula (1b) may be used instead of formula (1). j Normal vector n j Without using it, point p i Normal vector n i The displacement angle from may also be used.

[0026]

number

[0027] <<Local shape classification unit 21>> Using the eigenvalues ​​λ1, λ2, λ3 and the eigenvectors e1, e2, e3 calculated by the local shape feature calculation unit 12, i The local shape of each point is classified into plane / curved surface / edge (Note 1), corner, etc., and the classification results are output to the normal vector optimization unit 13 and the graph weight optimization unit 22. (Note 1) Unlike edges, which refer to the edges of a graph, these refer to the edges of a 3D model.

[0028] Specifically, a predetermined first threshold th1 is set for the first eigenvalue λ1, and when λ1≧th1, the vertex to be processed is determined to belong to a plane / surface (plane or curved surface), and otherwise to belong to an edge / corner (edge ​​or corner). (Note that this classification is also shown in the explanatory column (b) of FIG. 2.) Here, for determining the threshold th1, any existing threshold determination method such as the k-means method or Otsu's method can be widely used, and when there is a large amount of data similar to the target 3D model, machine learning learned from learning data with labels added to each region may be used.

[0029] Similarly, a predetermined second threshold value th2 is set for the second eigenvalue λ2, and if λ2≧th2, the vertex is determined to belong to a curved surface (or edge / corner), and otherwise to belong to a plane. (Note that this classification is also shown in the explanatory column (d) of FIG. 2.)

[0030] The above classification is performed for all points of the 3D model, and information is added as to which local shape classification the point belongs to. In summary, the local shape feature calculation unit 12 can output the classification result as follows. ● First judgment: If λ1 ≥ th1 is false, This point p i corresponds to an edge or a corner. ● Second judgment: If λ1 ≧ th1 is true and λ2 ≧ th2 is true, This point p i corresponds to a curved surface (or edge / corner). ●Third judgment: If λ1 ≥ th1 is true and λ2 ≥ th2 is false, then This point p i corresponds to a plane.

[0031] Note that the third eigenvalue λ3 may be regarded as an offset indicating an isotropic displacement amount of the normal vector of the nearby vertex, and the value to be subjected to the threshold judgment in the first, second and third judgments may be λ1-λ3 instead of λ1. Similarly, the value to be subjected to the threshold judgment in the second and third judgments may be λ2-λ3 instead of λ2.

[0032] <<Normal vector optimization unit 13>> The normal vector optimization unit 13 optimizes the normal vector n using the local shape feature values ​​and classification results obtained from the local shape feature value calculation unit 12 and the local shape classification unit 21, respectively. i (Normal vector n calculated by normal vector calculation unit 11) i ) and optimize the optimized normal vector n i[最適化] to the vertex coordinate optimization unit 14. Specifically, the optimized normal vector ni[最適化] can be obtained.

[0033] ●The third judgment applies, and point p i If the classification result belongs to a local plane In the case of a plane, the normal vector is isotropically uniformized as follows. First, as shown in equation (3), the processing target point p i The normal vector n of the k nearest points of j =(x j ,y j ,z j ) is calculated as a matrix of all points p i When belongs to a plane, its neighboring normal vector n j =(x j ,y j ,z j Ideally, all the values ​​of M should be similar, so it is possible to equalize the normal vectors by calculating the optimal matrix H that improves the low rank of M, as shown in the following formula (4). In other words, the matrix H calculated by formula (4) is the optimized normal vector n i[最適化] Since it is a list of the optimized normal vector n i[最適化] can be obtained.

[0034]

number

[0035] The first term of the argument "argmin" in formula (4) (the process of calculating the matrix H as the parameter that minimizes it) is || || * represents the nuclear norm, and the second term || || F represents the Frobenium norm. In equation (4), β is a parameter that determines the strength of optimization of the user settings. The nuclear norm is the sum of singular values ​​and approximates the rank of a matrix, so the nuclear norm ||H|| in the first term of equation (4) *acts to reduce the rank of matrix H. The Frobenius norm is the length of a vector (L2 norm) when all the components of a matrix are arranged in a row and considered as a vector, and is a concept that extends the L2 norm to matrices. The Frobenius norm ||HM|| in the second term of equation (4) is F acts to reduce the magnitude of the difference between H and M.

[0036] That is, by using equation (4), the optimized normal vector n i[最適化] When calculating the optimized normal vector n after updating, the second term prevents the vector from changing too much from before the update, and the first term increases the low rank. i[最適化] It is possible to calculate such that

[0037] In place of M in equations (4) and (5), M' in the following equation (5) may be used, which is obtained by shaping M into a form close to a square matrix (a form in which the number of rows and columns are as equal as possible). In equation (4), the nuclear norm || || * Instead of || || in the following equation (6), we use the weighted kernel norm || || w,* may also be used.

[0038]

number

[0039] In equation (6), δ m indicates the m-th singular value when the singular values ​​of matrix M are arranged in descending order, and w m are the user-specified positive weights for them. m In moderation w m By setting the weights so that is small, it becomes possible to solve equation (4) while retaining large singular values, and it becomes possible to effectively homogenize the normal vectors while maintaining the structure of the matrix M.

[0040] ●If the first or second judgment is met, point p i If the classification result does not belong to a local plane Next, point pi If belongs to something other than a plane (if belongs to a curved surface, edge, or corner), the following process is performed to make it anisotropically uniform according to the local shape, and the optimized normal vector n i[最適化] can be obtained.

[0041] In the case of curved surfaces or edges, the direction in which the second eigenvalue vector e2 extends tends to accompany changes in the normal vector of the true 3D model shape, so a measure is taken not to strongly optimize the direction of e2. Specifically, e2=(x e2 ,y e2 ,z e2 ), optimization is performed by anisotropically homogenizing the x, y, and z components according to the ratio of their magnitudes, as shown in the following equation (7). That is, the matrix H calculated by equation (7) = (H x ,H y ,H z ) is the optimized normal vector n i[最適化] Since it is a list of the optimized normal vector n i[最適化] can be obtained.

[0042]

number

[0043] Here, as can be seen from the commonality between the terms to be minimized in equation (7), which show the terms to be minimized in equation (7) for the x, y, and z components, and the terms to be minimized in equation (4), H x ,H y ,H z and M x ,M y ,M z is the matrix of equations (3) and (4) extracted for each x, y, and z component.

[0044] For example, the processing point p i The second eigenvector e2 = (x e2 ,y e2 ,z e2 ), |x e2 |≒|e2| and |y e2|≒0 and |z e2 Consider the case where |≒0, that is, the second eigenvalue vector e2 is almost parallel to the x-axis direction and the majority of the components are in the x-axis direction. In this case, the x-axis direction corresponds to the direction along the curved surface of the 3D shape, and the direction in which the normal vector displacement is maximum, and the direction in which the application of uniformization should be weakened as a direction that should be accompanied by a normal change, so the value of the term in equation (7x) in the x-axis direction is its coefficient (1-|X e2 By reducing the value of | / |e2|)≒0, the effect of uniformization in the x-axis direction is weakened relatively to the effects of uniformization in the other y and z axes. Conversely, the y-axis and z-axis directions correspond to directions in which the degree of uniformization should be applied relatively stronger and more actively than in the x-axis direction as directions different from the x-axis (two directions perpendicular to the x-axis), so the values ​​of the terms in equations (7y) and (7z) are their coefficients (1-|Y e2 | / |e2|)≒1, (1-|Z e2 A constant size is ensured by | / |e2|) ≒ 1, ensuring that the effect of uniformization in the y-axis and z-axis directions is relatively large.

[0045] That is, the surface of the local shape (point p i The degree of homogenization is weakened for the direction along the tangent plane at the normal vector n (n=1) and the direction in which the normal vector displacement is maximum, and the degree of homogenization is strengthened for the direction of the first eigenvalue vector e1 and the third eigenvalue vector e3 as robust normals of the local shape perpendicular to the direction of the normal vector n. i The optimized normal vector n i[最適化] In obtaining "n i[最適化] =n i +Δn i " The variation due to equalization Δn i This fluctuation Δn i The major component of the eigenvalue vector e2 is configured in the direction of the second eigenvalue vector e2, and the directional components of the first eigenvalue vector e1 and the third eigenvalue vector e3 can be made small.

[0046] FIG. 3 shows the 3D data example of the cylinder shown in FIG. 2. A point p on the curved surface of the cylinder is shown in FIG. i Normal of n i As explained in the examples EXa and EXc in Fig. 2, the point p on the side of the cylinder i Normal of n i Regarding n i ≒e1, and the second eigenvector e2 is directed in the tangent direction of the circumference of the side surface. Therefore, according to equation (7), "n i[最適化] =n i +Δn i In the case of non-uniform optimization, the variation Δn i The main component of is composed of the directional component of the second eigenvector e2, and by making the directional components of the first and third eigenvectors e1 and e3 perpendicular to this smaller, it is possible to achieve appropriate optimization of the normal to the curved side surface of the cylinder.

[0047] In addition, not only in the case of the cylindrical side surface as shown in Figure 3, but also in general, i Normal of n i Regarding n i ≒e1, where the first normal vector e1 is the normal vector of the tangent plane of the local shape, and the second normal vector e2 is the normal vector of the point p i In other words, in the case of a curved surface, the second normal vector e2 is the tangent direction of the circle that is tangent to the local shape at point p i It contains information about the circle tangent to the local shape in

[0048] As a variation of the optimization of equation (7), similar to equation (5), we use M', where the number of rows and columns for each of x, y, and z is made as equal as possible. x ,M' y ,M' z Also, (x e2 ,y e2 ,z e2 ) with the smallest absolute value may be subjected to the above optimization. In addition to the above optimization, if a weighted kernel norm is used, (x e2 ,y e2 ,z e2) in descending order of absolute value, the weights w m 1 ,w m 2 ,w m 3 , w m 1 >w m 2 >w m 3 and the effect of making the normal vector uniform may be suppressed for the component in the direction of the second eigenvector e2.

[0049] When using a minimum configuration (a configuration in which the local shape classification unit 21 and the graph weight optimization unit 22 are excluded from the noise removal device 10), since the information on the classification results in the local shape classification unit 21 cannot be used, normal vectors optimized according to equation (7) for all vertices may be used.

[0050] <<Graph weight optimization unit 22>> The graph weight optimization unit 22 uses the local shape feature output by the local shape feature calculation unit 12 to construct a graph to be used by a vertex coordinate optimization unit 14 described later, and outputs the graph to the vertex coordinate optimization unit 14.

[0051] First, a graph is constructed using the k-NN method or the like, as in the local shape feature calculation unit 12. At this time, the weight of the graph edges is calculated based on the similarity s based on the distance in 3D space between vertices or the distance in color space (if local texture information is available, this is used to calculate the distance in color space). ij (Point p i and point p j In the existing methods, it is common to adopt the weight s ij Instead of using the general weight s ij The weight s' is updated based on the local shape features. ij (Therefore, when using an embodiment in which the graph weight optimization unit 22 is omitted in the noise removal device 10, the general weight sij It is best to use it as is.)

[0052] This weight update process (s ij →s' ij ) may be performed on all data. Alternatively, it may be performed on only a part of the data. For example, in an embodiment in which the local shape classifier 21 is present in the noise removal device 10, if the result of the local shape classification can be referred to, the weight update process (s ij →s' ij ) may be used for vertices that meet the second judgment and are classified as belonging to a curved surface and / or for vertices that meet the first judgment and are classified as belonging to an edge or a corner. This weight update makes it possible to prevent the curved surface shape from being excessively smoothed when updating the coordinates in the vertex coordinate optimization unit 14 described below. When the update is applied, the following relationship is established, and the weight is updated to be smaller as the deviation of the local shape from the planar shape increases (i.e., as the shape is closer to a curved surface, edge, or corner rather than a planar shape), which has the effect of suppressing excessive smoothing. s ij >s' ij >0

[0053] This is achieved by reducing the weight of the graph edge that is nearly parallel to the direction of the second eigenvector e2, which has the meaning as a local shape feature vector. More specifically, as shown in equation (8-i), i and point p j Edge f ij And point p i The second eigenvector of e2=e2(p i ) and the second eigenvalue λ2=λ2(p i ) using the relationship with the normalized second eigenvalue as described below, and the same relationship with the point p i and point p j Using equation (8-j), which gives the weight s ij The value of is calculated as the optimized weight s' as shown in the following equation (8). ij (Note that in equations (8-i) and (8-j), s ij =s jiAnd f ij =f ji It is.)

[0054]

number

[0055] Here, cos(,) is a function that returns the cosine similarity between two vectors, and λ'2 is the maximum eigenvalue λ2 of all points in the input 3D model. 2max Normalize λ2 using (λ'2=λ2 / λ 2max )

[0056] The greater the deviation of the local shape of each point from the planar shape, the more the over-smoothing of that point can be suppressed, as follows. For example, for the side f of Equation (8-i), ij is the point p i The second eigenvector e2 = e2(p i ) and edge f ij A large difference in the direction of the local shape means that the deviation from the plane of the local shape is large and the curvature is high. Therefore, the larger the difference in the direction, the higher the curvature, and ij ,e2(p i )) becomes smaller, so the updated weight s' ij is updated to a smaller value, which suppresses over-smoothing. i As explained in the second judgment above, when this value is small, it means that the local shape is a plane, and when it is large, it means that the local shape is a curved surface. Similarly, the second eigenvalue λ2(p i ) is larger, the larger the (1-λ2(p i )) becomes smaller, so the updated weight s' ij By updating to a smaller value, over-smoothing can be suppressed.

[0057] In addition to the above, the following method may be used to obtain the same effect. That is, as shown in the explanatory diagram of FIG. iand its neighboring points p j The average vector of the normal vectors of a ij and the focus point p i For the plane F spanned by the second eigenvector e2 of i and the neighboring point p j Let φ(n i u ) as a mapping (φ(n i u ) φ() is a mapping function that projects the input vector onto the plane F, and a ij and all neighboring points n within u hops i v (v≦u) i v ) and cosine similarity cos(a ij ,φ(n i v )) to v min (p i ), the update may be performed using the following formula (9-i) instead of formula (8-i). Similarly, the update may be performed using the following formula (9-j) instead of formula (8-j).

[0058]

number

[0059] Here, for equation (9-i) (similar to equation (9-j) which is symmetric with respect to i and j), the point of interest p i The greater the deviation of the local shape from the plane F, i.e., the greater the deviation of the point p i The closer the local shape in the neighborhood is to a curved surface or an edge or corner rather than a flat surface, the smaller the minimum value v min (p i ) is expected to be smaller than 1. (Note that for normal continuous shapes, 1 ≥ v min (p i )>0.) Therefore, as described above, when using equation (9-i) and the like, the greater the deviation of the local shape from the plane, the greater the updated weight s'ij to a smaller value, it is possible to increase the degree to which over-smoothing of the relevant portion is suppressed.

[0060] v min (p i ) instead of φ(n i u ) variance σ u (p i )(σ u (p i ) is the φ(n i u ) normalized by the variance of v in equation (9-i) min (p i ) to (1-σ u (p i )) can be used to obtain the same effect of suppressing over-smoothing. The same can be done for formula (9-j).

[0061] <<Vertex coordinate optimization unit 14>> The vertex coordinate optimization unit 14 optimizes the optimized normal vector n for each vertex obtained by the normal vector optimization unit 13. i[最適化] (Note that in the following formulas, n i etc.), and the graph s′ whose weights have been updated by the graph weight optimization unit 22. ij Using this, point p i The coordinate value (x i ,y i ,z i ) and actually corrects the shape of the 3D model, outputting the result of noise removal. Specifically, this is achieved by solving the following optimization equation (10). (Note that if weight updates are not applied to all or some of the edges of the graph, the corresponding s' ij The value of s does not update ij ("s' ij =s ij ")

[0062]

number

[0063] where p = (p1, p2, …, p N ) is a variable that lists the coordinates of all N vertices, and p i ,p j is a 3D vector (coordinate value) corresponding to a certain index i,j among all points p. Also, q indicates the initial coordinate of the vertex (i.e., all coordinate values ​​before updating). η, ζ are user-set parameters that determine the weight of each term.

[0064] In this optimization, the first term cost1 in equation (10-1) acts to prevent the change from the original shape q to the updated shape p from becoming too large, the second term cost2 in equation (10-2) acts to prevent the coordinate difference between the neighboring points in the updated shape p from becoming too large, and the third term cost3 in equation (10-3) acts to prevent the optimization normal vector (n i T and n j T ) and the vector connecting the neighboring points (p i -p j All three terms act as cost terms in such a way that the difference between the direction of the weight s' and the direction of the weight s' approaches vertical (because the dot product term takes a minimum value of zero in the vertical case). ij The coefficient is s', so the weight s' is larger for areas that are closer to curved surfaces and have a larger deviation from a plane. ij By updating to a small value, it is possible to allow the coordinate difference between the neighboring points to become larger, and to promote updating to a shape closer to the original shape and promote appropriate smoothing. On the other hand, for the parts that correspond to the plane, the weight s' ij is large, it is possible to prevent the coordinate difference between neighboring points from becoming large, and to prevent unnecessary over-smoothing.

[0065] In the case of the minimum configuration (a configuration in which the functional units 21 and 22 are omitted from the noise removal device 10), the optimization problem of the formula (10) can be solved by removing the second term cost2 of the formula (10-2). i ,p j Since both are variables, when actually optimizing the vertex coordinates, the point pj After fixing, we use an optimization method such as the gradient method to find the point p i The coordinates of this "certain point p i The operation of deriving (updating) the optimal value when i By repeating this process sequentially until the vertex coordinate updates converge (or until a preset number of iterations are completed), the desired vertex coordinates (3D model shape) can be obtained.

[0066] As described above, according to the embodiments of the present invention, by performing noise removal adaptively to local shapes based on local feature amounts obtained from normal vectors, it becomes possible to remove noise that effectively utilizes detailed shape information of the fine details of a 3D model, compared to conventional noise removal techniques that are unified for the entire 3D model and isotropic in three-dimensional space.

[0067] Various supplementary, alternative, and additional examples will be described below.

[0068] (1) The noise removal technology of the present invention can be applied to various applications as a component technology, for example, it can improve the accuracy of modeling of 3D virtual space, increase the value of 3D virtual space, and encourage users to use 3D virtual space. As a result, if the use of remote communication as an example of the application of 3D virtual space is promoted, it will be possible to reduce carbon dioxide emissions by saving energy resources required for user movement, which will contribute to Goal 13 of the Sustainable Development Goals (SDGs) led by the United Nations, "Take urgent action to combat climate change and its impacts."

[0069] (2) The noise removal device 10 may perform repeated processing for the entire process or a part of the process. That is, as shown by line L141 in Fig. 1, the process may be repeated by the entire noise removal device 10 (the n-th noise-removed 3D data output is the n+1-th input), or, as shown by line L142, the noise removal data may be updated again by updating only the graph weights using the noise removal data, and the noise removal data may be obtained again in an updated manner.

[0070] (3) FIG. 5 is a diagram showing an example of a hardware configuration of a general computer device 70. The noise removal device 10 can be realized as one or more computer devices 70 having such a configuration. When the noise removal device 10 is realized by two or more computer devices 70, information required for processing may be transmitted and received via a network. The computer device 70 includes a CPU (Central Processing Unit) 71 that executes predetermined instructions, a GPU (Graphics Processing Unit) 72 as a dedicated processor that executes some or all of the execution instructions of the CPU 71 in place of the CPU 71 or in cooperation with the CPU 71, a RAM 73 as a main storage device that provides a work area for the CPU 71 (and the GPU 72), a ROM 74 as an auxiliary storage device, a communication interface 75, a display 76, an input interface 77 that accepts user input via a mouse, a keyboard, a touch panel, or the like, and a bus BS for transmitting and receiving data between them.

[0071] Each functional unit of the noise removal device 10 can be realized by a CPU 71 and / or a GPU 72 that reads a predetermined program corresponding to the function of each unit from a ROM 74 and executes it. Both the CPU 71 and the GPU 72 are a type of arithmetic device (processor). Here, when display-related processing is performed, a display 76 also operates in conjunction with the CPU 71 and the GPU 72, and when communication-related processing related to data transmission and reception is performed, a communication interface 75 also operates in conjunction with the CPU 71 and the GPU 72. [Explanation of symbols]

[0072] 10... noise removal device, 11... normal vector optimization unit, 12... local shape feature amount calculation unit, 13... normal vector optimization unit, 14... vertex coordinate optimization unit, 21... local shape classification unit, 22... graph weight optimization unit

Claims

1. A noise removal device that removes noise from a three-dimensional model including at least coordinate information of each point, comprising: A first process of calculating a normal to each point of the three-dimensional model; a second process of calculating a local shape feature of the three-dimensional model for each of the points from normals of the surrounding points; a third process of obtaining an optimized normal by optimizing the normal of each point based on the local shape feature of each point; and a fourth process of obtaining a result of noise removal for the three-dimensional model by optimizing the coordinates of each point based on the optimized normal of each point.

2. A fifth process is further performed to classify a shape of a local neighborhood area of ​​each point in the three-dimensional model as a shape including at least a determination result of whether or not the shape corresponds to a plane based on the local shape feature amount of each point; The noise removal device according to claim 1, characterized in that in the third process, using the classified results, the normals of points that correspond to a plane are optimized by isotropically uniformizing, and the normals of points that do not correspond to a plane are optimized by anisotropically uniformizing.

3. In the second process, the local shape feature is calculated as including information of a tangent circle in the local shape; The noise removal device according to claim 2, characterized in that in the third process, the degree to which a component in the tangent direction of the tangent circle is allowed to be included as a fluctuation component to be added to the normal to obtain the optimized normal is set to be greater than the degree to which a perpendicular component in the tangent direction is allowed to be included, thereby anisotropically uniformizing the normals of points that do not fall on the plane.

4. 2. The noise removal device according to claim 1, wherein the second process calculates eigenvalues ​​and eigenvectors from a tensor that lists normal vectors of each point and its neighboring points, and sets the eigenvalues ​​and eigenvectors as local shape features of each point.

5. In the second process, eigenvalues ​​and eigenvectors are calculated from a tensor that lists normal vectors of each point and its neighboring points, and the eigenvalues ​​and eigenvectors are set as local shape features of each point; 3. The noise removal device according to claim 2, wherein in the fifth process, the classification is performed using a threshold decision for the eigenvalue.

6. 2. The noise removal device according to claim 1, wherein in the third process, the optimization is performed based on minimizing a kernel norm of a matrix that lists normal vectors of each point and its neighboring points.

7. 2. The noise removal device according to claim 1, wherein in the fourth process, the optimization is performed by minimizing the costs using costs including at least a third cost, the value of which decreases as the difference between the direction of the corresponding optimized normal vector and the direction of the vector connecting each point and its neighboring point becomes closer to perpendicular.

8. 2. The noise removal device according to claim 1, wherein in the fourth process, the optimization is performed by minimizing a cost including at least a second cost whose value increases as the distance between each point and its neighboring point increases.

9. A sixth process is further performed to graph the relationship between each point and its neighboring points in the three-dimensional model and to weight the edges of the graph; 9. The noise removal device according to claim 8, wherein in the fourth process, the second cost is calculated using the weight of the graph as well.

10. 10. The noise removal device according to claim 9, wherein in the sixth process, a given value is assigned to a weight of an edge of the graph in advance, and the weight of the edge is updated from the given value to a smaller value as a degree to which a local shape in the vicinity of each edge is estimated to deviate from a plane is greater based on the local shape features.

11. In the fourth process, the optimization is performed by minimizing the costs using costs including at least a second cost whose value increases as the distance between each point and its neighboring point increases; 11. The noise removal device according to claim 10, wherein a weight of an edge of the graph is used as a weight for the second cost.

12. 12. A program for causing a computer to function as the noise removal device according to claim 1.

Citation Information

Patent Citations

  • Machine learning for estimating 3D modeled object

    JP2020115336A

  • Three-dimensional object modeling method, three-dimensional object modeling device, server, three-dimensional model creation system, and program

    JP2020135763A

  • Point cloud smoothing filtering method based on normal vector

    WO2021129317A1