Computational Topology for Computer Graphics Klein bottle.

Slides:



Advertisements
Similar presentations
The Topology of Graph Configuration Spaces David G.C. Handron Carnegie Mellon University
Advertisements

 Over-all: Very good idea to use more than one source. Good motivation (use of graphics). Good use of simplified, loosely defined -- but intuitive --
1 A camera is modeled as a map from a space pt (X,Y,Z) to a pixel (u,v) by ‘homogeneous coordinates’ have been used to ‘treat’ translations ‘multiplicatively’
電腦視覺 Computer and Robot Vision I
GATE Reconstruction from Point Cloud (GATE-540) Dr.Çağatay ÜNDEĞER Instructor Middle East Technical University, GameTechnologies & General Manager.
Surface normals and principal component analysis (PCA)
An Introduction to Topology Linda Green Nueva Math Circle September 30, 2011 Images from virtualmathmuseum.org.
An Introduction to Topology Linda Green
Extended Gaussian Images
Lecture 1: The Euler characteristic of a series of preparatory lectures for the Fall 2013 online course MATH:7450 (22M:305) Topics in Topology: Scientific.
By Groysman Maxim. Let S be a set of sites in the plane. Each point in the plane is influenced by each point of S. We would like to decompose the plane.
Discrete Geometry Tutorial 2 1
Topology Senior Math Presentation Nate Black Bob Jones University 11/19/07.
Xianfeng Gu, Yaling Wang, Tony Chan, Paul Thompson, Shing-Tung Yau
Topology YAN JIE (Ryan).
Provides mathematical tools for shape analysis in both binary and grayscale images Chapter 13 – Mathematical Morphology Usages: (i)Image pre-processing.
CS447/ Realistic Rendering -- Solids Modeling -- Introduction to 2D and 3D Computer Graphics.
High-Quality Simplification with Generalized Pair Contractions Pavel Borodin,* Stefan Gumhold, # Michael Guthe,* Reinhard Klein* *University of Bonn, Germany.
Cutting a surface into a Disk Jie Gao Nov. 27, 2002.
1 Last lecture  Path planning for a moving Visibility graph Cell decomposition Potential field  Geometric preliminaries Implementing geometric primitives.
CS 326A: Motion Planning Configuration Space. Motion Planning Framework Continuous representation (configuration space and related spaces + constraints)
Polygonal Mesh – Data Structure and Smoothing
Implicit Surfaces Tom Ouyang January 29, Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.
Introductory Notes on Geometric Aspects of Topology PART I: Experiments in Topology 1964 Stephen Barr (with some additional material from Elementary Topology.
12/06/00 Dinesh Manocha, COMP258 Solid Modeling CSG (Constructive Solid Geometry) Representations: A set theoretic Boolean expression of primitive solid.
Complex Model Construction Mortenson Chapter 11 Geometric Modeling
Algebraic Topology - Homotopy Groups of Spheres Martin Leslie, University of Queensland.
Visualization and graphics research group CIPIC January 21, 2003Multiresolution (ECS 289L) - Winter Surface Simplification Using Quadric Error Metrics.
Contributed Talk at the International Workshop on VISUALIZATION and MATHEMATICS 2002 Thomas Lewiner, Hélio Lopes, Geovan Tavares Math&Media Laboratory,
MA5209 Algebraic Topology Wayne Lawton Department of Mathematics National University of Singapore S ,
Introduction --Classification Shape ContourRegion Structural Syntactic Graph Tree Model-driven Data-driven Perimeter Compactness Eccentricity.
Chapter 9: Geometry.
Matthew Bowling Euler’s Theorem Mathfest Spring ‘15.
Mesh Representation, part I
By: De’Aja Koontz 6 Th Period.  A member of the set of positive whole numbers {1, 2, 3,... }, negative whole numbers {-1, -2, -3,... }, and zero {0}.
Lecture 19 Representation and description II
Multi-Scale Dual Morse Complexes for Representing Terrain Morphology E. Danovaro Free University of Bolzano, Italy L. De Floriani University of Genova,
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 10 Geometry.
Algorithms for Triangulations of a 3D Point Set Géza Kós Computer and Automation Research Institute Hungarian Academy of Sciences Budapest, Kende u
CS B659: Principles of Intelligent Robot Motion Configuration Space.
1 The number of crossings of curves on surfaces Moira Chas from Stony Brook University King Abdul- Aziz University Spring 2012.
Course 13 Curves and Surfaces. Course 13 Curves and Surface Surface Representation Representation Interpolation Approximation Surface Segmentation.
Extended Grassfire Transform on Medial Axes of 2D Shapes
Introduction --Classification Shape ContourRegion Structural Syntactic Graph Tree Model-driven Data-driven Perimeter Compactness Eccentricity.
Planar graphs with no 5- cycles, 6-cycles or intersecting triangles are 3-colorable Carl Yerger, Davidson College Clemson Mini-Conference 2012.
Solid Modeling Ref. Mantyla. Introduction Aim of modeling: The search of a media of communication.
Introductory Notes on Geometric Aspects of Topology PART I: Experiments in Topology 1964 Stephen Barr (with some additional material from Elementary Topology.
Greg Humphreys CS445: Intro Graphics University of Virginia, Fall 2003 Subdivision Surfaces Greg Humphreys University of Virginia CS 445, Fall 2003.
Volume and Solid Modeling
Riccardo Fellegara University of Genova Genova, Italy
UNC Chapel Hill M. C. Lin Delaunay Triangulations Reading: Chapter 9 of the Textbook Driving Applications –Height Interpolation –Constrained Triangulation.
Introduction to Optimization
What is topology? The word topology comes from the Greek topos, "place," and logos, "study” Topology was known as geometria situs (Latin geometry of place)
Random volumes from matrices Based on the work with Masafumi Fukuma and Sotaro Sugishita (Kyoto Univ.) Naoya Umeda (Kyoto Univ.) [arXiv: ][JHEP.
Euler characteristic (simple form):
Solid Modeling Prof. Lizhuang Ma Shanghai Jiao Tong University.
Topology Preserving Edge Contraction Paper By Dr. Tamal Dey et al Presented by Ramakrishnan Kazhiyur-Mannar.
Topology and The Euler Number
Creating a cell complex = CW complex Building block: n-cells = { x in R n : || x || ≤ 1 } 2-cell = open disk = { x in R 2 : ||x || < 1 } Examples: 0-cell.
CS552: Computer Graphics Lecture 28: Solid Modeling.
Creating a cell complex = CW complex
What is topology? The word topology comes from the Greek topos, "place," and logos, "study” Topology was known as geometria situs (Latin geometry of place)
Craig Schroeder October 26, 2004
University of California, Berkeley
Computational Topology for Computer Graphics
Chapter 5: Morse functions and function-induced persistence
A Portrait of a Group on a Surface with Boundary
Lecture 5: Triangulations & simplicial complexes (and cell complexes).
Prof. Lizhuang Ma Shanghai Jiao Tong University
Presentation transcript:

Computational Topology 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 “Topological space is a set with the least structure necessary to define the concepts of nearness and continuity”

No, Really.What is Topology? The study of properties of a shape that do not change under deformation Rules of deformation –Onto (all of A  all of B) –1-1 correspondence (no overlap) –bicontinuous, (continuous both ways) –Can’t tear, join, poke/seal holes A is homeomorphic to B

Why Topology? What is the boundary of an object? Are there holes in the object? Is the object hollow? If the object is transformed in some way, are the changes continuous or abrupt? Is the object bounded, or does it extend infinitely far?

Why Do We (CG) Care? The study of connectedness Understanding How connectivity happens? Analysis How to determine connectivity? Articulation How to describe connectivity? Control How to enforce connectivity?

For Example How does connectedness affect… Morphing Texturing Compression Simplification

Problem: Mesh Reconstruction Determines shape from point samples Different coordinates, different shapes

Topological Properties To uniquely determine the type of homeomorphism we need to know : –Surface is open or closed –Surface is orientable or not –Genus (number of holes) –Boundary components

Surfaces How to define “surface”? Surface is a space which ”locally looks like” a plane: –the set of zeroes of a polynomial equation in three variables in R 3 is a 2D surface: x 2 +y 2 +z 2 =1

Surfaces and Manifolds An n-manifold is a topological space that “locally looks like” the Euclidian space R n –Topological space: set properties –Euclidian space: geometric/coordinates A sphere is a 2-manifold A circle is a 1-manifold

Open vs. Closed Surfaces The points x having a neighborhood homeomorphic to R 2 form Int(S) (interior) The points y for which every neighborhood is homeomorphic to R 2  0 form ∂S (boundary) A surface S is said to be closed if its boundary is empty

Orientability A surface in R 3 is called orientable, if it is possible to distinguish between its two sides (inside/outside above/below) A non-orientable surface has a path which brings a traveler back to his starting point mirror-reversed (inverse normal)

Orientation by Triangulation Any surface has a triangulation Orient all triangles CW or CCW Orientability: any two triangles sharing an edge have opposite directions on that edge.

Genus and holes Genus of a surface is the maximal number of nonintersecting simple closed curves that can be drawn on the surface without separating it The genus is equivalent to the number of holes or handles on the surface 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  = 1  = 2  = 0

Summary: equivalence in R 3 Any orientable closed surface is topologically equivalent to a sphere with g handles attached to it –torus is equivalent to a sphere with one handle (  =0, g=1) –double torus is equivalent to a sphere with two handles (  =-2, g=2)

Hard Problems… Dunking a Donut Dunk the donut in the coffee! 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 Critical point occur where the gradient  f = (  f/  x,  f/  y,…) = 0 Index of a critical point is # of principal directions where f decreases

Example: Dunking a Donut Surface is a torus Function f is height Investigate topology of f  h Four critical points –Index 0 : minimum –Index 1 : saddle –Index 2 : maximum Example: sphere has a function with only critical points as maximum and a minimum

How does it work? Algebraic Topology Homotopy equivalence –topological spaces are varied, homeomorphisms give much too fine a classification to be useful… Deformation retraction 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 HomeomorphismHomotopy ~ ~

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 0-cell1-cell2-cell3-cell

Morse function f doesn’t have to be height – any Morse function would do f is a Morse function on M if: – f is smooth –All critical points are isolated –All critical points are non-degenerate: det(Hessian(p)) != 0

Critical Point Index The index of a critical point is the number of negative eigenvalues of the Hessian: –0  minimum –1  saddle point –2  maximum Intuition: the number of independent directions in which f decreases ind=0 ind=1 ind=2

If sweep doesn’t pass critical point [Milnor 1963] Denote M a = {p  M | f(p)  a} (the sweep region up to value a of f ) Suppose f  1 [a, b] is compact and doesn’t contain critical points of f. Then M a is homeomorphic to M b.

Sweep passes critical point [Milnor 1963] p is critical point of f with index,  is sufficiently small. Then M c+  has the same homotopy type as M c  with -cell attached. M c  Mc+Mc+ with -cell attached ~ Mc+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

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!

Multi-res Reeb graphs Hilaga et al. use multiresolutional Reeb graphs to compare between shapes Multiresolution hierarchy – by gradual contraction of vertices

Mesh Partitioning Now we get to [Zhang et al. 03] They use almost the same f as [Hilaga et al. 01] Want to find features = long protrusions Find local maxima of f !

Region growing Start the sweep from global minimum (central point of the shape) Add one triangle at a time – the one with smallest f Record topology changes in the boundary of the sweep front – these are critical points

Critical points – genus-0 surface Splitting saddle – when the front splits into two Maximum – when one front boundary component vanishes max splitting saddle min