Spectral Processing. Misha Kazhdan

Similar documents
IFT LAPLACIAN APPLICATIONS. Mikhail Bessmeltsev

Justin Solomon MIT, Spring 2017

EE Technion, Spring then. can be isometrically embedded into can be realized as a Gram matrix of rank, Properties:

FFTs in Graphics and Vision. The Laplace Operator

Spectral Algorithms II

Spectral Algorithms I. Slides based on Spectral Mesh Processing Siggraph 2010 course

Functional Maps ( ) Dr. Emanuele Rodolà Room , Informatik IX

Laplace-Beltrami Eigenfunctions for Deformation Invariant Shape Representation

The Laplacian ( ) Matthias Vestner Dr. Emanuele Rodolà Room , Informatik IX

Heat Kernel Signature: A Concise Signature Based on Heat Diffusion. Leo Guibas, Jian Sun, Maks Ovsjanikov

Directional Field. Xiao-Ming Fu

Frequency, Vibration, and Fourier

Upon successful completion of MATH 220, the student will be able to:

Laplace Operator and Heat Kernel for Shape Analysis

CS 468, Spring 2013 Differential Geometry for Computer Science Justin Solomon and Adrian Butscher

Math 307 Learning Goals. March 23, 2010

Non-linear Dimensionality Reduction

Data Analysis and Manifold Learning Lecture 9: Diffusion on Manifolds and on Graphs

14 Singular Value Decomposition

Section 3.9. Matrix Norm

LECTURE NOTE #11 PROF. ALAN YUILLE

Laplacian Mesh Processing

Index. C 2 ( ), 447 C k [a,b], 37 C0 ( ), 618 ( ), 447 CD 2 CN 2

CSE 554 Lecture 7: Alignment

Math 307 Learning Goals

Physics 202 Laboratory 5. Linear Algebra 1. Laboratory 5. Physics 202 Laboratory

Lecture 5 : Projections

Stable Spectral Mesh Filtering

Designing Information Devices and Systems II

Lecture 3: Function Spaces I Finite Elements Modeling. Bruno Lévy

BASIC EXAM ADVANCED CALCULUS/LINEAR ALGEBRA

Methods for sparse analysis of high-dimensional data, II

Linear Algebra Massoud Malek

U.C. Berkeley CS294: Spectral Methods and Expanders Handout 11 Luca Trevisan February 29, 2016

Last Time. Social Network Graphs Betweenness. Graph Laplacian. Girvan-Newman Algorithm. Spectral Bisection

Data Analysis and Manifold Learning Lecture 3: Graphs, Graph Matrices, and Graph Embeddings

Differential Topology Final Exam With Solutions

The Conjugate Gradient Method

Preliminary/Qualifying Exam in Numerical Analysis (Math 502a) Spring 2012

Functional Analysis Review

Modal Shape Analysis beyond Laplacian

Beyond Scalar Affinities for Network Analysis or Vector Diffusion Maps and the Connection Laplacian

IFT CONTINUOUS LAPLACIAN Mikhail Bessmeltsev

SPHERICAL UNITARY REPRESENTATIONS FOR REDUCTIVE GROUPS

Statistical Geometry Processing Winter Semester 2011/2012

which arises when we compute the orthogonal projection of a vector y in a subspace with an orthogonal basis. Hence assume that P y = A ij = x j, x i

Summary of Week 9 B = then A A =

MATH Linear Algebra

Math 302 Outcome Statements Winter 2013

LINEAR ALGEBRA 1, 2012-I PARTIAL EXAM 3 SOLUTIONS TO PRACTICE PROBLEMS

Computational Methods. Eigenvalues and Singular Values

Clifford Algebras and Spin Groups

15 Singular Value Decomposition

Lecture 12 : Graph Laplacians and Cheeger s Inequality

Computation. For QDA we need to calculate: Lets first consider the case that

5 Compact linear operators

Chapter 3 Transformations

NUMERICAL COMPUTATION IN SCIENCE AND ENGINEERING

Focus was on solving matrix inversion problems Now we look at other properties of matrices Useful when A represents a transformations.

The Laplace-Beltrami-Operator on Riemannian Manifolds. 1 Why do we need the Laplace-Beltrami-Operator?

ACM/CMS 107 Linear Analysis & Applications Fall 2017 Assignment 2: PDEs and Finite Element Methods Due: 7th November 2017

CS 468, Spring 2013 Differential Geometry for Computer Science Justin Solomon and Adrian Butscher

Stabilization and Acceleration of Algebraic Multigrid Method

Divergence Theorems in Path Space. Denis Bell University of North Florida

The Symmetric Space for SL n (R)

Nonlinear Diffusion. 1 Introduction: Motivation for non-standard diffusion

Contents. Preface for the Instructor. Preface for the Student. xvii. Acknowledgments. 1 Vector Spaces 1 1.A R n and C n 2

An Introduction to Laplacian Spectral Distances and Kernels: Theory, Computation, and Applications. Giuseppe Patané, CNR-IMATI - Italy

Advances in Manifold Learning Presented by: Naku Nak l Verm r a June 10, 2008

2. Review of Linear Algebra

DS-GA 1002 Lecture notes 0 Fall Linear Algebra. These notes provide a review of basic concepts in linear algebra.

MATH 20F: LINEAR ALGEBRA LECTURE B00 (T. KEMP)

Final Exam, Linear Algebra, Fall, 2003, W. Stephen Wilson

Math Linear Algebra II. 1. Inner Products and Norms

Methods for sparse analysis of high-dimensional data, II

Spectral Theorem for Self-adjoint Linear Operators

Lecture 13. Principal Component Analysis. Brett Bernstein. April 25, CDS at NYU. Brett Bernstein (CDS at NYU) Lecture 13 April 25, / 26

Diffusion Geometries, Diffusion Wavelets and Harmonic Analysis of large data sets.

Multigrid absolute value preconditioning

Math (P)Review Part II:

List of Symbols, Notations and Data

Differential Geometry: Discrete Exterior Calculus

A geometric proof of the spectral theorem for real symmetric matrices

Spectral Geometry Processing with Manifold Harmonics. Bruno Vallet Bruno Lévy

Laplace-Beltrami: The Swiss Army Knife of Geometry Processing

LINEAR ALGEBRA BOOT CAMP WEEK 4: THE SPECTRAL THEOREM

For each problem, place the letter choice of your answer in the spaces provided on this page.

CS 143 Linear Algebra Review

Math 350 Fall 2011 Notes about inner product spaces. In this notes we state and prove some important properties of inner product spaces.

Solving Symmetric Indefinite Systems with Symmetric Positive Definite Preconditioners

Image Registration Lecture 2: Vectors and Matrices

Foundations of Computer Vision

Lecture 15, 16: Diagonalization

Lecture 7. Econ August 18

FINITE-DIMENSIONAL LINEAR ALGEBRA

SPECTRAL PROPERTIES OF THE LAPLACIAN ON BOUNDED DOMAINS

CSC Linear Programming and Combinatorial Optimization Lecture 10: Semidefinite Programming

PDEs, part 1: Introduction and elliptic PDEs

MATH 22A: LINEAR ALGEBRA Chapter 4

Spectral Geometry of Riemann Surfaces

Transcription:

Spectral Processing Misha Kazhdan [Taubin, 1995] A Signal Processing Approach to Fair Surface Design [Desbrun, et al., 1999] Implicit Fairing of Arbitrary Meshes [Vallet and Levy, 2008] Spectral Geometry Processing with Manifold Harmonics [Bhat et al., 2008] Fourier Analysis of the 2D Screened Poisson Equation And much, much, much, more

Outline Motivation Laplacian Spectrum Applications Conclusion

Motivation Recall: Given a signal,, we can write it out in terms of its Fourier decomposition: is the th Fourier coefficients of.

Motivation Frequency Decomposition: For smaller, the finite sum: represents the lower frequency components of. 16 32 64 0 2 4 8 128

Motivation Filtering: By modulating the values of as a function of frequency, we can realize different signal filters:

Motivation Filtering: By modulating the values of as a function of frequency, we can realize different signal filters:

Motivation Filtering: By modulating the values of as a function of frequency, we can realize different signal filters:

Motivation Goal: We would like to extend this type of processing to the context of signals defined on surfaces*: 2 *For simplicity, we will assume all surfaces are w/o boundary.

Motivation Goal: We would like to extend this type of processing to the context of signals defined on surfaces* and even to the geometry of the surface itself: 2 *For simplicity, we will assume all surfaces are w/o boundary.

Motivation [WARNING]: In Euclidean space we can use the FFT to obtain the Fourier decomposition efficiently. For signals on surfaces, this is more challenging.

Outline Motivation Laplacian Spectrum Fourier Laplacian FEM discretization Applications Conclusion

How do we obtain the Fourier decomposition?

Fourier Laplacian Recall: In Euclidean space, the Laplacian, is the operator that takes a function and returns the sum of (unmixed) second partial derivatives:

Fourier Laplacian Informally: The Laplacian gives the difference between the value at a point and the average in the vicinity: Δ

Fourier Laplacian Note: The complex exponential has Laplacian: is an eigenfunction of the Laplacian with eigenvalue.

Fourier Laplacian Note: Similarly, has Laplacian: is an eigenfunction of the Laplacian with eigenvalue.

Fourier Laplacian Approach: Though we cannot compute the FFT for signals on general surfaces, we can define a Laplacian. To compute the Fourier decomposition of a signal,, on a mesh we decompose as the linear combination of eigenvectors of the Laplacian: This is called the harmonic decomposition of.

Fourier Laplacian How do we know the eigenvectors of the Laplacian form a basis? Claims: 1. The Laplacian is a symmetric operator. 2. The eigenvectors of a symmetric operator form an orthogonal basis (and have real eigenvalues).

Fourier Laplacian Preliminaries (1): [Definition of the Laplacian] [Product Rule] [Inner Product on Functions] Given a surface : [Divergence Theorem*]

Fourier Laplacian Preliminaries (2): [Lagrange Multipliers] The constrained maximizer: is obtained when the gradient of is perpendicular to the contour lines of :

Symmetry of The Laplacian 1. The Laplacian is a symmetric operator Given a surface, we want to show that for any functions we have:

Symmetry of The Laplacian Proof: By the definition of the Laplacian: Δ div Δ

Symmetry of The Laplacian Proof: By the product rule: Δ

Symmetry of The Laplacian Proof: By the Divergence Theorem*: div, 0 Δ

Spectra of Symmetric Operators 2. The e.vectors of a symmetric operator form an orthogonal basis (and have real e.values) We show this in two steps: I. There always exists at least one real eigenvector. II. If is an eigenvector, then the space of vectors perpendicular to is fixed by the operator. We can restrict to the subspace perpendicular to the found eigenvectors and recurse.

Spectra of Symmetric Operators Proof (II): Suppose that is an eigenvector of a symmetric operator and is orthogonal to : Since Since is an eigenvector, this implies that: is symmetric, we have: The space of vectors orthogonal to orthogonal after applying. stays

Spectra of Symmetric Operators Proof (I): Consider the constrained maximization The sphere is compact so a maximizer exists. At the maximizer, we have: is an eigenvector with (real) eigenvalue.

What happens in the discrete setting?

FEM Discretization 1. To enable computation, we restrict ourselves to a finite dimensional space of functions, spanned by basis functions. Often these are defined to be the hat functions centered at vertices. Piecewise linear Gradients are constant within each triangle Interpolatory Δ if Δ Δ 0 otherwise

FEM Discretization 1. To enable computation, we restrict ourselves to a finite dimensional space of functions, spanned by basis functions. Having chosen a basis, we can think of a vector as a discrete function: If we use the hat functions as a basis, then:

FEM Discretization 1. To enable computation, we restrict ourselves to a finite dimensional space of functions, spanned by basis functions. [WARNING]: In general, given: : A continuous linear operator : A discrete function The function will not be in the space of functions spanned by.

FEM Discretization 1. To enable computation, we restrict ourselves to a finite dimensional space of functions, spanned by basis functions. 2. Given a continuous linear operator, we discretize the operator by projecting:

FEM Discretization Writing out the discrete functions:,,

FEM Discretization Setting and to be the matrices:

FEM Discretization When, we have: Definition: The matrix The matrix Both the mass and stiffness matrices are symmetric and positive (semi) definite. is called the mass matrix. is called the stiffness matrix.

FEM Discretization Setting to the hat functions, the matrix is: 12 if if

FEM Discretization Setting to the hat functions, the matrix is the cotangent Laplacian: cot cot if if

FEM Discretization 12 Observations: if if and [Sparsity] Entry can only be non zero if vertex and vertex are neighbors in the mesh. cot cot if if

FEM Discretization 12 Observations: if if and [Authalicity] The mass matrix is invariant to area preserving deformations. [Conformality] The stiffness matrix is invariant to angle preserving deformations. cot cot if if

FEM Discretization [WARNING]: Given a discrete function, the vector: Often, does the not matrix correspond is approximated to the Laplacian by of the diagonal. lumped mass matrix, making inversion simple. The coefficients of the Laplacian of satisfy: In the literature, the operator is sometimes called the normalized Laplacian.

FEM Discretization Laplacian Spectrum: In the continuous setting, the spectrum of the Laplacian,, satisfies: And the form an orthonormal basis:

FEM Discretization Laplacian Spectrum: In the discrete setting, the spectrum of the Laplacian,, satisfies: And the form an orthonormal basis: Finding the is called the generalized eigenvalue problem.

The Spectrum of the Laplacian Interpreting the Eigenvalues: If is a (unit norm) eigenfunction of the Laplacian, with eigenvalue : The eigenvalue is a measure of how much changes, i.e. the frequency of.

How do we compute the spectral decomposition?

Getting the Dominant Eigenvector Assume that a matrix is diagonalizable, with (unit norm) spectrum. Given, we have the harmonic decomposition:

Getting the Dominant Eigenvector Without loss of too much generality, assume is the largest eigenvalue, for. Then as, for.

Getting the Dominant Eigenvector ArnoldiDominant( ) 1. RandomVector( ) 2. while( ) 3. 4. 5. 6. return (, )

Getting the Sub Dominant Eigenvector If the matrix is symmetric, the eigenvectors will be orthogonal: ArnoldiSubDominant( ) 1. ArnoldiDominant( ) 2. RandomVector( ) 3. while( ) 4. 5. 6. A similar approach can be applied to: 7. Solving the generalized eigenvalue problem Finding the eigenvectors with smallest eigenvalues 8. return (, ) Finding the eigenvectors with eigenvalues closest to

Outline Motivation Laplacian Spectrum Applications Signal/Geometry Filtering Partial Differential Equations Complexity and Approximation Conclusion

Signal/Geometry Filtering HarmonicDecomposition(, ) 1., MassAndStiffness ( ) 2., GeneralizedEigen(, ) 3. For each 1,: 4., Process( ) 1. 0 2. For each 1,: 3. 4. 5. return

Signal Filtering Given a color at each vertex, we can modulate the frequency coefficients of each channel to smooth/sharpen the colors. Input 2

Geometry Filtering Using the position of the vertices as the signal, we can modulate the frequency coefficients of each coordinate to smooth/sharpen the shape. Input 2

Partial Differential Equations Recall: The Laplacian of a function at a point the difference between the value at average value of its neighbors. is and the

Heat Diffusion Newton s Law of Cooling: The rate of heat loss of a body is proportional to the difference in temperatures between the body and its surroundings. Translating this into the PDE, if heat at position at time, then: is the

Heat Diffusion Newton s Law of Cooling: The rate of heat loss of a body is proportional to the difference in temperatures between the body and its surroundings. Goal: Given an initial heat distribution the solution to the PDE:, find such that:

Heat Diffusion Note: Let The functions: be the Laplacian spectrum. are solutions to the PDE. Any linear sum of the is a solution.

Heat Diffusion Compute the harmonic decomposition of : Then consider the function: It is a solution to the heat equation. It satisfies

Heat Diffusion (Colors) HarmonicDecomposition(, ) 1. Process( ) 1. 0 2. For each 1,: 3. 4. 5. return

Heat Diffusion (Geometry) HarmonicDecomposition(, ) 1. Process( ) 1. 0 2. For each 1,: 3. 4. 5. return

Heat Diffusion (Geometry) [WARNING]: 1. As the geometry diffuses, the areas and angles of the triangles change. The mass and stiffness matrices change. The harmonic decomposition changes. If we take this into account, we get a non linear PDE called mean curvature flow. 2. Mean curvature flow can create singularities.

Wave Equation The acceleration of a wave s height is proportional to the difference in height of the surrounding. Translating this into the PDE, if is the height at position at time, then:

Wave Equation The acceleration of a wave s height is proportional to the difference in height of the surrounding. Goal: Given an initial height distribution, find the solution to the PDE: such that:

Wave Equation Note: If are the eigenfunctions/values of the Laplacian, then: are solutions to the PDE. Any linear sum of the and is a solution to the PDE.

Wave Equation Compute the harmonic decomposition of : Then consider the function:,, cos It is a solution to the wave equation. It satisfies It satisfies.

Wave Equation HarmonicDecomposition(, ) 1. Process( ) 1. 0 2. For each 1,: 3. cos 4. 5. return

How practical is it to use the spectral decomposition?

Complexity Challenge: If we have a mesh with vertices we get generalized eigenvectors. storage / computation. Approximate: Sometimes a low frequency solution will do. storage Sometimes a numerically inaccurate solution will do. storage / computation

Approximate Spectral Processing Preliminaries: Let be the mass matrix, the stiffness matrix, and the spectrum, we have: Taking times the 1 st equation plus times the 2 nd : Multiplying by :

Approximate Spectral Processing Preliminaries: Combining these, we get:

Approximate Spectral Processing Example (Signal Smoothing): The goal is to obtain a smoothed signal: We can relax the condition that a different filter. The new filter should: preserve the low frequencies decay at higher frequencies and use

Approximate Spectral Processing Example (Signal Smoothing): Consider the solution to the linear system: Solving this linear system is equivalent to filtering with: 1 1 with the rate of decay of higher frequencies. Taking the spectral decomposition of :

Approximate Spectral Processing Example (Signal Sharpening): Consider the solution to the linear system: Taking the spectral decomposition of :

Approximate Spectral Processing Example (Signal Sharpening): Consider the solution to the linear system: This filter satisfies: Signal smoothing is a special instance, with 0. : Low frequencies preserved : High frequencies scaled by.

Approximate Spectral Processing Process(,,, ) 1., MassAndStiffness ( ) 2. 3. 4. return Solve(, ) By approximating, we replace the computational complexity of storing/computing the spectral decomposition with the complexity of solving a sparse linear system.

Heat Diffusion (Revisited) Discretization (Temporal): Letting be the solution at time, we can (temporally) discretize the PDE in two ways: Explicit Implicit

Heat Diffusion (Revisited) Explicit Implicit Discretization (Spatial): Projecting onto the discrete function basis gives:

Heat Diffusion (Revisited) Explicit Implicit 1 Discretization: Both methods give an inaccurate answer when a large time step,, is used. But 1 1

Heat Diffusion (Revisited) Explicit Implicit Though neither approximation gives an accurate answer at large times steps, implicit integration is guaranteed to be 1 (unconditionally) 1 stable. 1 Discretization: A similar approach can be used to approximate the solution to the wave equation without a harmonic decomposition. Both filters preserve low frequencies: lim 1 1 lim 1 1 But at high frequencies (and large time steps): lim 1 lim 1 1 1 0

Outline Motivation Laplacian Spectrum Applications Conclusion

Conclusion Though there is no Fourier Transform for general surfaces, we can use the spectrum of the Laplacian to get a frequency decomposition. This enables: Filtering of signals Solving PDEs by modulating the frequency coefficients.

Conclusion Though computing a full spectral decomposition is not space/time efficient, we can often: Use the lower frequencies. Design linear operators whose solution has the desired frequency modulation. Using the theory of spectral decomposition: We can design stable simulations, without explicitly computing the decomposition.

Future We have seen that the mass and stiffness matrices are invariant to (respectively) authalic and conformal deformations. Eigenvalues as isometry invariant signatures [Reuter, 2006] Laplace Beltrami Spectra as `Shape DNA Isometric embedding for intrinsic symmetry detection [Ovsjanikov et al., 2008] Global Intrinsic Symmetries of Shapes Heat diffusion for computing isometry invariant distances. [Sun et al., 2009] A Concise and Provably Informative Multi Scale Authalicity/Conformality constraints for correspondence [Rustamov et al., 2013] Map Based Exploration of Intrinsic Shape And much, much, much more

Thank You!