1 Numerical geometry of non-rigid shapes A journey to non-rigid world objects Numerical methods non-rigid Alexander Bronstein Michael Bronstein Numerical.

Slides:



Advertisements
Similar presentations
Algorithms (and Datastructures) Lecture 3 MAS 714 part 2 Hartmut Klauck.
Advertisements

Fast Marching on Triangulated Domains
22C:19 Discrete Math Graphs Fall 2014 Sukumar Ghosh.
Multiple Shape Correspondence by Dynamic Programming Yusuf Sahillioğlu 1 and Yücel Yemez 2 Pacific Graphics 2014 Computer Eng. Depts, 1, 2, Turkey.
CS 206 Introduction to Computer Science II 03 / 27 / 2009 Instructor: Michael Eckmann.
CS 206 Introduction to Computer Science II 11 / 07 / 2008 Instructor: Michael Eckmann.
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.
Breadth-First Search David Johnson. Today Look at one version of Breadth-first search on a grid Develop Matlab version of BFS.
Topology-Invariant Similarity and Diffusion Geometry
Discrete Geometry Tutorial 2 1
Corp. Research Princeton, NJ Computing geodesics and minimal surfaces via graph cuts Yuri Boykov, Siemens Research, Princeton, NJ joint work with Vladimir.
Corp. Research Princeton, NJ Cut Metrics and Geometry of Grid Graphs Yuri Boykov, Siemens Research, Princeton, NJ joint work with Vladimir Kolmogorov,
Discrete geometry Lecture 2 1 © Alexander & 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
Numerical Optimization
Fast marching methods Lecture 3 1 © Alexander & Michael Bronstein
Numerical geometry of non-rigid shapes
Numerical geometry of objects
1 GEOMETRIE Geometrie in der Technik H. Pottmann TU Wien SS 2007.
1 Bronstein 2 and Kimmel Extrinsic and intrinsic similarity of nonrigid shapes Michael M. Bronstein Department of Computer Science Technion – Israel Institute.
CS 206 Introduction to Computer Science II 11 / 10 / 2008 Instructor: Michael Eckmann.
Greedy Algorithms Reading Material: Chapter 8 (Except Section 8.5)
CS CS 175 – Week 2 Processing Point Clouds Registration.
1 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Numerical geometry of shapes Lecture II – Numerical Tools non-rigid Alex Bronstein.
Numerical geometry of non-rigid shapes
1 Numerical geometry of non-rigid shapes A journey to non-rigid world objects Invariant correspondence and shape synthesis non-rigid Alexander Bronstein.
Invariant Correspondence
Non-Euclidean Embedding
1 Numerical geometry of non-rigid shapes Numerical Geometry Numerical geometry of non-rigid shapes Numerical geometry Alexander Bronstein, Michael Bronstein,
Greedy Algorithms Like dynamic programming algorithms, greedy algorithms are usually designed to solve optimization problems Unlike dynamic programming.
CS 206 Introduction to Computer Science II 03 / 30 / 2009 Instructor: Michael Eckmann.
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 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.
CSE554SimplificationSlide 1 CSE 554 Lecture 7: Simplification Fall 2014.
Ch. 11: Optimization and Search Stephen Marsland, Machine Learning: An Algorithmic Perspective. CRC 2009 some slides from Stephen Marsland, some images.
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.
Scalable and Fully Distributed Localization With Mere Connectivity.
COSC 2007 Data Structures II Chapter 14 Graphs III.
6.1 Hamilton Circuits and Paths: Hamilton Circuits and Paths: Hamilton Path: Travels to each vertex once and only once… Hamilton Path: Travels to each.
Computer Graphics Some slides courtesy of Pierre Alliez and Craig Gotsman Texture mapping and parameterization.
CSE554SimplificationSlide 1 CSE 554 Lecture 7: Simplification Fall 2013.
GLOBAL ROUTING Anita Antony PR11EC1011. Approaches for Global Routing Sequential Approach: – Route the nets one at a time. Concurrent Approach: – Consider.
CSE554Fairing and simplificationSlide 1 CSE 554 Lecture 6: Fairing and Simplification Fall 2012.
WK15. Vertex Cover and Approximation Algorithm By Lin, Jr-Shiun Choi, Jae Sung.
CENG 789 – Digital Geometry Processing 04- Distances, Descriptors and Sampling on Meshes Asst. Prof. Yusuf Sahillioğlu Computer Eng. Dept,, Turkey.
Mesh Resampling Wolfgang Knoll, Reinhard Russ, Cornelia Hasil 1 Institute of Computer Graphics and Algorithms Vienna University of Technology.
Fast Marching Algorithm & Minimal Paths Vida Movahedi Elder Lab, February 2010.
Dynamic Programming (DP), Shortest Paths (SP)
Shortest Path Problems
COMP108 Algorithmic Foundations Greedy methods
Assoc. Prof. Yusuf Sahillioğlu
Discrete Mathematicsq
Morphing and Shape Processing
Spanning Trees Longin Jan Latecki Temple University based on slides by
Shortest Path Algorithms
Spanning Trees Longin Jan Latecki Temple University based on slides by
CSE 417: Algorithms and Computational Complexity
Chapter 14 Graphs © 2011 Pearson Addison-Wesley. All rights reserved.
Presentation transcript:

1 Numerical geometry of non-rigid shapes A journey to non-rigid world objects Numerical methods non-rigid Alexander Bronstein Michael Bronstein Numerical geometry of

2 Numerical geometry of non-rigid shapes A journey to non-rigid world 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

3 Numerical geometry of non-rigid shapes A journey to non-rigid world Minimization of quadratic stress Quadratic stress where Its gradient Non-linear non-convex function of variables

4 Numerical geometry of non-rigid shapes A journey to non-rigid world 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

5 Numerical geometry of non-rigid shapes A journey to non-rigid world Shapes as graphs Cloud of pointsEdges Undirected graph = +

6 Numerical geometry of non-rigid shapes A journey to non-rigid world Discrete geodesic problem Local length function Path length Length metric in graph

7 Numerical geometry of non-rigid shapes A journey to non-rigid world 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

8 Numerical geometry of non-rigid shapes A journey to non-rigid world Troubles with the metric Inconsistent metric approximation!

9 Numerical geometry of non-rigid shapes A journey to non-rigid world 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

10 Numerical geometry of non-rigid shapes A journey to non-rigid world 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.

11 Numerical geometry of non-rigid shapes A journey to non-rigid world Eikonal equation Source Equidistant contour Steepest distance growth direction Eikonal equation

12 Numerical geometry of non-rigid shapes A journey to non-rigid world 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

13 Numerical geometry of non-rigid shapes A journey to non-rigid world 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.

14 Numerical geometry of non-rigid shapes A journey to non-rigid world 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

15 Numerical geometry of non-rigid shapes A journey to non-rigid world 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

16 Numerical geometry of non-rigid shapes A journey to non-rigid world 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

17 Numerical geometry of non-rigid shapes A journey to non-rigid world

18 Numerical geometry of non-rigid shapes A journey to non-rigid world 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

19 Numerical geometry of non-rigid shapes A journey to non-rigid world Raster scan fast marching Parametric surface Parametrization domain sampled on Cartesian grid Four alternating scans

20 Numerical geometry of non-rigid shapes A journey to non-rigid world Raster scan fast marching 4 scans=1 iteration 2 iterations3 iterations 4 iterations5 iterations6 iterations Several iterations required for non-Euclidean geometries

21 Numerical geometry of non-rigid shapes A journey to non-rigid world 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

22 Numerical geometry of non-rigid shapes A journey to non-rigid world 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!

23 Numerical geometry of non-rigid shapes A journey to non-rigid world Fast marching MATLAB ® intermezzo