1 Subdivision Termination Criteria in Subdivision Multivariate Solvers Iddo Hanniel, Gershon Elber CGGC, CS, Technion.

Slides:



Advertisements
Similar presentations
Arc-length computation and arc-length parameterization
Advertisements

Problems in curves and surfaces M. Ramanathan Problems in curves and surfaces.
Lecture 10 Curves and Surfaces I
CSE 681 Bounding Volumes. CSE 681 Bounding Volumes Use simple volume enclose object(s) tradeoff for rays where there is extra intersection test for object.
P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2013 – 12269: Continuous Solution for Boundary Value Problems.
by Rianto Adhy Sasongko Supervisor: Dr.J.C.Allwright
Convexity of Point Set Sandip Das Indian Statistical Institute.
CS 445/645 Fall 2001 Hermite and Bézier Splines. Specifying Curves Control Points –A set of points that influence the curve’s shape Knots –Control points.
© University of Wisconsin, CS559 Spring 2004
Interpolation to Data Points Lizheng Lu Oct. 24, 2007.
1 Curves and Surfaces. 2 Representation of Curves & Surfaces Polygon Meshes Parametric Cubic Curves Parametric Bi-Cubic Surfaces Quadric Surfaces Specialized.
Classification and Prediction: Regression Via Gradient Descent Optimization Bamshad Mobasher DePaul University.
2. Voronoi Diagram 2.1 Definiton Given a finite set S of points in the plane , each point X of  defines a subset S X of S consisting of the points of.
3. Delaunay triangulation
25/6/2006 Solving Multivariate Nonlinear Polynomial Systems Massarwi Fady Computer Aided Geometric Design (236716) Spring 2006.
Counting and Representing Intersections Among Triangles in R 3 Esther Ezra and Micha Sharir.
Chapter 5 Orthogonality
Surface to Surface Intersection N. M. Patrikalakis, T. Maekawa, K. H. Ko, H. Mukundan May 25, 2004.
Offset of curves. Alina Shaikhet (CS, Technion)
09/04/02 Dinesh Manocha, COMP258 Bezier Curves Interpolating curve Polynomial or rational parametrization using Bernstein basis functions Use of control.
Constrained Optimization
Elementary Constructions in Spatial Constraint Solving Christoph M. Hoffmann Ching-Shoei Chiang, Bo Yuan Computer Science, Purdue University.
Introduction to Gröbner Bases for Geometric Modeling Geometric & Solid Modeling 1989 Christoph M. Hoffmann.
CS232.
1 Precise Voronoi Cell Extraction of Free-form Rational Planar Closed Curves Iddo Hanniel, Ramanathan Muthuganapathy, Gershon Elber Department of Computer.
Modelling: Curves Week 11, Wed Mar 23
IE433 CAD/CAM Computer Aided Design and Computer Aided Manufacturing Part-4 Computer Graphics- CAD Software Industrial Engineering Program King Saud University.
Bezier and Spline Curves and Surfaces CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
COEN Computer Graphics I
Linear Discriminant Functions Chapter 5 (Duda et al.)
Graphical Solutions Plot all constraints including nonnegativity ones
Week 13 - Wednesday CS361.
Mathematics for Computer Graphics (Appendix A) Won-Ki Jeong.
CHAPTER FIVE Orthogonality Why orthogonal? Least square problem Accuracy of Numerical computation.
11/19/02 (c) 2002, University of Wisconsin, CS 559 Last Time Many, many modeling techniques –Polygon meshes –Parametric instancing –Hierarchical modeling.
84 b Unidimensional Search Methods Most algorithms for unconstrained and constrained optimisation use an efficient unidimensional optimisation technique.
Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis
V. Space Curves Types of curves Explicit Implicit Parametric.
Self-intersection detection and elimination in freeform curves and surfaces Diana Pekerman Department of Mathematics, Technion – IIT, Haifa 32000, Israel;
CS 325 Introduction to Computer Graphics 04 / 26 / 2010 Instructor: Michael Eckmann.
2D/3D Shape Manipulation, 3D Printing Shape Representations Slides from Olga Sorkine February 20, 2013 CS 6501.
Week 13 - Monday.  What did we talk about last time?  Exam 2!  Before that…  Polygonal techniques ▪ Tessellation and triangulation  Triangle strips,
University of Texas at Austin CS384G - Computer Graphics Fall 2008 Don Fussell Parametric surfaces.
Robustness in Numerical Computation I Root Finding Kwanghee Ko School of Mechatronics Gwnagju Institute of Science and Technology.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Optimization & Constraints Add mention of global techiques Add mention of calculus.
3D Game Engine Design 1 3D Game Engine Design Ch D MAP LAB.
Artistic Surface Rendering Using Layout Of Text Tatiana Surazhsky Gershon Elber Technion, Israel Institute of Technology.
1 11. Polygons Polygons 2D polygons ( 다각형 ) –Polygon sides are all straight lines lying in the same plane 3D polyhedra ( 다면체 )  chap. 12 –Polyhedra.
11/6/ :55 Graphics II Introduction to Parametric Curves and Surfaces Session 2.
Greg Humphreys CS445: Intro Graphics University of Virginia, Fall 2003 Parametric Curves & Surfaces Greg Humphreys University of Virginia CS 445, Spring.
1 Graphics CSCI 343, Fall 2015 Lecture 34 Curves and Surfaces III.
MA Day 34- February 22, 2013 Review for test #2 Chapter 11: Differential Multivariable Calculus.
Common Intersection of Half-Planes in R 2 2 PROBLEM (Common Intersection of half- planes in R 2 ) Given n half-planes H 1, H 2,..., H n in R 2 compute.
Linear Programming Chap 2. The Geometry of LP  In the text, polyhedron is defined as P = { x  R n : Ax  b }. So some of our earlier results should.
Curves University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2013 Tamara Munzner.
Piecewise Polynomial Parametric Curves Sun-Jeong Kim.
Bigyan Ankur Mukherjee University of Utah. Given a set of Points P sampled from a surface Σ,  Find a Surface Σ * that “approximates” Σ  Σ * is generally.
Introduction to Parametric Curve and Surface Modeling.
Linear Discriminant Functions Chapter 5 (Duda et al.) CS479/679 Pattern Recognition Dr. George Bebis.
1 Chapter 4 Geometry of Linear Programming  There are strong relationships between the geometrical and algebraic features of LP problems  Convenient.
MATHEMATICS B.A./B.Sc. (GENERAL) FIRST YEAR EXAMINATIONS,2012.
Computation of the solutions of nonlinear polynomial systems
Curve & Surface.
© University of Wisconsin, CS559 Spring 2004
Polyhedron Here, we derive a representation of polyhedron and see the properties of the generators. We also see how to identify the generators. The results.
Efficient Methods for Roots of Univariate Scalar Beziers
Polyhedron Here, we derive a representation of polyhedron and see the properties of the generators. We also see how to identify the generators. The results.
UNIT-5 Curves and Surfaces.
Quantum Foundations Lecture 3
Introduction to Parametric Curve and Surface Modeling
Presentation transcript:

1 Subdivision Termination Criteria in Subdivision Multivariate Solvers Iddo Hanniel, Gershon Elber CGGC, CS, Technion

2 The Problem Consider the following set of d polynomial equations: In R d. We seek the simultaneous solution,, such that for all i =1,…,d.

3 Motivation for the Solver Many geometric problems are reduced to the simultaneous solution of a set of constraints.  Ray-surface, curve-curve and surface-surface intersections.  Voronoi diagram of curves.  Curve-curve bi-tangents, convex hull of curves.  Minimum enclosing circle/sphere of a set of curves/surfaces.

4 Here, one can find four solutions that satisfy the equations. We are interested in finding all solutions. Example – Intersection of 3 Explicit Surfaces in R 3

5 Previous Work on Multivariate Polynomial Solvers   Algebraic Solvers: Grobner bases [Cox et al., 1992]. Multivariate Sturm sequences [Milne, 1992].   Geometric Solvers: Based on the Bernstein/Bezier/Bspline properties. Bezier clipping methods [Sherbrooke and Patrikalakis, 1993], [Mourrain and Pavone, 2005]. Subdivision step and numeric improvement [Elber and Kim, 2001].

6 The Bezier/B-Spline Solver   A subdivision stage in a multidimensional space, using B-spline/Bezier subdivision.   A multivariate Newton-Raphson (NR) numeric step. Elber and Kim, 2001: Geometric Constraint Solver using Multivariate Rational Spline Functions

7 Subdivision Illustration – Univariate Case   Subdivision.   CH containment.

8 The Termination Question   We can identify domain cells with no root by the CH property. Can we do any better? Question: When do we stop the subdivision?  If we know there is at most a single root in some domain cell, we can move to the NR step. How can we know that?

9 The Hodograph – Univariate Case

10 Single Solution Guarantee

11 Extension to Higher Dimensions Theorem: Given d implicit hyper-surfaces F i (u) = 0, i = 1,….,d, in R d, there is at most one common solution if where 0 is the origin. Elber and Kim, 2001: Geometric Constraint Solver using Multivariate Rational Spline Functions

12 Implementing the Single Solution Test   How can this condition be tested efficiently in R d ?   Clearly the gradient field of F i (u) provides a bound on the normal space of F i (u).   Optimal bounding cones over vectors in R d could be found in average linear time.

13 Implementing the SST ( Cont.) The complementary cone can easily be derived, given the normal cone. and share the same axis but with complementary angles.

14 Implementing the SST (Cont.) But now we have to test for the intersection of d complementary cones in R d. A difficult task, even in R 3 ! d = 3

15 Implementing the SST (Cont.) Reexamine the univariate case (two curves): …intersect iff the parallel lines domain’s Intersection… Two cones of two planar curves… ….is not confined to the unit circle

16 Implementing the SST (Cont.) The efficient solution is found by using a different representation for the complementary cones. Two infinite parallel hyper-planes in R d.

17 Implementing the SST - Main Lemma Lemma: contains a vector other than {0}, if and only if the intersection of the unit hyper- sphere S d-1 with the regions between the bounding hyper-planes is non-empty. Implication: In order to test for a single solution, we do not have to intersect d-dimensional cones.

18 Implementing the SST (Cont.)   Two options: The entire intersection is inside the unit sphere. Then SST holds. Otherwise, SST failed.   Hence, only test if all the vertices of the intersection are inside the unit sphere.

19 Implementing the SST (Cont.) SST holds SST failed

20 Implementing the SST (Cont.) The set of 2 d hyper-plane intersection (HPI) equations to solve is: Or in matrix (d d) form: Or in matrix (d  d) form:

21 Implementing the SST (Cont.)   Due to symmetry, only 2 d-1 hyper-plane intersection (HPI) tests are required.   4 HPI tests for d = 3 (x, y, z) constraints in R 3.

22 Implementing the SST (Cont.) An efficient way to solve the 2 d-1 systems of equations is due to the inherent symmetry of the problem: Therefore, given one solution (e.g., {-,-,…,-,-}), computing a second solution that differs by a single sign (e.g., {-,-,…,-,+}), takes only O(d) operations and not O(d 2 ).

23 Implementing the SST – Example Without SST With SST

24 Implementing the SST – Example (Zoom) With SSTWithout SST

25 Purging Away Zero-solution Domains Problem: SST does not guarantee that a solution exists in the sub-domain. We might start the numerical iterations only to find that no root exists in this sub-domain.

26 Purging Away Zero-solution Domains (Cont.) Therefore, we seek to purge away, as much as possible, sub-domains that contain no solution. We present a second criterion, in addition to the CH criterion, for identifying no-solution sub-domains.

27 Purging Away Zero-solution Domains (Cont.) The basic idea: Bound the function F i =0 by a pair of parallel hyper-planes in R d. If the intersection of the hyper-planes is entirely outside the sub-domain, then the solution is outside the sub-domain. F1F1F1F1 F2F2F2F2

28 Purging Away Zero-solution Domains (Cont.) Problem: In order to bound F i =0 in R d we need to have at least a sample point u on F i =0. Solution: Bound F i in R d+1 and intersect the resulting (d+1)-dimensional hyper-planes with u d+1 =0, resulting bounding hyper-planes in R d.

29 Purging Away Zero-solution Domains (Cont.)  Promote F i from a scalar function to a hyper-surface in R d+1,.  Evaluate the gradient (i.e., the normal) at the sub-domain mid-point and project all control points of the hyper-surface onto it.  The two hyper-planes orthogonal to the gradient and passing through the extreme projection points, bound F i.

Center for Graphics and Geometric Computing, Technion 30 Purging Away Zero-solution Domains Illustration (d=1) u d+1 = 0 ] [

31 Purging Away Zero-solution Domains (Cont.) How to determine whether the intersection is entirely outside the sub-domain? Possible solutions: 1.Linear programming techniques. 2.Similarly to the SST for finding all vertices of the intersection.

32 Purging Away Zero-solution sub-domains – Example Without hyper-plane test With hyper-plane test

33 Future Work  Compare the SST with algebraic/numeric termination criteria (Kantorovich).  Use the vertices, which were computed for purging away zero-solutions, for clipping the sub-domain.  Extend the presented ideas for under- and over-constrained systems.  Search for tighter bounding volumes on the solutions (not just cones).

34 End