Fast Marching on Triangulated Domains

Slides:



Advertisements
Similar presentations
Level Set Methods for Shape Recovery Fan Ding and Charles Dyer Computer Sciences Department University of Wisconsin.
Advertisements

Chapter 9: Graphs Shortest Paths
MRI Brain Extraction using a Graph Cut based Active Contour Model Noha Youssry El-Zehiry Noha Youssry El-Zehiry and Adel S. Elmaghraby Computer Engineering.
~1~ Infocom’04 Mar. 10th On Finding Disjoint Paths in Single and Dual Link Cost Networks Chunming Qiao* LANDER, CSE Department SUNY at Buffalo *Collaborators:
Approximations of points and polygonal chains
Advanced Topics in Algorithms and Data Structures Lecture 7.2, page 1 Merging two upper hulls Suppose, UH ( S 2 ) has s points given in an array according.
Medical Image Segmentation: Beyond Level Sets (Ismail’s part) 1.
15.082J & 6.855J & ESD.78J Shortest Paths 2: Bucket implementations of Dijkstra’s Algorithm R-Heaps.
The Greedy Approach Chapter 8. The Greedy Approach It’s a design technique for solving optimization problems Based on finding optimal local solutions.
Closest Point Transform: The Characteristics/Scan Conversion Algorithm Sean Mauch Caltech April, 2003.
Management Science 461 Lecture 2b – Shortest Paths September 16, 2008.
Topology-Invariant Similarity and Diffusion Geometry
Active Contours (SNAKES) Back to boundary detection –This time using perceptual grouping. This is non-parametric –We’re not looking for a contour of a.
Silhouettes in Multiview Stereo Ian Simon. Multiview Stereo Problem Input: – a collection of images of a rigid object (or scene) – camera parameters for.
Fast marching methods The continuous way 1
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.
Level Set Formulation for Curve Evolution Ron Kimmel Computer Science Department Technion-Israel Institute of Technology Geometric.
Last Time Pinhole camera model, projection
Numerical Geometry in Image Processing Ron Kimmel Geometric Image Processing Lab Computer Science Department Technion-Israel.
Fast marching methods Lecture 3 1 © Alexander & Michael Bronstein
Numerical geometry of non-rigid shapes
1 GEOMETRIE Geometrie in der Technik H. Pottmann TU Wien SS 2007.
Introduction to Calculus of Variations Ron Kimmel Computer Science Department Technion-Israel Institute of Technology Geometric.
1 Bronstein 2 and Kimmel Extrinsic and intrinsic similarity of nonrigid shapes Michael M. Bronstein Department of Computer Science Technion – Israel Institute.
Snakes Goes from edges to boundaries. Edge is strong change in intensity. Boundary is boundary of an object. –Smooth (more or less) –Closed. –…
1 Numerical geometry of non-rigid shapes Lecture II – Numerical Tools Numerical geometry of shapes Lecture II – Numerical Tools non-rigid Alex Bronstein.
Graphs & Graph Algorithms 2 Nelson Padua-Perez Bill Pugh Department of Computer Science University of Maryland, College Park.
Jean-Charles REGIN Michel RUEHER ILOG Sophia Antipolis Université de Nice – Sophia Antipolis A global constraint combining.
The plan for today Camera matrix
1 Bronstein, Bronstein, and Kimmel Joint extrinsic and intrinsic similarity of non-rigid shapes Rock, paper, and scissors Joint extrinsic and intrinsic.
Comp 775: Deformable models: snakes and active contours Marc Niethammer, Stephen Pizer Department of Computer Science University of North Carolina, Chapel.
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
Flattening via Multi- Dimensional Scaling Ron Kimmel Computer Science Department Geometric Image Processing Lab Technion-Israel.
Numerical geometry of non-rigid shapes
1 University of Denver Department of Mathematics Department of Computer Science.
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 Non-Euclidean Embedding Non-Euclidean Embedding Lecture 6 © Alexander & Michael Bronstein tosca.cs.technion.ac.il/book.
Continuous Morphology and Distance Maps Ron Kimmel Computer Science Department Technion-Israel Institute of Technology Geometric.
1 Michael M. Bronstein Partial similarity of objects 17 December 2006 Partial similarity of objects, or how to compare a centaur to a horse Michael M.
Graphs & Graph Algorithms 2 Fawzi Emad Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
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.
Scientific Computing Partial Differential Equations Poisson Equation Calculus of Variations.
May 5, 2015Applied Discrete Mathematics Week 13: Boolean Algebra 1 Dijkstra’s Algorithm procedure Dijkstra(G: weighted connected simple graph with vertices.
Computing the shortest path on a polyhedral surface Presented by: Liu Gang
1 Fast Marching Method for generic Shape From Shading E. Prados & S. Soatto RFIA 2006 January 2006, Tours, France.
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.
Equality Function Computation (How to make simple things complicated) Nitin Vaidya University of Illinois at Urbana-Champaign Joint work with Guanfeng.
Expression-invariant Face Recognition using Geodesic Distance Isometries Kerry Widder A Review of ‘Robust expression-invariant face recognition from partially.
May 1, 2002Applied Discrete Mathematics Week 13: Graphs and Trees 1News CSEMS Scholarships for CS and Math students (US citizens only) $3,125 per year.
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)
GLOBAL ROUTING Anita Antony PR11EC1011. Approaches for Global Routing Sequential Approach: – Route the nets one at a time. Concurrent Approach: – Consider.
Shortest Paths and Dijkstra’s Algorithm CS 105. SSSP Slide 2 Single-source shortest paths Given a weighted graph G and a source vertex v in G, determine.
Introduction to Level Set Methods: Part II
Akram Bitar and Larry Manevitz Department of Computer Science
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)
Example Apply hierarchical clustering with d min to below data where c=3. Nearest neighbor clustering d min d max will form elongated clusters!
Geodesics on Implicit Surfaces and Point Clouds
Graphs & Graph Algorithms 2
אופטימיזציה של מסלול טיסה פרויקט ב' מבצע: יקותיאל אברג'ל
Extract Object Boundaries in Noisy Images
Akram Bitar and Larry Manevitz Department of Computer Science
Presentation transcript:

Fast Marching on Triangulated Domains Computer Science Department Technion-Israel Institute of Technology Fast Marching on Triangulated Domains Ron Kimmel www.cs.technion.ac.il/~ron Geometric Image Processing Lab

Brief Historical Review Upwind schemes: Godunov 59 Level sets: Osher & Sethian 88 Viscosity SFS: Rouy & Tourin 92, (Osher & Rudin) Level sets SFS: Kimmel & Bruckstein 92 Continuous morphology: Brockett & Maragos 92,Sapiro et al. 93 Minimal geodesics: Kimmel, Amir & Bruckstein 93 Fast marching method: Sethian 95 Fast optimal path: Tsitsiklis 95 Level sets on triangulated domains:Barth & Sethian 98 Fast marching on triangulated domains: Kimmel & Sethian 98 Applications based on joint works with: Elad, Kiryati, Zigelman

1D Distance: Example 1 T(x) x x0 Find distance T(x), given T(x0)=0. Solution: T(x)=|x-x0|. except at x0. T(x) x x0

1D Distance: Example 2 T(x) x x0 x1 Find the distance T(x), given T(x0)=T(x1)=0 Solution: T(x) = min{|x-x0|,|x-x1|}, Again, , except x0,x1 and (x0+x1)/2. T(x) x x0 x1

1D Eikonal Equation T(x) x x0 x1 with boundary conditions T(x0)=T(x1)=0. Goal: Compute T that satisfies the equation `the best'. T(x) x x0 x1

Numerical Approximation Restrict , where h= grid spacing. Possible solutions for are T(x) x x0 x1

Approximation II T(x) x x0 x1 Updated i has always `upwind' from where the `wind blows' T(x) x x0 x1

Update Procedure T T T Set , and T(x0)=T(x1)=0. REPEAT UNTIL convergence, FOR each i T i T i+1 T i-1 i-1 i i+1 h

Update Order What is the optimal order of updates? Solution I: Scan the line successively left to right. N scans, i.e. O(N ) Solution II: Left to right followed by right to left. Two scans are sufficient. (Danielson`s distance map 1980) Solution III: Start from x0, update its neighboring points, accept updated values, and update their neighbors, etc. 2 1 2 3 1 2

Weighted Domains x x0 x1 Local weight , Arclength Goal: distance function characterized by: By the chain rule: The Eikonal equation is T(x) F(x) x x0 x1

2D Rectangular Grids Isotropic inhomogeneous domains Weighted arclength: the weight is Goal: Compute the distance T(x,y) from p0 where

Upwind Approximation in 2D ij T i+1,j T i,j-1 i+1,j T i,j-1 i+1,j T i-1,j ij i-1,j i,j+1

2D Approximation T T Initialization: given initial value or Update: Fitting a tilted plane with gradient , and two values anchored at the relevant neighboring grid points. T 1 i+1,j T 2 i,j-1 ij i-1,j i,j+1

Computational Complexity T is systematically constructed from smaller to larger T values. Update of a heap element is O(log N). Thus, upper bound of the total is O(N log N). www.math.berkeley.edu/~sethian

Shortest Path on Flat Domains Why do graph search based algorithms (like Dijkstra's) fail?

Edge Integration Cohen-Kimmel, IJCV, 1997. Solve the 2D Eikonal equation given T(p)=0 Minimal geodesic w.r.t.

Shape from Shading Rouy-Tourin SIAM-NU 1992, Kimmel-Bruckstein CVIU 1994, Kimmel-Sethian JMIV 2001. Solve the 2D Eikonal equation where Minimal geodesic w.r.t.

Path Planning 3 DOF Solve the Eikonal Eq. in 3D {x,y,j}-CS given T(x0,y0,j0)=0, Minimal geodesic w.r.t.

Path Planning 3 DOF

Path Planning 4 DOF Solve the Eikonal Eq. in 4D Minimal geodesic w.r.t.

Update Acute Angle Given ABC, update C. Consistency and monotonicity: Update only `from within the triangle' h in ABC Find t=EC that satisfies the gradient approximation (t-u)/h= F. c c

Update Procedure We end up with: t must satisfy u<t, and h in ABC. The update procedure is IF (u<t) AND (a cos q < b(t-u)/t < a/cosq) THEN T(C) = min {T(C),t+T(A)}; ELSE T(C)= min {T(C),bF+T(A),aF+T(B)}. u C B A

Obtuse Problems This front first meets B, next A, and only then C. A is `supported’ by a single point. The supported section of incoming fronts is a limited section.

Solution by splitting Initialization step! Extend this section and link the vertex to one within the extended section. Recursive unfolding: Unfold until a new vertex Q is found. Initialization step!

Recursive Unfolding: Complexity e = length of longest edge The extended section maximal area is bounded by a<= e /(2a ). The minimal area of any unfolded triangle is bounded below a >= (h a ) q /2, The number of unfolded triangles before Q is found is bounded by m<= a /a = e /(q h a ). max 2 max min 2 min min min min 2 2 3 max min max min min min

1st Order Accuracy The accuracy for acute triangles is O(e ) Accuracy for the obtuse case O(e /(p-q )) max max max

Minimal Geodesics

Minimal Geodesics

Linear Interpolation ODE ‘back tracking’

Quadratic Interpolation

Voronoi Diagrams and Offsets Given n points, { p D, j 0,..,n-1} Voronoi region: G = {p D| d(p,p ) < d(p,p ), V j = i}. j i i j

Geodesic Voronoi Diagrams and Geodesic Offsets

Geodesic Voronoi Diagrams and Geodesic Offsets

Marching Triangles The intersection set of two functions is linearly interpolated via `marching triangle'

Voronoi Diagrams and Offsets on Weighted Curved Domains

Voronoi Diagrams and Offsets on Weighted Curved Domains

Cheap and Fast 3D Scanner PC + video frame grabber. Video camera. Laser line pointer. Joint with G. Zigelman motivated by simple shape from structure light methods, like Bouguet-Perona 99, Klette et al. 98 Lego Mindstorms rotates the laser (E. Gordon) A frame grabber built at the Technion by Y Grinberg

Cheap and Fast 3D Scanner

Detection and Reconstruction

Examples of Decimation Decimation - 3% of vertices Sub-grid sampling

Results

Results

Texture Mapping Environment mapping: Blinn, Newell (76). Environment mapping: Greene, Bier and Sloan (86). Free-form surfaces: Arad and Elber (97). Polyhedral surfaces: Floater (96, 98), Levy and Mallet (98). Multi-dimensional scaling: Schwartz, Shaw and Wolfson (89).

Difficulties Need for user intervention. Local and global distortions. Restrictive boundary conditions. High computational complexity.

Flattening via MDS Compute geodesic distances between pairs of points. Construct a square distance matrix of geodesic distances^2. Find the coordinates in the plane via multi-dimensional scaling. The simplest is `classical scaling’. Use the flattened coordinates for texturing the surface, while preserving the texture features. Zigelman, Kimmel, Kiryati, IEEE T. on Visualization and Computer Graphics (in press).

Flattening

Flattening

Distances - comparison

Texture Mapping

Texture Mapping

Bending Invariant Signatures

Bending Invariant Signatures ? Elad, Kimmel, CVPR’2001

Bending Invariant Signatures ? Elad, Kimmel, CVPR’2001

Bending Invariant Signatures ? Elad, Kimmel, CVPR’2001

Bending Invariant Signatures Elad, Kimmel, CVPR’2001

Bending Invariant Signatures Elad, Kimmel, CVPR’2001

Bending Invariant Signatures 3 Original surfaces Canonical surfaces in R Elad, Kimmel, CVPR’2001

Bending Invariant Clustering 2nd moments based MDS for clustering Original surfaces Canonical forms D D D 0.8 A A E 0.8 E 0.7 A 0.7 D E 0.6 E B 0.6 E E E 0.5 C C C 0.5 C D C C 0.4 B C 0.4 D D E D 0.3 F A 0.3 B B B B 0.2 F B B C 0.2 A A A A 0.1 F 0.1 F 1 1 1 0.8 1 0.8 0.8 0.6 *A=human body 0.8 F F F 0.6 0.6 0.4 0.6 F 0.4 0.4 0.4 0.2 0.2 *B=hand 0.2 0.2 *C=paper *D=hat *E=dog *F=giraffe Elad, Kimmel, CVPR’2001

More Applications semi-manual re-triangulation segmentation halftoning in 3D Adi, Kimmel 2002

Conclusions Applications of Fast Marching Method on rectangular grids: Path planning, edge integration, shape from shading. O(N) consistent method for weighted geodesic distance: ‘Fast marching on triangulated domains’. Applications: Minimal geodesics, geodesic offsets, geodesic Voronoi diagrams, surface flattening, texture mapping, bending invariant signatures and clustering of surfaces, triangulation, and semi-manual segmentation.