54
DISCRETE DIFFERENTIAL GEOMETRY: AN APPLIED INTRODUCTION Keenan Crane • CMU 15-869(J) • Spring 2016

DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

  • Upload
    others

  • View
    11

  • Download
    0

Embed Size (px)

Citation preview

Page 1: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

DISCRETE DIFFERENTIAL GEOMETRY:AN APPLIED INTRODUCTION

Keenan Crane • CMU 15-869(J) • Spring 2016

Page 2: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Keenan Crane • CMU 15-869(J) • Spring 2016

DISCRETE DIFFERENTIAL GEOMETRY:AN APPLIED INTRODUCTION

PART II: DIFFERENTIABLE STRUCTURE

Page 3: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Topology vs. Geometry

Q: Which of these shapes is not like the others?

Page 4: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Topology vs. Geometry

Q: Which of these shapes is not like the others?

Page 5: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Topological vs. Geometric Structures

“topology”

“geometry”

“differential topology”

Page 6: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Smooth Structure—Visualized

“different”

“same”

Page 7: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Differentiable Maps—VisualizedWhich one is differentiable?

Page 8: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

“Discrete” Differentiable Maps?Is one “discretely” differentiable?

Page 9: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Derivative as Slope

Page 10: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Derivative as Linear Approximation

Page 11: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Derivative as Stretching

...same function, different picture...

Page 12: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Visual Calculus—Derivative as StretchingDerivative is no longer the slope; it is now the amount by which the function locally gets squashed/stretched:

Page 13: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Visual Calculus—The Chain Rule

A:

Page 14: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Differential

f

p+hX

Xp

f (p+hX)

f (p)df(X)

Page 15: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Linear Maps• We said linear algebra is about “vector spaces and maps between them.”

• Now that we know what a vector space is, what is a linear map?

• Formally: is a linear map if

• (Notice that definition makes sense only when we know how to add, scale, etc., vectors, i.e., when we have a vector space structure on our set.)

• Q: What does it mean geometrically?

• A: Vectors get mapped to vectors; lines (through origin) mapped to lines

Page 16: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Derivative as Linear MapKey idea: derivative can always be visualized as a map from vectors to vectors (it’s a linear map!).

differentiable map

derivative

Page 17: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Differential in Coordinates (Jacobian)

Note: does not generalize to infinite dimensions! (E.g., maps between functions.)

Page 18: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Differential of a Graph

unit

Page 19: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Differential—Example

df

(Could also write out Jacobian... but why? What will we learn by doing this?)

Page 20: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Differentiable Maps Between Manifolds?

Page 21: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Reminder—Compatibility of ChartsKey idea: if some object or quantity (open sets, lengths, angles, etc.) are consistent across overlaps “below,” then it provides a unique and meaningful definition “above.”

Page 22: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Differentiable Manifold

differentiable

Key idea: M now has (tangent) vectors

Page 23: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Tangent Vectors

Q: Why did we demand a differentiable manifold for this definition?

M

U

Page 24: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Differentiable Maps and Diffeomorphisms

Page 25: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Topological vs. Smooth Structure

M # N

M N

Page 26: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Homeomorphism vs. Diffeomorphism

homeomorphism

diffeomorphismdiffeomorphic

homeomorphic

homeomorphic

Page 27: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Immersion vs. Embedding—Visualized

immersion

embedding

Page 28: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Immersion vs. Embedding

immersion

embedding

Page 29: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Discrete Tangent Vectors?How do we define tangent vectors for a discrete manifold?

For one thing, we don’t have well-defined normals:

…In fact, we don’t know anything about how the manifold sits in space!

(So far, our “discrete manifold” is just a gluing together of abstract simplices.)

Page 30: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Atlas on a Discrete Manifold...?Natural idea: use simplices as charts (w/ mapping to standard simplex):

Open simplices?

Problem: overlap is empty!No way to compare quantities.

Closed simplices?

Problem: overlap is trivial!…Still no way to compare quantities.

Page 31: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Simplicial Atlas

Key idea: use vertex stars to define charts.

Page 32: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Parameterization of Simplicial Charts

Bijective? Continuous? Homeomorphism? Diffeomorphism?

(identified)

Page 33: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Coordinates on Discrete Tangent Spaces

(Generalization to 3D?)

Page 34: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Tangent Vector Field Processing—Preview

Page 35: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Tangent Vector Field Processing—Preview

Page 36: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Homotopy and Isotopy

f

g

Page 37: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Regular Homotopy and Isotopy

Crane et al, “Robust Fairing via Conformal Curvature Flow“

Page 38: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Winding Number

k:

Page 39: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Generalized Winding Number

Jacobson et al, “Robust Inside-Outside Segmentation using Generalized Winding Numbers”

Page 40: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Turning Number

T

k:

Page 41: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Whitney-Graustein

Page 42: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Regular Homotopies in the Plane

https://youtu.be/m7k8fxaAC40https://youtu.be/mY-V0TSMVCY

https://youtu.be/fKFH3c7b57shttps://youtu.be/olVQt_qx-bw

Page 43: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Sphere Eversion

Page 44: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Discrete Immersion

Note: “no degenerate simplices” is NOT the same as “locally injective!”

Page 45: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Discrete Embedding

What do you think?

Page 46: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Discrete Regular Homotopy / Isotopy

Cantarella et al, “An Energy-Driven Approach to Linkage Unfolding”

Page 47: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Discrete Sphere EversionA discrete regular homotopy is a homotopy by discrete immersions.

Denner, “Polyhedral Eversions of the Sphere”

Can you always turn a simplicial sphere inside-out?Can you turn a simplicial sphere inside-out?

Page 48: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Regular Homotopy Classes of Surfaces

(Discrete theorem...?)

Page 49: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Geometric Topology

Mustafa Hajij / SeifertView

Page 50: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Computational Geometric TopologyWhat we know: the complexity of EMBEDk!d

dk 2 3 4 5 6 7 8 9 10 11 12 13 141 P2 P D NPh3 D NPh NPh P4 NPh und NPh NPh P5 und und NPh NPh P P6 und und NPh NPh NPh P P7 und und NPh NPh NPh P P P

und = algorithmically undecidable [Matoušek, Tancer, W.]NPh = NP-hard [Matoušek, Tancer, W.]D = algorithmically decidable [Matoušek, Sedgwick, Tancer, W.]P = polynomial-time solvable; new results based on algorithmichomotopy classification of (equivariant) maps [Čadek, Krčál,Matoušek, Sergeraert, Vokřínek, W.]

Dividing line: metastable range d � 3(k + 1)/2(small dimensions d = 2, 3 somewhat exceptional)

[Courtesy Uli Wagner]

Page 51: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Computational Topology in Geometry ProcessingGarland et al, “Spectral Surface Quadrangulation”

Pascucci et al, “Robust On-line Computation of Reeb Graphs”

Page 52: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Summary—Differentiable Manifolds

derivativedifferentiable manifold

differentiable maptangent space

immersion…

differencesimplicial manifoldsimplicial maprescaled angleslocally injective simplicial map…

CONTINUOUS DISCRETE

Fact. For n ≤ 3, smooth structure is uniquely determined by topology.Fact. There are often more regular homotopy classes in the discrete case than in the continuous setting.

Hence, not everything is captured by discretization!

Page 53: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Topological vs. Geometric Structures

“topology”

“geometry”

“differential topology”

“mor

e rig

id”

“flop

pier

Page 54: DISCRETE DIFFERENTIAL GEOMETRYbrickisland.net/DDGSpring2016/wp-content/uploads/2016/02/DDG_CMUSpring... · Discrete Tangent Vectors? How do we define tangent vectors for a discrete

Thanks!

Keenan Crane • CMU 15-869(J) • Spring 2016

DISCRETE DIFFERENTIAL GEOMETRY:AN APPLIED INTRODUCTION