[3D Vision] Laplacian coordinates of the grid and its application

Laplacian coordinates

When computing the Laplacian coordinates of a grid, the following formula can be used:

For a person with NNA grid of N vertices, assuming that the coordinates of each vertex are ( xi , yi , zi ) (x_i, y_i, z_i)(xi,yi,zi) , wherei = 1 , 2 , … , N i = 1, 2, \ldots, Ni=1,2,,N

Laplacian coordinates L i L_iLiRepresents the iithThe weighted average of the difference between the coordinates of i vertices and the coordinates of their neighbors.

Commonly used calculation formulas are as follows:

L i = 1 m ∑ j = 1 m w i j ( v i − v j ) L_i = \frac{1}{m} \sum_{j=1}^{m} w_{ij} (v_i - v_j) Li=m1j=1mwij(vivj)

in:

  • L i L_i LiThis is number iiLaplacian coordinates of i vertices.
  • m m m is theiithThe number of adjacent vertices for i vertices.
  • v i = ( x i , y i , z i ) v_i = (x_i, y_i, z_i) vi=(xi,yi,zi) is no.iiThe coordinates of i vertices.
  • vj = (xj, yj, zj) v_j = (x_j, y_j, z_j)vj=(xj,yj,zj) is no.iiThe jjthvertex of iThe coordinates of j adjacent vertices.
  • w i j w_{ij} wijis the weight, indicating the iithi vertex andjjthThe connection strength between j adjacent vertices. Common weight calculation methods include uniform weight, distance weight and so on.

Insert image description here

More general formula

Using uniform weights
L i = 1 m ∑ j = 1 m ( vi − vj ) L_i = \frac{1}{m} \sum_{j=1}^{m} (v_i - v_j)Li=m1j=1m(vivj)
Write it another way:

L i = v i − 1 m ∑ j = 1 m v j L_i =v_i- \frac{1}{m} \sum_{j=1}^{m} v_j Li=vim1j=1mvj

That is to say, the Laplace coordinates of a vertex are the difference between the coordinates of the vertex and the mean of its neighbors.
Insert image description here

It should be noted that Laplacian coordinates are a feature describing the grid structure and shape, and are used to analyze the smoothness, deformation and other properties of the grid. It has a wide range of applications in computer graphics, computer vision and other fields. The specific weight calculation methods and application scenarios may vary, and you can choose a suitable method according to your specific needs.

Application scenarios

In physics and computer graphics, the Laplace coordinates of vertices have many important physical meanings and applications. Here are some common physical meanings:

  1. Shape analysis and feature extraction : Laplacian coordinates can be used to describe local geometric features of 3D shapes. By calculating the Laplace coordinates of the vertex, the geometric structure information around the vertex, such as curvature, surface normal, etc., can be obtained. This information is useful for shape analysis, feature extraction, and model comparison.

  2. Model smoothing and denoising : Laplacian coordinates can be used for model smoothing and denoising. By smoothing the Laplacian coordinates of the vertices, it is possible to reduce high-frequency noise in the shape and preserve the overall structure of the shape. This is used frequently in rendering and modeling in computer graphics.

  3. Shape deformation and animation : Laplacian coordinates also play an important role in shape deformation and animation. By deforming the Laplace coordinates of vertices, local or overall deformation effects of the shape can be achieved. This is very common in computer animation, virtual reality, and game development.

  4. Model editing and reconstruction : Using Laplacian coordinates, model editing and reconstruction can be performed. By modifying the Laplacian coordinates of the vertices, you can edit the shape of the model, such as stretching, compressing, twisting, and other operations. At the same time, Laplacian coordinates can also be used to reconstruct three-dimensional shapes. For example, a surface reconstruction algorithm is used to restore a three-dimensional model with continuity and smoothness from point cloud data.

In short, the Laplacian coordinates of vertices are widely used in the analysis, processing and editing of three-dimensional shapes. They can provide geometric feature information of shapes and support various shape operations and applications, including shape analysis, model smoothing, and shape deformation. , model editing, etc.

article

Differential Coordinates for Interactive Mesh Editing

Laplace Surface Editing (original paper)

software

Blender Laplacian deformation modifier
Insert image description here

Blender Laplace Smooth Modifier
Insert image description here

try

Laplacian filter Laplacian filter

original grid Laplacian coordinate visualization of the grid (smooth) original grid coordinates - Laplacian coordinates (sharp) original grid coordinates + Laplacian coordinates
Insert image description here centered centered centered

Guess you like

Origin blog.csdn.net/weixin_43693967/article/details/132467876