1 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Numerical geometry of shapes Lecture II – Numerical Tools non-rigid Alex Bronstein.

Slides:



Advertisements
Similar presentations
Fast Marching on Triangulated Domains
Advertisements

Developable Surface Fitting to Point Clouds Martin Peternell Computer Aided Geometric Design 21(2004) Reporter: Xingwang Zhang June 19, 2005.
Multiple Shape Correspondence by Dynamic Programming Yusuf Sahillioğlu 1 and Yücel Yemez 2 Pacific Graphics 2014 Computer Eng. Depts, 1, 2, Turkey.
Data Structure and Algorithms (BCS 1223) GRAPH. Introduction of Graph A graph G consists of two things: 1.A set V of elements called nodes(or points or.
Presented by: Mingyuan Zhou Duke University, ECE April 3, 2009
Topology-Invariant Similarity and Diffusion Geometry
Discrete Geometry Tutorial 2 1
Isometry-Invariant Similarity
Discrete geometry Lecture 2 1 © Alexander & Michael Bronstein
1 Numerical geometry of non-rigid shapes Geometry Numerical geometry of non-rigid shapes Shortest path problems Alexander Bronstein, Michael Bronstein,
1 Numerical geometry of non-rigid shapes Consistent approximation of geodesics in graphs Consistent approximation of geodesics in graphs Tutorial 3 © Alexander.
Shape reconstruction and inverse problems
Fast marching methods The continuous way 1
Invariant correspondence
1 Processing & Analysis of Geometric Shapes Shortest path problems Shortest path problems The discrete way © Alexander & Michael Bronstein, ©
1 Michael Bronstein Computational metric geometry Computational metric geometry Michael Bronstein Department of Computer Science Technion – Israel Institute.
Multidimensional scaling
Asst. Prof. Yusuf Sahillioğlu
Isometry invariant similarity
1 Michael Bronstein 3D face recognition Face recognition: New technologies, new challenges Michael M. Bronstein.
Fast marching methods Lecture 3 1 © Alexander & Michael Bronstein
Numerical geometry of non-rigid shapes
Numerical geometry of objects
1 Bronstein 2 and Kimmel Extrinsic and intrinsic similarity of nonrigid shapes Michael M. Bronstein Department of Computer Science Technion – Israel Institute.
Lecture IV – Invariant Correspondence
Correspondence & Symmetry
1 Numerical geometry of non-rigid shapes Spectral Methods Tutorial. Spectral Methods Tutorial 6 © Maks Ovsjanikov tosca.cs.technion.ac.il/book Numerical.
Greedy Algorithms Reading Material: Chapter 8 (Except Section 8.5)
CS CS 175 – Week 2 Processing Point Clouds Registration.
Differential geometry II
Numerical geometry of non-rigid shapes
1 Bronstein, Bronstein, and Kimmel Joint extrinsic and intrinsic similarity of non-rigid shapes Rock, paper, and scissors Joint extrinsic and intrinsic.
Invariant Correspondence
1 Numerical geometry of non-rigid shapes A journey to non-rigid world objects Numerical methods non-rigid Alexander Bronstein Michael Bronstein Numerical.
Non-Euclidean Embedding
1 Numerical geometry of non-rigid shapes Numerical Geometry Numerical geometry of non-rigid shapes Numerical geometry Alexander Bronstein, Michael Bronstein,
Numerical geometry of non-rigid shapes
Greedy Algorithms Like dynamic programming algorithms, greedy algorithms are usually designed to solve optimization problems Unlike dynamic programming.
A Global Geometric Framework for Nonlinear Dimensionality Reduction Joshua B. Tenenbaum, Vin de Silva, John C. Langford Presented by Napat Triroj.
1 Bronstein 2 & Kimmel An isometric model for facial animation and beyond AMDO, Puerto de Andratx, 2006 An isometric model for facial animation and beyond.
1 Numerical Geometry of Non-Rigid Shapes Invariant shape similarity Invariant shape similarity © Alexander & Michael Bronstein, © Michael Bronstein,
1 Numerical geometry of non-rigid shapes Non-Euclidean Embedding Non-Euclidean Embedding Lecture 6 © Alexander & Michael Bronstein tosca.cs.technion.ac.il/book.
1 Bronstein 2 & Kimmel Matching 2D articulated shapes using GMDS AMDO, Puerto de Andratx, 2006 Matching 2D articulated shapes using Generalized Multidimensional.
1 Numerical geometry of non-rigid shapes Shortest Path Problems Shortest Path Problems Alexander Bronstein, Michael Bronstein © 2008 All rights reserved.
1 M. Bronstein Multigrid multidimensional scaling Multigrid Multidimensional Scaling Michael M. Bronstein Department of Computer Science Technion – Israel.
1 Numerical geometry of non-rigid shapes Non-rigid correspondence Numerical geometry of non-rigid shapes Non-rigid correspondence Alexander Bronstein,
1 Numerical geometry of non-rigid shapes Nonrigid Correspondence & Calculus of Shapes Non-Rigid Correspondence and Calculus of Shapes Of bodies changed.
CSE554SimplificationSlide 1 CSE 554 Lecture 7: Simplification Fall 2014.
Domain decomposition in parallel computing Ashok Srinivasan Florida State University COT 5410 – Spring 2004.
Manifold learning: Locally Linear Embedding Jieping Ye Department of Computer Science and Engineering Arizona State University
Intrinsic Parameterization for Surface Meshes Mathieu Desbrun, Mark Meyer, Pierre Alliez CS598MJG Presented by Wei-Wen Feng 2004/10/5.
CSE554Laplacian DeformationSlide 1 CSE 554 Lecture 8: Laplacian Deformation Fall 2012.
Computing the shortest path on a polyhedral surface Presented by: Liu Gang
Surface Simplification Using Quadric Error Metrics Michael Garland Paul S. Heckbert.
1 Numerical geometry of non-rigid shapes Shortest path problems Shortest path problems Lecture 2 © Alexander & Michael Bronstein tosca.cs.technion.ac.il/book.
Computing Geodesic Paths on Manifolds R. Kimmel J.A. Sethian Department of Mathematics Lawrence Berkeley Laboratory University of California, Berkeley.
Coarse-to-Fine Combinatorial Matching for Dense Isometric Shape Correspondence Yusuf Sahillioğlu and Yücel Yemez Computer Eng. Dept., Koç University, Istanbul,
Geometric Modeling using Polygonal Meshes Lecture 1: Introduction Hamid Laga Office: South.
Expression-invariant Face Recognition using Geodesic Distance Isometries Kerry Widder A Review of ‘Robust expression-invariant face recognition from partially.
Scalable and Fully Distributed Localization With Mere Connectivity.
Course 13 Curves and Surfaces. Course 13 Curves and Surface Surface Representation Representation Interpolation Approximation Surface Segmentation.
Computer Graphics Some slides courtesy of Pierre Alliez and Craig Gotsman Texture mapping and parameterization.
Computer Vision Lab. SNU Young Ki Baik Nonlinear Dimensionality Reduction Approach (ISOMAP, LLE)
CSE554SimplificationSlide 1 CSE 554 Lecture 7: Simplification Fall 2013.
CSE554Fairing and simplificationSlide 1 CSE 554 Lecture 6: Fairing and Simplification Fall 2012.
Mesh Coarsening zhenyu shu Mesh Coarsening Large meshes are commonly used in numerous application area Modern range scanning devices are used.
CENG 789 – Digital Geometry Processing 04- Distances, Descriptors and Sampling on Meshes Asst. Prof. Yusuf Sahillioğlu Computer Eng. Dept,, Turkey.
1 Numerical geometry of non-rigid shapes Projects Quasi-isometries Project 1 © Alexander & Michael Bronstein tosca.cs.technion.ac.il/book Numerical geometry.
Assoc. Prof. Yusuf Sahillioğlu
Morphing and Shape Processing
Presentation transcript:

1 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Numerical geometry of shapes Lecture II – Numerical Tools non-rigid Alex Bronstein

2 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Shape matching blueprints Isometric embedding A. Elad & R. Kimmel, 2003

3 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Shape matching blueprints Compute canonical forms EXTRINSIC SIMILARITY OF CANONICAL FORMS INTRINSIC SIMILARITY = INTRINSIC SIMILARITY A. Elad & R. Kimmel, 2003

4 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Numerical ingredients Shape discretization Metric discretization How to compute geodesic distances? Discrete embedding problem How to compute the canonical forms? Can we do better? EMBEDDING MATCHING

5 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Discrete Geodesics and Shortest Path Problems Discrete Geodesics and Shortest Path Problems

6 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Shapes as graphs Cloud of pointsEdges Undirected graph = +

7 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Discrete geodesic problem Local length function Path length Length metric in graph

8 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Dijkstra’s algorithm INPUT: source point Initialize and for the rest of the graph; Initialize queue of unprocessed vertices. While Find vertex with smallest value of, For each unprocessed adjacent vertex, Remove from. OUTPUT: distance map. E.W. Dijkstra, 1959

9 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Troubles with the metric Inconsistent metric approximation!

10 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Metrication error Graph induces inconsistent metric SOLUTION 1 Change the graph Both sampling & connectivity Sampling theorems guarantee consistency for some conditions SOLUTION 2 Change the algorithm Stick to same sampling Discrete surface rather than graph New shortest path algorithm SOLUTION 1 Discretized shape Discrete metric SOLUTION 2 Discretized metric

11 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Forest fire Fermat’s Principle (of Least Action): Fire chooses the quickest path to travel. Pierre de Fermat ( ) Fermat’s Principle (of Least Action): Fire chooses the shortest path to travel.

12 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Eikonal equation Source Equidistant contour Steepest distance growth direction Eikonal equation

13 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Fast marching methods (FMM) A family of numerical methods for solving eikonal equation Simulates wavefront propagation from a source set A continuous variant of Dijkstra’s algorithm Consistently discretized metric J.N. Tsitsiklis, 1995; J. Sethian, 1996, R. Kimmel & J. Sethian, 1998; A. Spira & R. Kimmel, 2004

14 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Fast marching algorithm Initialize and mark it as black. Initialize for other vertices and mark them as green. Initialize queue of red vertices. Repeat Mark green neighbors of black vertices as red (add to ) For each red vertex For each triangle sharing the vertex Update from the triangle. Mark with minimum value of as black (remove from ) Until there are no more green vertices. Return distance map.

15 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Fast marching Dijkstra’s update Vertex updated from adjacent vertex Distance computed from Path restricted to graph edges Fast marching update Vertex updated from triangle Distance computed from and Path can pass on mesh faces

16 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Fast marching update step Update from triangle Compute from and Model wave front propagating from planar source unit propagation direction source offset Front hits at time Hits at time When does the front arrive to ? Planar source

17 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Fast marching update step is given by the point-to-plane distance Solve for parameters and using the point-to-plane distance …after some algebra where

18 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools

19 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Uses of fast marching Geodesic distances Minimal geodesics Voronoi tessellation & sampling Offset curves

20 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Marching even faster Heap-based update Unknown grid visiting order Inefficient use of cache Inherently sequential Raster scan update Regular access to memory Can be parallelized Suitable only for regular grid

21 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Raster scan fast marching Parametric surface Parametrization domain sampled on Cartesian grid Four alternating scans

22 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Raster scan fast marching 4 scans=1 iteration 2 iterations3 iterations 4 iterations5 iterations6 iterations Several iterations required for non-Euclidean geometries

23 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Marching even faster Heap-based update Irregular use of memory Sequential Any grid Single pass, Raster scan update Regular access to memory Can be parallelized Only regular grids Data-dependent complexity

24 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools O. Weber, Y. Devir, A. Bronstein, M. Bronstein & R. Kimmel, 2008 Parallellization Rotate by 45 0 On NVIDIA GPU 50msec per distance map on 10M vertices 200M distances per second!

25 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Embedding Problems

26 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Isometric embedding

27 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Mapmaker’s problem

28 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Mapmaker’s problem A sphere has non-zero curvature, therefore, it is not isometric to the plane (a consequence of Theorema egregium) Karl Friedrich Gauss ( )

29 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Minimum distortion embedding A. Elad & R. Kimmel, 2003

30 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Discrete embedding problem Ingredients: Discretized shape Discretized metric Euclidean embedding space Embedding is a configuration of points in represented as a matrix with the Euclidean metric Embedding distortion (stress) function e.g., quadratic Numerical procedure to minimize

31 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Discrete embedding problem Multidimensional scaling (MDS)

32 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Minimization of quadratic stress Quadratic stress where Its gradient Non-linear non-convex function of variables

33 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Minimization of quadratic stess Start with some Repeat for Steepest descent step Until convergence OUTPUT: canonical form Can converge to local minimum Minimum defined modulo congruence

34 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Examples of canonical forms Canonical forms Near-isometric deformations of a shape

35 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Examples of canonical forms Embedding distortion limits discriminative power! J.N. Tsitsiklis, 1995; J. Sethian, 1996, R. Kimmel & J. Sethian, 1998; A. Spira & R. Kimmel, 2004

36 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Non-Euclidean Embedding Non-Euclidean Embedding

37 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Euclidean embedding

38 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Non-Euclidean embedding

39 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Spherical embedding Richer geometry than Euclidean (asymptotically Euclidean). Minimum embedding distortion obtained for shape-dependent radius.

40 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools The ultimate embedding space Embed one shape directly into the other If shapes are isometric, embedding is distortionless Otherwise, distortion is the measure of dissimilarity

41 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Generalized embedding problem A. Bronstein, M. Bronstein & R. Kimmel, 2006

42 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Generalized multidimensional scaling Representation How to represent arbitrary points on ? Metric approximation How to compute distance terms between arbitrary points on ? Numerical procedure How to minimize stress? A. Bronstein, M. Bronstein & R. Kimmel, 2006

43 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Representation Triangle index Convex combination Barycentric coordinates = + Triangular mesh How to represent an arbitrary point on ? A. Bronstein, M. Bronstein & R. Kimmel, 2006

44 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Metric approximation How to approximate distance between arbitrary points? Precompute distances between all pairs of vertices on A. Bronstein, M. Bronstein & R. Kimmel, 2006

45 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Generalized stress Fix all variables except for Quadratic in Convex in A. Bronstein, M. Bronstein & R. Kimmel, 2006

46 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Minimization algorithm Initialize Select corresponding to maximum gradient Compute minimizer If constraints are active translate to adjacent triangle Iterate until convergence… A. Bronstein, M. Bronstein & R. Kimmel, 2006

47 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools GMDS in action CANONICAL FORMS (MDS, 500 points) MINIMUM DISTORTION EMBEDDING (GMDS, 50 points) A. Bronstein, M. Bronstein & R. Kimmel, 2006

48 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Summary Discrete geodesic problem Dijkstra – inconsistent discrete metric Fast marching – consistently discretized metric Discrete embedding problem MDS – embedding distortion is an enemy Non-Euclidean embedding Generalized embedding GMDS – embed one surface into the other Embedding distortion is the measure ofdissimilarity