Projection of a Smooth Space Curve:

Similar documents
Reliable Location with Respect to the Projection of a Smooth Space Curve

ABSTRACT TO BE PRESENTED COMPUTATIONAL METHODS FOR ALGEBRAIC SPLINE SURFACES COMPASS II. September 14-16th, 2005

A DH-parameter based condition for 3R orthogonal manipulators to have 4 distinct inverse kinematic solutions

SYSTEMS OF NONLINEAR EQUATIONS

Arrangement Computation for Planar Algebraic Curves

Robust Ray Intersection with Interval Arithmetic

Revisiting the Upper Bounding Process in a Safe Branch and Bound Algorithm

Implicit Matrix Representations of Rational Bézier Curves and Surfaces

Solving Polynomial Equations in Geometric Problems

Curves and Surfaces Computer Graphics I Lecture 9

Boundary-Based Interval Newton s Method. Интервальный метод Ньютона, основанный на границе

On the topology of real algebraic plane curves

Three Applications of Interval Analysis in Computer Graphics

COMPUTER AIDED GEOMETRIC DESIGN. Thomas W. Sederberg

Reliable Nonlinear Parameter Estimation Using Interval Analysis: Error-in-Variable Approach

Central issues in modelling

A Continuation Method for Visualizing Planar Real Algebraic Curves with Singularities

Introduction to C++ Introduction to C++ Week 6 Dr Alex Martin 2013 Slide 1

Workspace and joint space analysis of the 3-RPS parallel robot

A Numerical Method for Computing Border Curves of Bi-parametric Real Polynomial Systems and Applications

Rational Quadratic Approximation to Real Plane Algebraic Curves 1)

Sung-Eui Yoon ( 윤성의 )

Ray-casting Algebraic Surfaces using the Frustum Form. Eurographics 2008 Crete, Thursday April 17.

Finding All Real Points of a Complex Algebraic Curve

Chapter 6. Curves and Surfaces. 6.1 Graphs as Surfaces

Curve and Surface Basics

Consistency Techniques over Real Numbers

Global Optimization. R. Horst and P.M. Pardalos (eds.), Handbook of Global Optimization, Kluwer, Dordrecht, 1995.

Guaranteed detection of the singularities of 3R robotic manipulators

Rigorous interval computations of hyperbolic tetrahedral shapes

Curves and Surfaces Computer Graphics I Lecture 10

INTERSECTION OF CURVES FACTS, COMPUTATIONS, APPLICATIONS IN BLOWUP*

Know it. Control points. B Spline surfaces. Implicit surfaces

= f (a, b) + (hf x + kf y ) (a,b) +

Constraints for Recognizing and Locating Curved 3D Objects from Monocular Image Features *

Direct Rendering of Trimmed NURBS Surfaces

Interval Arithmetic. MCS 507 Lecture 29 Mathematical, Statistical and Scientific Software Jan Verschelde, 28 October 2011

f( x ), or a solution to the equation f( x) 0. You are already familiar with ways of solving

Cell decomposition of almost smooth real algebraic surfaces

Math 213 Calculus III Practice Exam 2 Solutions Fall 2002

B553 Lecture 12: Global Optimization

Parallel Implementation of Interval Analysis for Equations Solving

f xx (x, y) = 6 + 6x f xy (x, y) = 0 f yy (x, y) = y In general, the quantity that we re interested in is

Computer Graphics I Lecture 11

Chapter 3. Quadric hypersurfaces. 3.1 Quadric hypersurfaces Denition.

Existence Verification for Singular Zeros of Nonlinear Systems

MAC2313 Final A. a. The vector r u r v lies in the tangent plane of S at a given point. b. S f(x, y, z) ds = R f(r(u, v)) r u r v du dv.

Cauchy's Integral Formula

2. Give an example of a non-constant function f(x, y) such that the average value of f over is 0.

CS354 Computer Graphics Surface Representation IV. Qixing Huang March 7th 2018

Non-linear Global Optimization using Interval Arithmetic and Constraint Propagation

Chapter 11 Arc Extraction and Segmentation

Subdivision Curves and Surfaces: An Introduction

Certified Algorithms for Implicit Surfaces

SONIC A Solver and Optimizer for Nonlinear Problems based on Interval Computation

INF3320 Computer Graphics and Discrete Geometry

Solving the Forward Kinematics of a Gough-Type Parallel Manipulator with Interval Analysis

Pythagorean - Hodograph Curves: Algebra and Geometry Inseparable

An Introduction to Parametrizing Rational Curves. Victoria Y.H. Wood

Implicit Surfaces or Level Sets of Functions *

Curves and Surfaces 1

Interval Methods for Multi-Point Collisions between Time-Dependent Curved Surfaces

Mesh Generation for Aircraft Engines based on the Medial Axis

Lecture 8. Divided Differences,Least-Squares Approximations. Ceng375 Numerical Computations at December 9, 2010

Computer Vision I - Algorithms and Applications: Multi-View 3D reconstruction

Classroom Tips and Techniques: Solving Algebraic Equations by the Dragilev Method

Math 113 Exam 1 Practice

MAT203 OVERVIEW OF CONTENTS AND SAMPLE PROBLEMS

practice: quadratic functions [102 marks]

Boolean Operations on Polygons with Conic Arcs

Exact Delaunay graph of smooth convex pseudo-circles: General predicates, and implementation for ellipses

Robust Ray Intersection with Interval Arithmetic. Don P. Mitchell. AT &T Bell Laboratories Murray Hill, NJ 07974

CGT 581 G Geometric Modeling Curves

Information Coding / Computer Graphics, ISY, LiTH. Splines

Hyperbolic structures and triangulations

G 2 Interpolation for Polar Surfaces

Interpolation. TANA09 Lecture 7. Error analysis for linear interpolation. Linear Interpolation. Suppose we have a table x x 1 x 2...

Geometric Modeling in Graphics

Polynomial and Rational Functions

Quadratic and cubic b-splines by generalizing higher-order voronoi diagrams

Chapter 10. Exploring Conic Sections

Verification of Numerical Results, using Posits, Valids, and Quires

Fall CSCI 420: Computer Graphics. 4.2 Splines. Hao Li.

Real time Ray-Casting of Algebraic Surfaces

AMS527: Numerical Analysis II

ADAPTIVE APPROACH IN NONLINEAR CURVE DESIGN PROBLEM. Simo Virtanen Rakenteiden Mekaniikka, Vol. 30 Nro 1, 1997, s

Math 113 Calculus III Final Exam Practice Problems Spring 2003

Section 18-1: Graphical Representation of Linear Equations and Functions

Kinematics and synthesis of cams-coupled parallel robots

Objectives Graph and Analyze Rational Functions Find the Domain, Asymptotes, Holes, and Intercepts of a Rational Function

Reals 1. Floating-point numbers and their properties. Pitfalls of numeric computation. Horner's method. Bisection. Newton's method.

Computational Photonics, Summer Term 2012, Abbe School of Photonics, FSU Jena, Prof. Thomas Pertsch

Lagrange multipliers October 2013

KEMATH1 Calculus for Chemistry and Biochemistry Students. Francis Joseph H. Campeña, De La Salle University Manila

Non-Bayesian Classifiers Part II: Linear Discriminants and Support Vector Machines

implicit surfaces, approximate implicitization, B-splines, A- patches, surface fitting

Clipping Points Consider a clip window which is rectangular in shape. P(x, y) is a point to be displayed.

Algebra II JMG. Module 2 Lesson 2 The Height & Coheight. PBL Community Blood Drive Final Planning

Single Scattering in Refractive Media with Triangle Mesh Boundaries

A Subdivision Approach to Planar Semi-algebraic Sets

Transcription:

Projection of a Smooth Space Curve: Numeric and Certified Topology Computation Marc Pouget Joint work with Rémi Imbach Guillaume Moroz 1

Projection and apparent contour 3D curve = intersection of 2 implicit surfaces C : p(x, y, z) =0 q(x, y, z) =0 B = (x,y) (C), (x, y, z) 2 R3 2

Projection and apparent contour 3D curve = intersection of 2 implicit surfaces p(x, y, z) =0 C : @p @z (x, y, z) =0 B = (x,y) (C), (x, y, z) 2 R3 2

Topology of a plane curve B = {(x, y) 2 R 2 f(x, y) =0} Singularities: {(x, y) 2 R 2 f(x, y) = @f @f @x (x, y) = @y (x, y) =0} Restrict to box B 0 3

Topology of a plane curve B = {(x, y) 2 R 2 f(x, y) =0} Singularities: {(x, y) 2 R 2 f(x, y) = @f @f @x (x, y) = @y (x, y) =0} Restrict to box B 0 Isolate in boxes: singularities boundary points at least 1 point per cc 3

Topology of a plane curve B = {(x, y) 2 R 2 f(x, y) =0} Singularities: {(x, y) 2 R 2 f(x, y) = @f @f @x (x, y) = @y (x, y) =0} Restrict to box B 0 Isolate in boxes: singularities boundary points at least 1 point per cc Compute local topology at singularities 3

Topology of a plane curve B = {(x, y) 2 R 2 f(x, y) =0} Singularities: {(x, y) 2 R 2 f(x, y) = @f @f @x (x, y) = @y (x, y) =0} Restrict to box B 0 Isolate in boxes: singularities boundary points at least 1 point per cc Compute local topology at singularities Connect boxes : Graph 3

Symbolic tool box Gröbner basis Triangular decomposition Rational univariate representation... + Handle any types of singularities + Bit complexity analysis Global analysis High complexity Restricted to polynomial functions Generic case is typically the worst case 4

Numerical tool box Subdivision Homotopy +Local:analysisrestrictedtoabox + Adaptative: running time sensitive to the local geometry + Fast limited precision computation + Certification via interval analysis + Not restricted to polynomials: only evaluation required Di cult to analyse the complexity Need generic assumptions: regular solutions 5

Example: counting solutions of f(x) =0 Symbolic: f polynomial, squarefree part = f/gcd(f,f 0 ) Numeric: Newton iteration: x n+1 = x n f(x n )/f 0 (x n ) Homotopy Subdivision + Interval analysis 6

Example: counting solutions of f(x) =0 Symbolic: f polynomial, squarefree part = f/gcd(f,f 0 ) Numeric: Newton iteration: x n+1 = x n f(x n )/f 0 (x n ) Homotopy Subdivision + Interval analysis Subdivide interval I 0 until 0 62 f(i)! no solution in I or 0 62 f 0 (I)! check the sign of f at endpoints f(i 1 ) 6 f(i 2 ) I 1 I 2

Example: counting solutions of f(x) =0 Symbolic: f polynomial, squarefree part = f/gcd(f,f 0 ) Numeric: Newton iteration: x n+1 = x n f(x n )/f 0 (x n ) Homotopy Subdivision + Interval analysis Subdivide interval I 0 until 0 62 f(i)! no solution in I or 0 62 f 0 (I)! check the sign of f at endpoints May need many subdivisions f(i 2 ) 6 I 2

Example: counting solutions of f(x) =0 Symbolic: f polynomial, squarefree part = f/gcd(f,f 0 ) Numeric: Newton iteration: x n+1 = x n f(x n )/f 0 (x n ) Homotopy Subdivision + Interval analysis Subdivide interval I 0 until 0 62 f(i)! no solution in I or 0 62 f 0 (I)! check the sign of f at endpoints f(i 2 ) 6 Will not terminate I 2 Use instead g = f + f 0, 2 R works only for solutions of multiplicity 2 (g 0 = f 0 + f 00 6=0) adds spurious solutions

Interval analysis Arithmetic operations [a, b] [c, d] =[a + c, b + d] [a, b] [c, d] =[min(ac, ad, bc, bd), max(ac, ad, bc, bd)] Interval function extension of f : R! R f(i) {f(x) x 2 I} convergence: w( f(i))! 0 as w(i =[a, b]) = b a! 0 Examples f polynomial, use interval arithmetic operations Mean value evaluation f(i) :=f(mid(i)) + f 0 (I)(I mid(i)) Exclusion criterion: 0 62 f(i) =) f has no solution in I... But 0 2 f(i) does NOT imply that f has no solution in I 7

Newton/Krawczyk operator F : R n! R n F (X) =0: system of n equations, n unknowns. Assume the solutions are regular: the determinant of the jacobian J F does not vanish at the solutions. Interval Newton operator: m 2 X R n,n(x) =m J 1 F (m) F (X) Krawczyk operator = mean value evaluation of N K(X) =N(m)+ J N (X)(X m) Lemma. K(X) X =) 9! solution in X K(X) \ X = ; =) no solution in X Quadratic convergence Neumaier, Interval methods for systems of equations, 1990 Dedieu, Points fixes, zeros et la methode de Newton, 2006 Rump, Verification methods: Rigorous results using floating point arithmetic, Acta Numerica, 2010 8

Subdivision algorithm Input: F : R n! R n, X 0 box of R n Output: A list R of boxes containing solutions in X 0 of F =0 L := {X 0 } Repeat: X := L.pop If 0 2 F (X) then If K F (X) Int(X) then insert X in R Else If K F (X) \ X 6= ; then bisect X and insert its sub-boxes in L End if End if Until L = ; Return R 9 WARNING: Square system: as many equations as unknowns Regular solutions: det(j F (s)) 6= 0

Our problem: Isolate singularities Projection of a 3D smooth curve: Generic singularities are Nodes = transverse intersection of 2 branches Apparent contour: Generic singularities are Nodes and Cusps 10

Subresultant approach in 2D B = {(x, y) 2 R 2 r(x, y) =0}, wherer(x, y) =Res(p, p z,z)(x, y) Singularities of B are the solutions of r(x, y) = @r @r @x(x, y) = @y (x, y) =0 Over-determined Cusps are solutions of multiplicity 2 11

Subresultant approach in 2D B = {(x, y) 2 R 2 r(x, y) =0}, wherer(x, y) =Res(p, p z,z)(x, y) Singularities of B are the solutions of r(x, y) = @r @r @x(x, y) = @y (x, y) =0 Over-determined Cusps are solutions of multiplicity 2 Let s 10,s 11,s 22 be the coe cients of the subresultant sequence of p and p z wrt z (S 2 ) s 10 (x, y) =s 11 (x, y) =0and s 22 (x, y) 6= 0 Lemma. Square system Nodes and cusps are regular solutions [IMP15] R. Imbach, G. Moroz, and M. Pouget. Numeric certified algorithm for the topology of resultant and discriminant curves. Research Report RR-8653, Inria, April 2015. 11

4D approach C = {(x, y, z) 2 R 3 p(x, y, z) =p z (x, y, z) =0} B = {(x, y) 2 R 2 9z 2 R s.t. (x, y, z) 2 C} Node: (x, y, z 1 ), (x, y, z 2 ) 2 C, withz 1 6= z 2 Cusp: (x, y, p z 1 ), (x, y, z 2 ) 2 C, withz 1 = z 2 Set z 1 = c r, z2 = c + p r,withc center and p r radius of [z 1 z 2 ] 12

4D approach C = {(x, y, z) 2 R 3 p(x, y, z) =p z (x, y, z) =0} B = {(x, y) 2 R 2 9z 2 R s.t. (x, y, z) 2 C} 8 >< (S 4 ) >: 1 2 (p(x, y, c + p r) + p(x, y, c 1 2 p r (p(x, y, c + p r) p(x, y, c 1 2 (p z(x, y, c + p r) + p z (x, y, c 1 2 p r (p z(x, y, c + p r) p z (x, y, c p p r)) = 0 r)) = 0 p p r)) = 0 r)) = 0 Lemma. S 4 is regular, its solutions project to cusps and nodes of B R. Imbach, G. Moroz, M. Pouget. Numeric and Certified Isolation of the Singularities of the Projection of a Smooth Space Curve, MACIS 2015 Node: (x, y, z 1 ), (x, y, z 2 ) 2 C, withz 1 6= z 2 Cusp: (x, y, p z 1 ), (x, y, z 2 ) 2 C, withz 1 = z 2 Set z 1 = c r, z2 = c + p r,withc center and p r radius of [z 1 z 2 ] 12

Certified numerical tracking in 3D Enclose C [C k,withc k =(x k,y k,z k ) 3D box - More e cient than a classic 3D subdivision - Correct topology - Certification via a parametric interval Krawczyk test [MGGJ13] B. Martin, A. Goldsztejn, L. Granvilliers, and C. Jermann. Certified parallelotope continuation for one-manifolds. SIAM Journal on Numerical Analysis, 2013. 13

Certified numerical tracking in 3D Enclose C [C k,withc k =(x k,y k,z k ) 3D box Enclose (x,y) (C) =B [ (x,y) (C k ) 13

Certified numerical tracking in 3D Enclose C [C k,withc k =(x k,y k,z k ) 3D box Enclose (x,y) (C) =B [ (x,y) (C k ) Restrict the 4D solving domain of S 4 Cusp in B k! sol. in (x k,y k,z k, [0( w(z k) 2 ]) 2 ]) Node in B ij = B i \ B j 6= ;!sol. in (x ij,y ij, z i+z j 2, [0, ( z i z j 2 ) 2 ]) 13

Experiments: isolation of singularities Degree RSCube S 2 (Sub-resultant) S 4 in S 4 with of p(x, y, z) R 2 in [ 1, 1] 2 [ 1, 1] 2 R R + curve tracking 5 3.1 0.05 24.8 1.25 6 32 0.50 8.40 2.36 7 254 4.44 43.8 4.13 8 1898 37.9 70.2 5.91 9 9346 23.1 45.6 5.30 Average running times in seconds for 5 random dense polynomials of degree d, bitsize8 Symbolic method becomes intractable (RSCube via triangular decomposition by F. Rouillier) Subdivision: working in 4D is more expensive than in 2D Subdivision: tracking the curve is e cient 14

15 template

16 template

17 template

18 template