Algorithm Search⌘K

Techniqueadvanced

Manifold harmonics

Also called spectral mesh processing, Laplace-Beltrami eigenfunctions.

Uses the eigenfunctions of the cotangent Laplacian as a Fourier basis on a mesh, as Vallet and Levy did, for filtering, compression and shape descriptors.

Manifold harmonics is a technique that does Fourier analysis on a curved surface. On a line or a circle, the sines and cosines are the eigenfunctions of the second derivative, and their frequencies are the eigenvalues. On a surface, the operator that takes the place of the second derivative is the Laplace-Beltrami operator, and its eigenfunctions are the harmonics of the surface. On a triangle mesh, the cotangent Laplacian is the discrete form of this operator. It gives a stiffness matrix CC and a mass matrix MM, and the harmonics are the solutions of the generalized eigenvalue problem Cϕ=λMϕC\phi = \lambda M\phi. A function on the vertices, such as one coordinate of the vertex positions, then has coefficients x~k=ϕkTMx\tilde x_k = \phi_k^{\mathsf T} M x, and it can be rebuilt as x=∑kx~kϕkx = \sum_k \tilde x_k \phi_k. Small λ\lambda are the low frequencies, the coarse shape; large λ\lambda are the fine detail. Vallet and Lévy (2008) built the basis with the mass matrix and called it the manifold harmonic basis. Because the basis is orthonormal in the inner product of MM, the transform is exactly invertible and has the same properties as the discrete Fourier transform, on any mesh and with any sampling.

In plain words

A guitar string has a set of natural tones: the low base tone and higher tones above it. Any sound of the string is a mix of these tones, and a sound filter changes the mix.

A curved surface also has natural tones. The lowest tone is the same value on the whole surface. The next tones go up on one side and down on the other side. Higher tones make more and smaller waves, like ripples on a drum.

Manifold harmonics finds these tones for a triangle mesh. A value at each vertex, for example the height of each point, is then written as a mix of tones. Keep only the low tones and the mesh becomes smooth. Make the high tones stronger and the details stand out. Keep few tones and the mesh needs little storage. The list of tones also describes the shape.

When it applies

  • The data are values at the vertices of a triangle mesh: the vertex positions, a color, a curvature, a temperature. The positions are treated as three separate signals.
  • The task is about frequencies: to smooth, to sharpen, to compress, to compare shapes, or to find a function that changes slowly on the surface.
  • The result must not depend on how the mesh is sampled. This needs the cotangent weights and the mass matrix, not the uniform graph Laplacian.
  • The number of harmonics needed is small compared with the number of vertices, or the mesh is small enough for a dense eigensolver.

The template

  1. MANIFOLD-HARMONICS(mesh with vertices p_1..p_n, signal x on the vertices, count m, transfer function h)
  2. 1C ← the stiffness matrix: C_ij = −(cot α_ij + cot β_ij) / 2 for an edge ij, C_ii = −Σ_{j≠i} C_ij
  3. 2M ← the mass matrix: the diagonal of the vertex areas, or the finite element mass matrix
  4. 3(λ_k, φ_k) for k = 1..m ← the m smallest solutions of C φ = λ M φ, with φ_kᵀ M φ_l = 1 if k = l and 0 if not
  5. 4x̃_k ← φ_kᵀ M x for k = 1..m
  6. 5y ← Σ_{k=1..m} h(λ_k) x̃_k φ_k
  7. 6return y

Why it works. CC is symmetric and positive semidefinite: uTCuu^{\mathsf T} C u is the Dirichlet energy ∫∣∇u∣2\int |\nabla u|^2 of the piecewise linear function with values uu, and the cotangent formula of line L1 is exactly this integral. MM is symmetric positive definite. So the eigenvalues are real and not negative, and the eigenvectors can be chosen with ΦTMΦ=I\Phi^{\mathsf T} M \Phi = I, where Φ\Phi has the columns ϕk\phi_k. Then Φ−1=ΦTM\Phi^{-1} = \Phi^{\mathsf T} M, which is why line L4 multiplies by MM. The transform is exactly invertible, the M-norm of a signal is the sum of its squared coefficients, and the energy is xTCx=∑kλkx~k2x^{\mathsf T} C x = \sum_k \lambda_k \tilde x_k^2. The partial sum of the first mm terms is the closest signal to xx that uses only the first mm harmonics. On a connected mesh, λ1=0\lambda_1 = 0 and ϕ1\phi_1 is constant. The proof gives the details.

Line L2. The mass matrix is the area that each vertex stands for. A diagonal ("lumped") mass gives each vertex one third of the area of its triangles, or its mixed Voronoi area; the finite element mass has Mij=∫φiφjM_{ij} = \int \varphi_i \varphi_j for the hat functions φi\varphi_i. Both are symmetric positive definite when all triangles have positive area. Without MM, the eigenvectors of CC alone depend on the density of the vertices: a part of the mesh with many small triangles gets a different basis from the same part with few large ones.

Line L3. With a diagonal MM, set ψ=M1/2ϕ\psi = M^{1/2}\phi; then M−1/2CM−1/2ψ=λψM^{-1/2} C M^{-1/2} \psi = \lambda \psi is a standard symmetric eigenproblem, and its orthonormal eigenvectors give ϕ=M−1/2ψ\phi = M^{-1/2}\psi. With a full MM, the Cholesky factor M=LLTM = LL^{\mathsf T} does the same. For a large mesh, only the first mm eigenpairs are computed, with the Lanczos algorithm and a shift-invert transform, which needs a sparse factorization of C−σMC - \sigma M. When an eigenvalue is repeated, any M-orthonormal basis of its eigenspace is correct; the Gram-Schmidt process in the inner product uTMvu^{\mathsf T} M v gives one.

Line L5. The transfer function hh chooses the filter. h=1h = 1 for λ≤λc\lambda \le \lambda_c and 00 above is an ideal low-pass filter; h(λ)=e−tλh(\lambda) = e^{-t\lambda} is heat diffusion for the time tt; a bump above 11 in a band of λ\lambda makes the details of that size stronger. With h=1h = 1 and m=nm = n, y=xy = x.

Example. Take the octahedron with the six vertices ±e1,±e2,±e3\pm e_1, \pm e_2, \pm e_3. All eight faces are equilateral with side 2\sqrt 2 and area 3/2\sqrt3/2, and all angles are 60°60° with cot⁡60°=1/3\cot 60° = 1/\sqrt3. So Cij=−1/3C_{ij} = -1/\sqrt3 on the twelve edges and Cii=4/3C_{ii} = 4/\sqrt3. The lumped mass gives each vertex a third of its four faces, Mii=2/3M_{ii} = 2/\sqrt3, and the total area is T=43T = 4\sqrt3. Then M−1C=12(4I−A)M^{-1}C = \tfrac12(4I - A), where AA is the adjacency matrix of the octahedron. The eigenvalues of AA are 44, 00 (three times) and −2-2 (twice), so the manifold harmonic eigenvalues are

λ=0, 2, 2, 2, 3, 3.\lambda = 0,\ 2,\ 2,\ 2,\ 3,\ 3.

The eigenvectors are the constant, the three coordinate functions xx, yy, zz at the vertices, and the functions x2−y2x^2 - y^2 and y2−z2y^2 - z^2. On the unit sphere, the eigenvalues are l(l+1)=0,2,6,…l(l + 1) = 0, 2, 6, \ldots with the same eigenfunctions, so the octahedron gets the first two levels right, and the third one too low.

Now let the signal xx be 11 at the top vertex e3e_3 and 00 at the other five. Its parts in the three eigenspaces are 16\tfrac16 at every vertex (for λ=0\lambda = 0), 12z\tfrac12 z (for λ=2\lambda = 2), and 16(2z2−x2−y2)\tfrac16(2z^2 - x^2 - y^2) (for λ=3\lambda = 3). At the top vertex they add up to 16+12+13=1\tfrac16 + \tfrac12 + \tfrac13 = 1, and at the equator to 16+0−16=0\tfrac16 + 0 - \tfrac16 = 0. Their squared M-norms are T/36T/36, T/12T/12 and T/18T/18, and they add up to T/6=xTMxT/6 = x^{\mathsf T} M x, as Parseval's identity says. A low-pass filter that keeps λ≤2\lambda \le 2 gives 16+12z\tfrac16 + \tfrac12 z: the value 23\tfrac23 at the top, 16\tfrac16 on the equator and −13-\tfrac13 at the bottom. The sharp spike is spread over the whole shape.

On larger meshes the eigenvalues approach those of the sphere. On the icosphere with 162 vertices on the unit sphere, with the mixed Voronoi mass, a dense solve gives 00, 2.0002.000 (three times), 5.8655.865 (five times), 11.23411.234 (three times), 11.41511.415 (four times) and 18.00418.004, against 00, 22, 66, 1212 and 2020 on the sphere. The seven harmonics of degree 33 split into a group of three and a group of four, because the symmetry group of the icosahedron has no irreducible representation of dimension 77. The function xyzxyz is a spherical harmonic of degree 33; its M-norm is 0.3410.341, and after it is projected on the first 1616 harmonics, the M-norm of the rest is 0.00180.0018.

Cost. The matrices of lines L1 and L2 take Θ(n)\Theta(n) time on a mesh with nn vertices. A dense solve of line L3 takes Θ(n3)\Theta(n^3) time and Θ(n2)\Theta(n^2) space, which is practical only for a few thousand vertices. For the first mm harmonics of a large mesh, Lanczos needs one sparse factorization for each shift, and the orthogonalization against mm vectors costs Θ(nm2)\Theta(n m^2); storing the basis takes Θ(nm)\Theta(n m). Lines L4 and L5 take Θ(nm)\Theta(n m) time for each signal.

Classic examples

  • Filtering the geometry. Vallet and Lévy apply lines L4 and L5 to the three coordinates of the vertices. A low-pass hh smooths the mesh, and a band that is made stronger exaggerates the features of one size. The low harmonics keep the coarse shape, so a few hundred of them already give a smooth version of a detailed model.
  • Smoothing as a filter. Laplacian smoothing with a step tt multiplies each coefficient by 1−tλ1 - t\lambda, implicit fairing by 1/(1+tλ)1/(1 + t\lambda), and Taubin smoothing by a product of two such factors that stays near 11 at low frequencies. Taubin used this view to design his filter without computing any eigenvector.
  • Compression. Karni and Gotsman project the vertex coordinates on the first eigenvectors of the combinatorial Laplacian and keep only the first coefficients. For a smooth mesh, these coefficients carry most of the energy. They split large meshes into patches, because the eigenvectors of the whole mesh cost too much.
  • Shape signatures. The eigenvalues depend only on the intrinsic metric, so they do not change when the shape bends without stretching. Reuter, Wolter and Peinecke use the first eigenvalues, after a normalization of the scale, as a signature to search for similar shapes. The heat kernel signature of Sun, Ovsjanikov and Guibas uses ∑ke−tλkϕk(i)2\sum_k e^{-t\lambda_k}\phi_k(i)^2 at each vertex ii as a descriptor of points.
  • Partitioning. The sign of the second harmonic ϕ2\phi_2 cuts the surface into two parts along a narrow neck, as in spectral clustering of a graph.

Variations

  • Lumped or consistent mass. The diagonal mass makes line L3 a standard symmetric problem and is cheaper; the finite element mass gives eigenvalues that are more accurate on a coarse mesh. Reuter and his coauthors use higher order finite elements for more accuracy still.
  • Graph Laplacian. Taubin and Karni-Gotsman use the uniform or combinatorial Laplacian with M=IM = I. It needs no geometry, but its basis follows the connectivity, so the same surface with a different triangulation gets a different basis.
  • Boundary conditions. On a mesh with a boundary, the template as written gives the Neumann harmonics, which are free on the boundary. For Dirichlet harmonics, which are 00 on the boundary, remove the rows and columns of the boundary vertices from CC and MM.
  • Heat and diffusion. With h(λ)=e−tλh(\lambda) = e^{-t\lambda}, line L5 solves the heat equation for the time tt. The heat method uses one implicit step of the same equation, with a sparse solve instead of a basis.
  • Matching shapes. The coefficients of functions in the bases of two shapes can be related by a small matrix. This is the idea of the functional maps of Ovsjanikov and his coauthors, which use the first harmonics of each shape.

Pitfalls

  • Sign and order of the eigenvectors. −ϕ-\phi is also a solution, and the vectors of a repeated eigenvalue are only defined up to a rotation of their space. Two meshes of the same shape can return different signs, different bases, or two close eigenvalues in a different order. Compare eigenspaces, or use quantities like ϕk(i)2\phi_k(i)^2 summed over an eigenspace, not single vectors.
  • The mass matrix in the transform. The coefficient is ϕkTMx\phi_k^{\mathsf T} M x, not ϕkTx\phi_k^{\mathsf T} x. With the plain dot product, the reconstruction ∑kx~kϕk\sum_k \tilde x_k \phi_k is wrong, because the basis is not orthonormal in that product.
  • Ringing. An ideal low-pass filter on a signal with a sharp edge makes ripples next to the edge, as in the Gibbs phenomenon of Fourier series. A smooth transfer function, like e−tλe^{-t\lambda}, avoids them.
  • Bad triangles. A triangle with an angle near 00 or 180°180° gives a very large cotangent, and a triangle with zero area makes MM singular. Then the eigenvalues and eigenvectors are poor. Clean up or remesh the mesh first.
  • Cost of many harmonics. Each harmonic is a dense vector of length nn, and the solve gets slower as mm grows. For a filter of the low frequencies only, a sparse solve such as implicit fairing is often cheaper than a basis.
  • Rounding. A floating point eigensolver gives vectors that are M-orthonormal only up to rounding, and the vectors of close eigenvalues are sensitive to small changes of the mesh. Check ΦTMΦ\Phi^{\mathsf T} M \Phi against II before trusting the transform.

Exercises

  1. Show that one step of implicit fairing, (M+tC) y=Mx(M + tC)\,y = Mx, gives y=∑kx~kϕk/(1+tλk)y = \sum_k \tilde x_k \phi_k / (1 + t\lambda_k).
  2. On the octahedron of the example, check that the vector with the values of x2−y2x^2 - y^2 at the vertices satisfies Cϕ=3MϕC\phi = 3M\phi.
  3. Show that if all vertex areas are equal, M=aIM = aI, the manifold harmonics are the eigenvectors of CC, and the coefficient is a ϕkTxa\,\phi_k^{\mathsf T} x.
  4. Show that the Rayleigh quotient uTCu/uTMuu^{\mathsf T} C u / u^{\mathsf T} M u is at least λ2\lambda_2 for every u≠0u \ne 0 with 1TMu=0\mathbf 1^{\mathsf T} M u = 0 on a connected mesh. What does this say about ϕ2\phi_2?
  5. Scale a mesh by a factor ss. How do CC, MM and the eigenvalues change? Why must a shape signature normalize the scale?
Proof: The manifold harmonic basis is M-orthonormal, its frequencies are real and not negative, and the transform is exactly invertiblefull

Setup. A triangle mesh has vertices p1,…,pnp_1, \ldots, p_n. Every vertex is in at least one triangle, and every triangle has positive area. For a vector u∈Rnu \in \mathbb{R}^n of values at the vertices, uu also names the piecewise linear function that has these values at the vertices and is linear on each triangle. Let φa\varphi_a be the hat function of vertex aa, so u=∑auaφau = \sum_a u_a \varphi_a.

The stiffness matrix is CC with Cab=−12(cot⁡αab+cot⁡βab)C_{ab} = -\tfrac12(\cot\alpha_{ab} + \cot\beta_{ab}) for an edge abab, where αab\alpha_{ab} and βab\beta_{ab} are the angles opposite the edge (one angle for a boundary edge), Cab=0C_{ab} = 0 when abab is not an edge, and Caa=−∑b≠aCabC_{aa} = -\sum_{b \ne a} C_{ab}. The mass matrix MM is one of these:

  • the lumped mass, a diagonal matrix whose entry MaaM_{aa} is a sum of positive parts of the triangles at aa (one third of each area, or the mixed Voronoi area);
  • the consistent mass Mab=∫φaφbM_{ab} = \int \varphi_a \varphi_b.

The template solves Cϕ=λMϕC\phi = \lambda M \phi and uses the transform x~=ΦTMx\tilde x = \Phi^{\mathsf T} M x, where the columns of Φ\Phi are the eigenvectors ϕk\phi_k.

Lemma 1 (the stiffness matrix is the Dirichlet energy). CC is symmetric and uTCu=∫∣∇u∣2≥0u^{\mathsf T} C u = \int |\nabla u|^2 \ge 0 for every uu.

Proof. Take a triangle TT with vertices a,b,ca, b, c, area AA and unit normal ν\nu. The hat function φa\varphi_a is 11 at aa and 00 on the edge bcbc, so on TT its gradient is perpendicular to bcbc, in the plane of TT, with length 1/ha1/h_a, where ha=2A/∣c−b∣h_a = 2A/|c - b| is the height from aa. This is ∇φa=ν×(c−b)/(2A)\nabla\varphi_a = \nu \times (c - b)/(2A). In the same way ∇φb=ν×(a−c)/(2A)\nabla\varphi_b = \nu \times (a - c)/(2A). Both vectors c−bc - b and a−ca - c lie in the plane, so (ν×v)⋅(ν×w)=v⋅w(\nu \times v) \cdot (\nu \times w) = v \cdot w for them, and

∫T∇φa⋅∇φb=A (c−b)⋅(a−c)4A2=−(b−c)⋅(a−c)4A.\int_T \nabla\varphi_a \cdot \nabla\varphi_b = A\,\frac{(c - b)\cdot(a - c)}{4A^2} = -\frac{(b - c)\cdot(a - c)}{4A}.

With γ\gamma the angle at cc, (b−c)⋅(a−c)=∣b−c∣∣a−c∣cos⁡γ(b - c)\cdot(a - c) = |b - c||a - c|\cos\gamma and 2A=∣b−c∣∣a−c∣sin⁡γ2A = |b - c||a - c|\sin\gamma, so the integral is −12cot⁡γ-\tfrac12\cot\gamma. An edge abab is in one or two triangles, and γ\gamma is the angle opposite abab in each, so ∫∇φa⋅∇φb=Cab\int \nabla\varphi_a \cdot \nabla\varphi_b = C_{ab} for a≠ba \ne b. Since ∑bφb=1\sum_b \varphi_b = 1 on every triangle, ∑b∇φb=0\sum_b \nabla\varphi_b = 0, so ∫∇φa⋅∇φa=−∑b≠a∫∇φa⋅∇φb=Caa\int \nabla\varphi_a \cdot \nabla\varphi_a = -\sum_{b \ne a}\int \nabla\varphi_a \cdot \nabla\varphi_b = C_{aa}. Thus Cab=∫∇φa⋅∇φbC_{ab} = \int \nabla\varphi_a \cdot \nabla\varphi_b for all a,ba, b. This is symmetric in aa and bb, and uTCu=∫∣∑aua∇φa∣2=∫∣∇u∣2u^{\mathsf T} C u = \int |\sum_a u_a \nabla\varphi_a|^2 = \int |\nabla u|^2. □\square

Lemma 2 (the kernel of the stiffness matrix). Cu=0Cu = 0 exactly when uu is constant on each connected component of the mesh.

Proof. If uu is constant on each component, then ∇u=0\nabla u = 0 on every triangle, so uTCu=0u^{\mathsf T}Cu = 0; and if uTCu=0u^{\mathsf T}Cu = 0, then Cu=0Cu = 0, because CC is symmetric positive semidefinite (Lemma 1): with C=RTRC = R^{\mathsf T}R, ∣Ru∣2=0|Ru|^2 = 0 gives Ru=0Ru = 0 and Cu=0Cu = 0. Conversely, Cu=0Cu = 0 gives ∫∣∇u∣2=0\int|\nabla u|^2 = 0. Each triangle has positive area and ∇u\nabla u is constant on it, so ∇u=0\nabla u = 0 there, and uu takes the same value at the three vertices. Two triangles that share a vertex give the same value to it, so the value is the same on each connected component. □\square

Lemma 3 (the mass matrix is positive definite). MM is symmetric and uTMu>0u^{\mathsf T} M u > 0 for u≠0u \ne 0.

Proof. The lumped mass is diagonal, and each vertex has a positive entry because it is in a triangle and each triangle gives it a positive part. Then uTMu=∑aMaaua2>0u^{\mathsf T}Mu = \sum_a M_{aa}u_a^2 > 0 for u≠0u \ne 0. The consistent mass is symmetric by definition and uTMu=∫u2≥0u^{\mathsf T}Mu = \int u^2 \ge 0. If ∫u2=0\int u^2 = 0, then u=0u = 0 on every triangle, because uu is continuous and each triangle has positive area, so ua=0u_a = 0 at every vertex. □\square

Lemma 4 (eigenvectors of different eigenvalues are M-orthogonal). If Cϕ=λMϕC\phi = \lambda M\phi and Cψ=μMψC\psi = \mu M\psi with λ≠μ\lambda \ne \mu, then ψTMϕ=0\psi^{\mathsf T} M \phi = 0.

Proof. By the symmetry of CC and MM, λ ψTMϕ=ψTCϕ=ϕTCψ=μ ϕTMψ=μ ψTMϕ\lambda\,\psi^{\mathsf T}M\phi = \psi^{\mathsf T}C\phi = \phi^{\mathsf T}C\psi = \mu\,\phi^{\mathsf T}M\psi = \mu\,\psi^{\mathsf T}M\phi. So (λ−μ) ψTMϕ=0(\lambda - \mu)\,\psi^{\mathsf T}M\phi = 0, and ψTMϕ=0\psi^{\mathsf T}M\phi = 0. □\square

Theorem 1 (the basis). There are real numbers λ1≤⋯≤λn\lambda_1 \le \cdots \le \lambda_n and a matrix Φ\Phi with columns ϕ1,…,ϕn\phi_1, \ldots, \phi_n such that

CΦ=MΦΛ,ΦTMΦ=I,Λ=diag⁡(λ1,…,λn).C\Phi = M\Phi\Lambda, \qquad \Phi^{\mathsf T} M \Phi = I, \qquad \Lambda = \operatorname{diag}(\lambda_1, \ldots, \lambda_n).

Each λk=ϕkTCϕk≥0\lambda_k = \phi_k^{\mathsf T}C\phi_k \ge 0. The number of zero eigenvalues is the number of connected components, and on a connected mesh λ1=0\lambda_1 = 0 with ϕ1=1/1TM1\phi_1 = \mathbf 1/\sqrt{\mathbf 1^{\mathsf T}M\mathbf 1}, up to sign. Any set of eigenvectors that is M-orthonormal inside each eigenspace is M-orthonormal as a whole.

Proof. By Lemma 3, MM has a Cholesky factorization M=LLTM = LL^{\mathsf T} with LL invertible. Let K=L−1CL−TK = L^{-1}CL^{-\mathsf T}. It is symmetric, because CC is. By the spectral theorem, K=YΛYTK = Y\Lambda Y^{\mathsf T} with YY orthogonal and Λ\Lambda real diagonal; order the diagonal increasingly. Set Φ=L−TY\Phi = L^{-\mathsf T}Y. Then

CΦ=LKLTL−TY=LKY=LYΛ=LLTL−TYΛ=MΦΛ,C\Phi = L K L^{\mathsf T} L^{-\mathsf T} Y = L K Y = L Y \Lambda = L L^{\mathsf T} L^{-\mathsf T} Y \Lambda = M\Phi\Lambda,
ΦTMΦ=YTL−1LLTL−TY=YTY=I.\Phi^{\mathsf T}M\Phi = Y^{\mathsf T}L^{-1}LL^{\mathsf T}L^{-\mathsf T}Y = Y^{\mathsf T}Y = I.

Column kk of the first identity is Cϕk=λkMϕkC\phi_k = \lambda_k M\phi_k. Multiply by ϕkT\phi_k^{\mathsf T} and use ϕkTMϕk=1\phi_k^{\mathsf T}M\phi_k = 1: λk=ϕkTCϕk≥0\lambda_k = \phi_k^{\mathsf T}C\phi_k \ge 0 by Lemma 1.

The eigenvectors of λ=0\lambda = 0 satisfy Cϕ=0C\phi = 0, so by Lemma 2 they are the functions that are constant on each component. This space has dimension equal to the number of components cc, and the columns of Φ\Phi for λ=0\lambda = 0 are linearly independent (they are M-orthonormal) and lie in it. A vector uu in this space with uTMϕk=0u^{\mathsf T}M\phi_k = 0 for all kk with λk=0\lambda_k = 0 is M-orthogonal to all columns of Φ\Phi (Lemma 4 for the others), and since Φ\Phi is invertible (ΦTMΦ=I\Phi^{\mathsf T}M\Phi = I), u=ΦΦTMu=0u = \Phi\Phi^{\mathsf T}Mu = 0. So the columns for λ=0\lambda = 0 span the space, and there are exactly cc of them. On a connected mesh the space is spanned by 1\mathbf 1, and its M-unit vectors are ±1/1TM1\pm\mathbf 1/\sqrt{\mathbf 1^{\mathsf T}M\mathbf 1}.

For the last claim, take eigenvectors ϕk\phi_k that are M-orthonormal inside each eigenspace. Two of them from different eigenspaces are M-orthogonal by Lemma 4. So all pairs are M-orthogonal and each has M-norm 11. □\square

Remark (repeated eigenvalues). A linear combination of eigenvectors of one eigenvalue λ\lambda is again an eigenvector of λ\lambda. So the Gram-Schmidt process in the inner product ⟨u,v⟩M=uTMv\langle u, v\rangle_M = u^{\mathsf T}Mv, applied inside each eigenspace, turns any basis of eigenvectors into an M-orthonormal one, and the last claim of Theorem 1 then gives the whole basis.

Theorem 2 (transform, inverse and Parseval). Let Φ\Phi be as in Theorem 1, x∈Rnx \in \mathbb R^n a signal, and x~=ΦTMx\tilde x = \Phi^{\mathsf T}Mx, so x~k=ϕkTMx\tilde x_k = \phi_k^{\mathsf T}Mx. Then

  1. x=Φx~=∑kx~kϕkx = \Phi\tilde x = \sum_k \tilde x_k\phi_k;
  2. xTMx=∑kx~k2x^{\mathsf T}Mx = \sum_k \tilde x_k^2 and xTCx=∑kλkx~k2x^{\mathsf T}Cx = \sum_k \lambda_k\tilde x_k^2;
  3. for every mm, the vector xm=∑k≤mx~kϕkx_m = \sum_{k \le m}\tilde x_k\phi_k is the unique closest vector to xx in the M-norm among the combinations of ϕ1,…,ϕm\phi_1, \ldots, \phi_m, and (x−xm)TM(x−xm)=∑k>mx~k2(x - x_m)^{\mathsf T}M(x - x_m) = \sum_{k > m}\tilde x_k^2;
  4. for every function hh, the filtered signal y=∑kh(λk)x~kϕky = \sum_k h(\lambda_k)\tilde x_k\phi_k has the coefficients y~k=h(λk)x~k\tilde y_k = h(\lambda_k)\tilde x_k.

Proof. From ΦTMΦ=I\Phi^{\mathsf T}M\Phi = I, the square matrix Φ\Phi is invertible with Φ−1=ΦTM\Phi^{-1} = \Phi^{\mathsf T}M, so ΦΦTM=I\Phi\Phi^{\mathsf T}M = I too. Then Φx~=ΦΦTMx=x\Phi\tilde x = \Phi\Phi^{\mathsf T}Mx = x, which is item 1. For item 2, xTMx=x~TΦTMΦx~=x~Tx~x^{\mathsf T}Mx = \tilde x^{\mathsf T}\Phi^{\mathsf T}M\Phi\tilde x = \tilde x^{\mathsf T}\tilde x, and xTCx=x~TΦTCΦx~=x~TΦTMΦΛx~=x~TΛx~x^{\mathsf T}Cx = \tilde x^{\mathsf T}\Phi^{\mathsf T}C\Phi\tilde x = \tilde x^{\mathsf T}\Phi^{\mathsf T}M\Phi\Lambda\tilde x = \tilde x^{\mathsf T}\Lambda\tilde x. For item 3, a combination z=∑k≤mckϕkz = \sum_{k \le m}c_k\phi_k has the coefficients z~k=ck\tilde z_k = c_k for k≤mk \le m and 00 for k>mk > m (because ΦTMΦ=I\Phi^{\mathsf T}M\Phi = I), so by item 2 applied to x−zx - z,

(x−z)TM(x−z)=∑k≤m(x~k−ck)2+∑k>mx~k2.(x - z)^{\mathsf T}M(x - z) = \sum_{k \le m}(\tilde x_k - c_k)^2 + \sum_{k > m}\tilde x_k^2.

This is smallest exactly when ck=x~kc_k = \tilde x_k for all k≤mk \le m, which is z=xmz = x_m, and then it is ∑k>mx~k2\sum_{k > m}\tilde x_k^2. Item 4 is y~=ΦTMΦ diag⁡(h(λk)) x~=diag⁡(h(λk)) x~\tilde y = \Phi^{\mathsf T}M\Phi\,\operatorname{diag}(h(\lambda_k))\,\tilde x = \operatorname{diag}(h(\lambda_k))\,\tilde x. □\square

What is not proved here. The proofs are in exact arithmetic. An eigensolver in floating point returns vectors that are M-orthonormal only up to rounding, and the size of that error depends on the solver and on the gaps between the eigenvalues. How well the discrete eigenvalues approximate the eigenvalues of the smooth surface depends on the mesh and is a result of finite element theory, not of this proof.

References

  1. Bruno Vallet and Bruno Lévy, Spectral geometry processing with manifold harmonics, Computer Graphics Forum 27(2) (Eurographics 2008), 251 to 260, the manifold harmonic basis as the eigenvectors of the discrete Laplace-Beltrami operator, its orthonormality for the mass matrix, the manifold harmonic transform and its inverse, the filtering of the geometry with transfer functions, and the computation of the eigenvectors band by band
  2. Gabriel Taubin, A signal processing approach to fair surface design, SIGGRAPH 1995, 351 to 358, the eigenvectors of the mesh Laplacian as the natural frequencies of a mesh, smoothing as a low-pass filter, and the two-step filter that does not shrink the mesh
  3. Zachi Karni and Craig Gotsman, Spectral compression of mesh geometry, SIGGRAPH 2000, 279 to 286, the projection of the vertex coordinates on the eigenvectors of the combinatorial mesh Laplacian, the truncation of the coefficients for compression, and the partition of large meshes into patches
  4. Martin Reuter, Franz-Erich Wolter and Niklas Peinecke, Laplace-Beltrami spectra as Shape-DNA of surfaces and solids, Computer-Aided Design 38(4), 2006, 342 to 366, the beginning of the Laplace-Beltrami spectrum, computed with finite elements, as a signature of a shape that does not change under isometries

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH2 full proof
  • correctness: no review record reviews/Q55GWK/proof-correctness.yaml
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW3 standard
  • five exercises