Professional Documents
Culture Documents
for
Computer Graphics
Klein bottle
What is Topology?
• The topology of a space is the definition of a
collection of sets (called the open sets) that
include:
– the space and the empty set
– the union of any of the sets
– the finite intersection of any of the sets
• A sphere is a 2-manifold
• A circle is a 1-manifold
Open vs. Closed Surfaces
• The points x having a
neighborhood homeomorphic to
R2 form Int(S) (interior)
• Example:
– Genus 0: point, line, sphere
– Genus 1: torus, coffee cup
– Genus 2: the symbols 8 and B
Euler characteristic function
• Polyhedral decomposition of a surface
(V = #vertices, E = #edges, F = #faces)
(M) = V – E + F
– If M has g holes and h boundary components then
(M) = 2 – 2g – h
– (M) is independent of the polygonization
• Investigate the
change in topology
of the portion of the
donut immersed in
the coffee
Solution: Morse Theory
Investigates the topology of a
surface by the critical points of a
real function on the surface
• Cells
Homotopy equivalence
• A ~ B There is a continuous map between A
and B
• Same number of components
• Same number of holes
• Not necessarily the same dimension
• Homeomorphism Homotopy
~ ~
Deformation Retraction
• Function that continuously reduces a set
onto a subset
• Any shape is homotopic to any of its
deformation retracts
• Skeleton is a deformation retract of the
solids it defines
~ ~ ~ ~
Cells
• Cells are dimensional primitives
• We attach cells at their boundaries
Mc+
Mc
c Mc ~
M with -cell
attached Mc+
This is what happened to the doughnut…
What we learned so far
• Topology describes properties of shape that
are invariant under deformations
• We can investigate topology by
investigating critical points of Morse
functions
• And vice versa: looking at the topology of
level sets (sweeps) of a Morse function, we
can learn about its critical points
Reeb graphs
• Schematic way to present a Morse function
• Vertices of the graph are critical points
• Arcs of the graph are connected components of
the level sets of f, contracted to points
2
1
0 0
Reeb graphs and genus
• The number of loops in the Reeb graph is
equal to the surface genus
• To count the loops, simplify the graph by
contracting degree-1 vertices and removing
degree-2 vertices
degree-2
Another Reeb graph example
Discretized Reeb graph
• Take the critical points and “samples” in
between
• Robust because we know that nothing
happens between consecutive critical points
Reeb graphs for Shape Matching
• Reeb graph encodes the behavior of a
Morse function on the shape
• Also tells us about the topology of the shape
• Take a meaningful function and use its
Reeb graph to compare between shapes!
Choose the right Morse function
• The height function f (p) = z is not good
enough – not rotational invariant
• Not always a Morse function
Average geodesic distance
• The idea of [Hilaga et al. 01]: use geodesic
distance for the Morse function!
g (p) geodist(p, q) dS
M
splitting
saddle
max max