mesh smoothing - pmp-book. · pdf filelaplace-beltrami operator ... – smooth normal...

43
Mesh Smoothing Mark Pauly

Upload: buitu

Post on 20-Mar-2018

226 views

Category:

Documents


2 download

TRANSCRIPT

Mesh SmoothingMark Pauly

Mark Pauly

Motivation

• Filter out high frequency components for noise removal

Desbrun, Meyer, Schroeder, Barr: Implicit Fairing of Irregular Meshes using Diffusion and Curvature Flow, SIGGRAPH 99

Mark Pauly 3

Motivation

• Advanced Filtering / Signal Processing

Guskow, Sweldens, Schroeder: Multiresolution Signal Processing for Meshes, SIGGRAPH 99

Pauly, Kobbelt, Gross: Point-Based Multi-Scale Surface Representation, ACM TOG 2006

Mark Pauly 4

Motivation

• Fair Surface Design

Mark Pauly

Motivation

• Hole-filling with energy-minimizing patches

5

Mark Pauly 6

Motivation

• Mesh deformation

Botsch, Kobbelt: An intuitive framework for real-time freeform modeling, SIGGRAPH 04

Kobbelt, Campagna, Vorsatz, Seidel: Interactive Multi-Resolution Modeling on Arbitrary Meshes, SIGGRAPH 98

Mark Pauly

Outline

• Motivation

• Smoothing as Diffusion

• Smoothing as Energy Minimization

• Alternative Approaches

7

Mark Pauly

Outline

• Motivation

• Smoothing as Diffusion– Spectral Analysis– Laplacian Smoothing– Curvature Flow

• Smoothing as Energy Minimization

• Alternative Approaches

8

Mark Pauly 9

Filter Design

• Assume high frequency components = noise

• Low-pass filter

spatial domain frequency domain

low pass

Mark Pauly 10

Filter Design

• Assume high frequency components = noise

• Low-pass filter

reconstruction = filtered signalspatial domain

Mark Pauly

Filter Design

• Assume high frequency components = noise

• Low-pass filter– damps high frequencies (ideal: cut off)– e.g., by convolution with Gaussian (spatial domain)

=! multiply with Gaussian (frequency domain)

• Fourier Transform

11

Mark Pauly 12

Spectral Analysis and Filter Design

• Univariate: Fourier Analysis

• Example: Low-pass filter– Damp (ideally cut off high frequencies)– Multiply F with Gaussian (= convolve f with Gaussian)

• Are there "geometric frequencies"?

spatial domainfrequency domain

F (ϕ) =12π

−∞f(t)e−iϕtdt

Mark Pauly 13

Spectral Analysis and Filter Design

• Univariate: Fourier Analysis

• Generalization

– are eigenfunctions of the Laplacian– use them as basis functions for geometry

∆eiϕt =∂2

∂t2eiϕt = −ϕ2eiϕt

eiϕt

F (ϕ) =12π

−∞f(t)e−iϕtdt

Mark Pauly

Spectral Analysis

• Eigenvalues of Laplacian ≅ frequencies

B. Vallet, B. Levy. Spectral geometry processing with manifold harmonics. Technical report, INRIA-ALICE, 2007.

14

Mark Pauly

Spectral Analysis

• Low-pass filter ≅ reconstruction from eigenvectors associated with low frequencies

B. Vallet, B. Levy. Spectral geometry processing with manifold harmonics. Technical report, INRIA-ALICE, 2007.

15

Mark Pauly

Spectral Analysis

• Eigenvalues of Laplace matrix ≅ frequencies• Low-pass filter ≅ reconstruction from

eigenvectors associated with low frequencies

• Decomposition in frequency bands is used for mesh deformation– often too expensive for direct use in practice!

difficult to compute eigenvalues efficiently

• For smoothing apply diffusion…

16

Mark Pauly

Outline

• Motivation

• Smoothing as Diffusion– Spectral Analysis– Laplacian Smoothing– Curvature Flow

• Smoothing as Energy Minimization

• Alternative Approaches

17

Mark Pauly 18

Diffusion

• Diffusion equation

∂tx = µ∆x

diffusion constant

Laplace operator

Mark Pauly 19

Diffusion

• Diffusion equation

∂tx = µ∆x

diffusion constant

Laplace operator

Mark Pauly 20

Laplacian Smoothing

• Discretization of diffusion equation

• Leads to simple update rule– iterate

– until convergence

explicit Euler integration

∂tpi = µ∆pi

pi = pi + µ dt ∆pi

Mark Pauly 21

A Simple Example

Mark Pauly 22

A Simple Example

Mark Pauly 23

A Simple Example

Mark Pauly 24

A Simple Example

Mark Pauly 25

A Simple Example

Mark Pauly 26

A Simple Example

Flow of vertex positions

Mark Pauly 27

Laplacian Smoothing

0 Iterations 5 Iterations 20 Iterations

Mark Pauly

Outline

• Motivation

• Smoothing as Diffusion– Spectral Analysis– Laplacian Smoothing– Curvature Flow

• Smoothing as Energy Minimization

• Alternative Approaches

28

Mark Pauly 29

Curvature Flow

• Curvature is independent of parameterization

• Flow equation

• We have

mean curvature

surface normal

Laplace-Beltrami operator

∂tp = −2µHn

∆Sp = −2Hn

Mark Pauly 30

Curvature Flow

• Mean curvature flow

– use discrete Laplace-Beltrami operator (cot weights)

• Compare to uniform discretization of Laplacian

Umbrella

Laplace-Beltrami

tangential drift

vertices move onlyalong normal

∂tp = µ∆Sp

Mark Pauly 31

Comparison

Original Umbrella Laplace-Beltrami

Mark Pauly

Outline

• Motivation

• Smoothing as Diffusion

• Smoothing as Energy Minimization– membrane energy– thin-plate energy

• Alternative Approaches

32

Mark Pauly 33

Energy Minimization

• Penalize "un-aesthetic behavior"

• Measure fairness– principle of the simplest shape– physical interpretation

• Minimize energy functional– examples: membrane / thin plate energy

Mark Pauly

Non-Linear Energies

• Membrane energy (surface area)

• Thin-plate surface (curvature)

• Too complex... simplify energies

Sds → min with δS = c

Sκ2

1 + κ22ds → min with δS = c, n(δS) = d

34

Mark Pauly

Membrane Surfaces

• Surface parameterization

• Membrane energy (surface area)

p : Ω ⊂ IR2 → IR3

Ωpu

2 + pv2 dudv → min

35

Mark Pauly

Membrane Surfaces

• Surface parameterization

• Membrane energy (surface area)

• Variational calculus

p : Ω ⊂ IR2 → IR3

Ωpu

2 + pv2 dudv → min

∆p = 0

36

Mark Pauly

Thin-Plate Surfaces

• Surface parameterization

• Thin-plate energy (curvature)

• Variational calculus

p : Ω ⊂ IR2 → IR3

Ωpuu

2 + 2 puv2 + pvv

2 dudv → min

∆2p = 0

37

Mark Pauly

Energy Functionals

Membrane∆Sp = 0 Thin Plate

∆2Sp = 0

∆3Sp = 0

38

Mark Pauly

Analysis

• Minimizer surfaces satisfy Euler-Lagrange PDE

• They are stationary surfaces of Laplacian flows

• Explicit flow integration corresponds to iterative solution of linear system

∆kSp = 0

∂p∂t

= ∆kSp

39

Mark Pauly

Outline

• Motivation

• Smoothing as Diffusion

• Smoothing as Energy Minimization

• Alternative Approaches

40

Mark Pauly 41

Alternative Approaches

• Anisotropic Diffusion– Data-dependent– Non-linear

• Normal filtering– Smooth normal field and reconstruct (mesh editing)

• Non-linear PDEs– Avoid parameter dependence for fair surface design

• Bilateral Filtering

diffusion tensor∂

∂tx = div D ∇x

Mark Pauly 42

Example of Bilateral Filtering

Jones, Durand, Desbrun: Non-iterative feature preserving mesh smoothing, SIGGRAPH 2003

Mark Pauly 43

Literature• Taubin: A signal processing approach to fair surface design,

SIGGRAPH 1996

• Desbrun, Meyer, Schroeder, Barr: Implicit Fairing of Irregular Meshes using Diffusion and Curvature Flow, SIGGRAPH 99

• Botsch, Kobbelt: An Intuitive Framework for Real-Time Freeform Modeling, SIGGRAPH 2004

• Fleishman, Drori, Cohen-Or: Bilateral mesh denoising, SIGGRAPH 2003

• Jones, Durand, Desbrun: Non-iterative feature preserving mesh smoothing, SIGGRAPH 2003