Top Banner
Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University
97

Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Dec 21, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Spectral Mesh Processing

SIGGRAPH Asia 2011 Course

Elements of Geometry Processing

Hao (Richard) Zhang, Simon Fraser University

Page 2: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

What do you see?

Page 3: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Page 4: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Page 5: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Page 6: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Page 7: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Page 8: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Solved in a new view …

Page 9: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

? !

The same problem, phenomenon or data set, when viewed from a different angle, or in a new function space, may better reveal its underlying structure to facilitate the solution.

Different view or function space

Page 10: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Solving problems in a different function space using a transform spectral transform

Spectral: a solution paradigm

Page 11: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

x

y x

y

Solving problems in a different function space using a transform spectral transform

Spectral: a solution paradigm

Page 12: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

A first example

• Shape correspondence

Page 13: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

A first example

• Shape correspondence • Rigid alignment easy, but how about shape pose?

Page 14: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

A first example

• Shape correspondence • Spectral transform normalizes shape pose

Page 15: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

A first example

• Shape correspondence

Rig

id a

lignm

ent

• Spectral transform normalizes shape pose

Page 16: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Spectral mesh processing

Use eigenstructures of appropriately defined linear mesh operators for geometry analysis and processing

Spectral = use of eigenstructures

Page 17: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Eigenstructures

• Eigenvalues and eigenvectors:

• Diagonalization or eigen-decomposition:

• Projection into eigensubspace:

• DFT-like spectral transform:

Au = u, u 0

A = UUT

ŷ = UTy

y’ = U(k)U(k)Ty

Page 18: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Function space

• Global basis provided by eigenvectors

• Eigenvectors are solutions of global optimization problem

• Eigenstructures reflect global (non-local) info in the shape

• Spectral is HIP

Page 19: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Overall picture

Input mesh y Eigendecomposition: A = UUT

= U UTA

y’ = U(3)U(3)Ty

e.g.

=Some mesh operator A

Page 20: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Classification of applications

• What eigenstructures are used– Eigenvalues: signature for shape characterization

– Eigenvectors: form spectral embedding (a transform)

– Eigenprojection: also a transform DFT-like

Page 21: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Classification of applications

• What eigenstructures are used– Eigenvalues: signature for shape characterization

– Eigenvectors: form spectral embedding (a transform)

– Eigenprojection: also a transform DFT-like

• Dimensionality of spectral embeddings– 1D: mesh sequencing

– 2D or 3D: graph drawing or mesh parameterization

– Higher D: clustering, segmentation, correspondence

Page 22: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Classification of applications

• What eigenstructures are used– Eigenvalues: signature for shape characterization

– Eigenvectors: form spectral embedding (a transform)

– Eigenprojection: also a transform DFT-like

• Dimensionality of spectral embeddings– 1D: mesh sequencing

– 2D or 3D: graph drawing or mesh parameterization

– Higher D: clustering, segmentation, correspondence

• Mesh operator used– Combinatorial vs. geometric, 1st-order vs. higher order

Page 23: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

More details in survey

• H. Zhang, O. van Kaick, and R. Dyer, “Spectral Mesh Processing”, Computer Graphics Forum (Eurographics STAR 2007), 2011.

Eigenvector (of a combinatorial operator) plots on a sphere

Page 24: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

This talk

• What is the spectral approach exactly?

– Three perspectives or views

– Motivations

• Sampler of applications

• Difficulties and challenges

Page 25: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

• A signal processing perspective

– A very gentle introduction boredom alert

– Signal compression and filtering

– Relation to discrete Fourier transform (DFT)

• Geometric perspective: global and intrinsic

• Dimensionality reduction

The three perspectives

Page 26: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

• A signal processing perspective

– A very gentle introduction boredom alert

– Signal compression and filtering

– Relation to discrete Fourier transform (DFT)

• Geometric perspective: global and intrinsic

• Dimensionality reduction

The first perspective

Page 27: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

The smoothing problem

• Smooth out rough features of a contour (2D shape)

Page 28: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Laplacian smoothing

• Move each vertex towards the centroid of its neighbours

• Here: – Centroid = midpoint– Move half way

Page 29: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Laplacian smoothing and Laplacian

• Local averaging

• 1D discrete Laplacian

Page 30: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Smoothing result

• Obtained by 10 steps of Laplacian smoothing

Page 31: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Signal representation

• Represent a contour using a discrete periodic 2D signal

x-coordinates of the seahorse contour

Page 32: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

In matrix form

x component onlyy treated same way

Smoothing operator

Page 33: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

1D discrete Laplacian operator

• Smoothing and Laplacian operator

Page 34: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Spectral analysis of a signal

• Signal as linear combination of Laplacian eigenvectors

Page 35: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Spectral analysis of a signal

• Signal as linear combination of Laplacian eigenvectors

DFT-like spectral transform

XSpatial domain Spectral domainProject X along eigenvector

Page 36: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Plot of eigenvectors

• First 8 eigenvectors of the 1D Laplacian

More oscillation as eigenvalues (frequencies) increase

Page 37: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Relation to DFT

• Smallest eigenvalue of L is zero

• Each remaining eigenvalue has multiplicity 2

• The plotted real eigenvectors are not unique to L

• One particular set of eigenvectors of L are the DFT basis

• Both sets exhibit similar oscillatory behaviours wrt frequencies

Page 38: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Reconstruction and compression

• Reconstruction using k leading coefficients

• A form of spectral compression with info loss given by L2

Page 39: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Plot of transform coefficients

• Fairly fast decay as eigenvalue increases

Page 40: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Reconstruction examplesn = 401

n = 75

Page 41: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Laplacian smoothing as filtering

• Recall the Laplacian smoothing operator

• Repeated application of S

A filter applied to spectral coefficients

Page 42: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Examples: low-pass filtering

Filter:

m = 1 m = 5 m = 10 m = 50

Page 43: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Computational issues

• No need to compute spectral coefficients for filtering

– Polynomial (e.g., Laplacian): matrix-vector multiplication

• Spectral compression needs explicit spectral transform

Page 44: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Spectral mesh transform

• Signal representation

– Vectors of x, y, z vertex coordinates

• Laplacian operator for meshes

– Encodes connectivity and geometry

– Combinatorial: graph Laplacians and variants

– Discretization of the continuous Laplace-Beltrami operator by Bruno

• The same kind of spectral transform and analysis

(x, y, z)

Page 45: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Spectral mesh compression

Page 46: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Main references

Page 47: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

A geometric perspective

• Classical Euclidean geometry

– Primitives not represented in coordinates

– Geometric relationships deduced in a

pure and self-contained manner

– Use of axioms

Page 48: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

A geometric perspective

• Descartes’ analytic geometry

– Algebraic analysis tools introduced

– Primitives referenced in global frame

extrinsic approach

Page 49: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Intrinsic approach

• Riemann’s intrinsic view of geometry

– Geometry viewed purely from the surface perspective

– Metric: “distance” between points on surface

– Many spaces (shapes) can be treated

simultaneously: isometry

Page 50: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Spectral: intrinsic view

• Spectral approach takes the intrinsic view

– Intrinsic mesh information captured via a linear mesh operator

– Eigenstructures of the operator present the intrinsic geometric

information in an organized manner

– Rarely need all eigenstructures, dominant ones often suffice

Page 51: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Capture of global information

(Courant-Fisher) Let S n n be a symmetric matrix. Then its eigenvalues 1 2 …. n must satisfy the following,

where v1, v2, …, vi – 1 are eigenvectors of S corresponding to the smallest eigenvalues 1, 2 , …, i – 1, respectively.

min T

11 ,0

1T

2

vv

vv

vS

i-k

i

k

Page 52: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Interpretation

• Smallest eigenvector minimizes the Rayleigh quotient

• k-th smallest eigenvector minimizes Rayleigh quotient, among the

vectors orthogonal to all previous eigenvectors

• Solutions to global optimization problems

min T

11 ,0

1T

2

vv

vv

vS

i-k

i

k

vv

vvT

TS

Rayleigh quotient

Page 53: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Use of eigenstructures

• Eigenvalues– Spectral graph theory: graph eigenvalues closely related to

almost all major global graph invariants

– Have been adopted as compact global shape descriptors

• Eigenvectors– Useful extremal properties, e.g., heuristic for NP-hard problems

normalized cuts and sequencing

– Spectral embeddings capture global information, e.g., clustering

Page 54: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Example: clustering problem

Page 55: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Example: clustering problem

Page 56: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Spectral clustering

Operator A

Encode information about pairwise point affinities

Leading eigenvectors

Input data

2

2

2ji pp

ij eA

Spectral embedding

Page 57: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Spectral clustering

eigenvectors In spectral domain Perform any clustering (e.g., k-means) in spectral domain

Page 58: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Why does it work this way?

Linkage-based (local info.)

Spectral clustering

spectral domain

Page 59: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

• A good distance: Points in same cluster

closer in transformed domain

• Look at set of shortest paths more

global

• Commute time distance cij = expected

time for random walk to go from i to j

and then back to i

Would be nice to cluster according to cij

Local vs. global distances

Page 60: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

In spectral domain

Local vs. global distances

Page 61: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Commute time and spectral

• Consider eigen-decompose the graph Laplacian K

K = UUT

• Let K’ be the generalized inverse of K,

K’ = U’UT,

’ii = 1/ii if ii 0, otherwise ’ii = 0.

• Note: the Laplacian is singular

Page 62: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Commute time and spectral

• Let zi be the i-th row of U’ 1/2 the spectral embedding

– Scaling each eigenvector by inverse square root of eigenvalue

• Then

||zi – zj||2 = cij

the communite time distance [Klein & Randic 93, Fouss et al. 06]

• Full set of eigenvectors used, but select first k in practice

Page 63: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Main references

Page 64: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Last view: dim reduction

• Spectral decomposition

• Full spectral embedding given by scaled eigenvectors (each scaled by

squared root of eigenvalue) completely captures the operator

A = UUT

W W T =2

1UW

A

Page 65: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Dimensionality reduction

• Full spectral embedding is high-dimensional

• Use few dominant eigenvectors dimensionality

reduction

– Information-preserving

– Structure enhancement (Polarization Theorem)

– Low-D representation: simplifying solutions

Page 66: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Eckard & Young: Info-preserving

• A n n : symmetric and positive semi-definite

• U(k) n k : leading eigenvectors of A, scaled by square root of

eigenvalues

• Then U(k)U(k)T: best rank-k approximation of A in Frobenius norm

U(k)T

U(k)=

Page 67: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Low-dim simpler problems

• Mesh projected into the eigenspace formed by the first two eigenvectors

• Use of a concavity-aware mesh Laplacian operator

• Reduce 3D analysis to contour analysis [Liu & Zhang 07]

Page 68: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Main references

Page 69: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

• Non-rigid spectral correspondence

• Shape retrieval

• Global intrinsic symmetry detection

Sampler applications

Page 70: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Shape correspondence

• Find meaningful correspondence between mesh vertices

– A fundamental problem in shape analysis

– Handle rigid transforms and pose ( isometry)

– More difficult is non-homogenous part scaling

Page 71: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

The spectral approach

1. Define distance between mesh elements

2. Convert distances to affinities A

3. Spectrally embed two shapes based on A

4. Correspondence analysis in spectral domain

– Perhaps rigid transforms would suffice

– At least good initialization Rig

id a

lignm

ent

It is all in the distance/affinity!

Page 72: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Distance/affinity definition

• Intrinsic affinities/distance

– Whatever transformation, e.g., pose,

correspondence is to be invariant of,

build that invariance into affinity, e.g.,

using geodesic distance

– E.g., serve to normalize with respect

to or factor out pose

Rig

id a

lignm

ent

Page 73: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

An algorithm

Best

matching

Geodesic-basedspectral embedding

Pose normalization

Eigenvector scaling

Size of data sets

Non-rigid ICP via thin-plate splines

Deal with minor shape stretching

Page 74: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Embedding and pose normalization

• Operator defined by geodesics11u

eigenvectorsSpectral embeddings

22ukk u

Page 75: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

3D spectral embeddings

Use of 2nd, 3rd, and 4th scaled eigenvectors

Page 76: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Eigenvector switching

• Switching causes a reflection, as does a sign flip

x xx

y y

y

• Eigenvector plots reveal switching due to part variations

Page 77: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Fixing the switching problem

• “Un-switching” and “un-flipping” by exhaustive search

– e.g., search through all orthogonal transformations (rotation + reflection)

in spectral domain [Mateus et al., 07]

Page 78: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Some results

Models with articulation and moderate stretching

Switc

hing

fixe

d

symmetry

Page 79: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Limitations and alternatives

• Intrinsic geodesic affinities– Symmetric switches: combine with extrinsic info [Zhang et al. 08]

– Topology change: Laplacian embedding [Rustamov 07]

• Primitive heuristic for resolving eigenvector switching– Shape characterization using heat signatures [Sun et al. 09]

• Being global, do not solve partial matching [Dey et al. 10]

Page 80: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Shape retrieval

• Search and retrieve most similar shapes to a query from a database

• Geometry-based similarity to toleralate– Rigid transformations

– Similarity transformation

– Shape poses

– Small topological changes

– Local structural variations

– Non-homogeneous part stretchingDifficult

Page 81: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

A spectral approach• Operator: Matrix of Gaussian-filtered pair-wise geodesic

distances

• Fast: only take 20 samples Nyström with uniform

sampling on dense mesh

• Apply conventional shape descriptors on spectral

embeddings

[Jian and Zhang 06]

Page 82: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Use of eigenvalues

• Shape descriptor (EVD): eigenvalues 1, …, 20 of

20 20 matrix very efficient to compute

• Use 2 distance between EVD’s for retrieval

Page 83: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Some results

Retrieval on McGill Articulated Shape Database

LFD: Light-field descriptor [Chen et al. 03]

SHD: Spherical Harmonics descriptor [Kazhdan et al. 03]

LFD

SHD

EVD

Page 84: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Use of spectral embeddings

Retrieval on McGill Articulated Shape Database

LFD-S: LFD on spectral embedding

SHD-S: SHD on spectral embedding

LFD

LFD-S

SHD

SHD-S

EVD

Page 85: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Geodesics Laplacian-Beltrami

• Deal with inherent limitation of geodesic distances sensitivity to local

topology change, e.g., a short “circuit”

• Use Laplacian-Beltrami eigenfunctions to construct embeddings

– Eigenfunctions still encode global information

– More stability to local changes

– Isometry invariant in sensitive to shape pose[Rustamov, SGP 07]

Page 86: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Global Point Signatures (GPS)

• Given a point p on the surface, define

– : value of the eigenfunction i at the point p

– i’s are the Laplacian-Beltrami eigenvalues

– Scaling in light of commute time distances

Page 87: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

GPS-based shape retrieval

• Use histogram of distances in the GPS embeddings– Invariance properties reflected in GPS embeddings

– Less sensitive to topology changes by using only low-frequency

eigenfunctions

– Sign flips and eigenvector

switching are still issues

Short circuit

Page 88: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Global intrinsic symmetriesExtrinsic symmetry

[Ovsjanikov et al. 08]

Global intrinsic symmetry

Page 89: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Global intrinsic symmetry:

a self-mapping preserving all pair-wise geodesic distances

Global intrinsic symmetry

Page 90: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Application of GPS embedding

• Reduce to Euclidean symmetry detection in GPS space

• Restricted GPS embeddings

– Only consider non-repeated eigenvalues

– Eigenfunctions associated with repeated eigenvalues

• Introduce rotational symmetries in GPS space

• Unstable under small non-isometric deformations

Page 91: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Results and limitation

• Limitation: partial symmetry detection– Self-map necessarily discontinuous

– Global symmetry unnatural

– Partial intrinsic symmetries not always

Euclidean symmetries in embedding

Page 92: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Main references

R. Rustomov, “Laplacian-Beltrami Eigenfunctions for Deformation Invariant Shape Representation”, SGP 2007.

V. Jain, H. Zhang, O. van Kaick, “Non-Rigid Spectral Correspondence of Triangle Meshes, IJSM 2007.

M. Ovsjanikov, J. Sun, and L. Guibas, “Global Intrinsic Symmetries of Shapes”, SGP 2008.

V. Jain and H. Zhang, “A Spectral Approach to Shape-Based Retrieval of Articulated 3D

Models”, CAD 2007.

Page 93: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Challenges: not quite DFT

• Basis for DFT is fixed given n, e.g., regular and easy to compare

(Fourier descriptors)

• Spectral mesh transform is

operator-dependent

Different behavior of eigen-

functions on the same sphere

Which operator to use?

Page 94: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Challenges: no free lunch

• No mesh Laplacian on general meshes can satisfy a list of all desirable

properties

• Remedy: use nice meshes Delaunay or non-obtuse

Non-obtuseDelaunay but obtuse

Page 95: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Additional issues

• Computational issues: FFT vs. eigen-decomposition

– Manifold harmonics [Vallet & Levy 2008]

– Nystrom approximation: subsampling and extrapolation

• Regularity of vibration patterns lost

– Difficult to characterize eigenvectors eigenvalue not enough

– Non-trivial to compare two sets of eigenvectors the switching problem

Page 96: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Main references

Page 97: Spectral Mesh Processing SIGGRAPH Asia 2011 Course Elements of Geometry Processing Hao (Richard) Zhang, Simon Fraser University.

Elements of Geometry ProcessingHao (Richard) Zhang

Conclusion

• Spectral mesh processing

Use eigenstructures of appropriately defined linear mesh operators for geometry analysis and processing

Solve problem in a different domain via a spectral transform

Dimensionality reduction: effective and simplifying

Fourier analysis on meshes

Captures global and intrinsic shape characteristics