M2R IVR, October 12th Mathematical tools 1 - Session 2

Size: px
Start display at page:

Download "M2R IVR, October 12th Mathematical tools 1 - Session 2"

Transcription

1 Mathematical tools 1 Session 2 Franck HÉTROY M2R IVR, October 12th 2006

2 First session reminder Basic definitions Motivation: interpolate or approximate an ordered list of 2D points P i n Definition: spline curve: C(t) = F i (t)p i Interesting properties: n Normality: t, F i (t) = 1 (affine/barycentric invariance) i=0 i=0 Positivity: t, i, F i (t) 0 (convex hull) Regularity: i, F i has a single max (oscillation regularization) Locality: i, F i has compact support Parametric/geometric continuity

3 Interpolation and approximation 1 Basic definitions 2 Wavelets and multiresolution

4 Decomposing a spline We will look for uniform splines: C(t) = n n 1 F i (t)p i = C i (n.t i) i=0 i=0 with C i : [0, 1] R 3 polynomial in t each C i corresponds to a curve segment, defined for t [ i n, i+1 n ] = [t i, t i+1 ]

5 Interpolation splines Which parametric continuity? C 0 control polygon! C 1 : shared derivatives D i 4 conditions for each curve segment: C i (0) = P i C i (1) = P i+1 C i (0) = D i C i (1) = D i+1 C i = degree 3 polynomial: C i (t) = A + Bt + Ct 2 + Dt 3

6 Cubic Hermite splines (first order) If D i are given, C i (t) is uniquely determined: C i (t) = H 0 (t)p i + H 1 (t)p i+1 + H 2 (t)d i + H 3 (t)d i+1 H 0 (t) = 1 3t 2 + 2t 3 H 1 (t) = 3t 2 2t 3 H 2 (t) = t 2t 2 + t 3 H 3 (t) = t 2 + t 3 Problem: how do we compute D i values?

7 Cubic Hermite splines (second order) First idea: reinforce continuity C 2 continuity conditions: C i (0) = P i C i (1) = P i+1 C i (1) = C i+1 (0) C i (1) = C i+1 (0) if we have m + 1 points P i (i.e. m curve segments), we have 4m unknown values (A, B, C, D for each C i ) and 4(m 1) + 2 equations (only 2 for the last segment) we need 2 other conditions Usually, we set { C 0 (0) = 0 C n 1 = 0

8 Hermite splines (second order) Property For a Hermite spline of order 2, the D i values are given by: D D n = 3(P 1 P 0 ) 3(P 2 P 0 ) (P n P n 2 ) 3(P n P n 1 ) Proof. 4 equations for each C i C i is degree 3. Let C i (t) = a i + b i t + c i t 2 + d i t 3. Solve the previous equations.

9 Cardinal spline Other idea: we want D i parallel to P i 1 P i+1 (no condition on second derivative) conditions: C i (0) = P i C i (1) = P i+1 C i (1) = C i+1 (0) C i (0) = k(p i+1 P i 1 ) (same k for all derivatives) each segment curve depends on 4 points: P i 1, P i, P i+1 and P i+2

10 Cardinal spline Property C i (t) = (t 3 t 2 t 1)M card P i 1 P i P i+1 P i+2 Property M card = with k 2 k 2 + k k 2k 3 + k 3 2k k k 0 k A cardinal spline is normal, regular, local of order 4, and C 1 -continous.

11 Approximation splines Historical background: early 1960s: first numerically-controlled machines in automotive industry need to design (smooth) curves and surfaces starting from a very few number of 3D points (esp. for coachbuilding) Pierre Bézier (Renault, ): theoretical study and tests, conception of a whole system ( UNISURF ) Paul de Faget de Casteljau (Citroën, ): geometric algorithm Robin Forrest (Univ. Cambridge, 1972): link between both, popularization to know more, see Christophe Rabut s webpage: rabut/bezier/

12 Bézier curves Definition (Bézier curve) i, F i (t) = B n i (t) = C i nt i (1 t) n i (Bernstein polynomials). Remember that n + 1 is the number of control points. Property A Bézier curve is normal, positive, regular and C -continuous. Moreover, it goes through first and last points P 0 and P n. Problems: 1 a Bézier curve is not local 2 the higher the number of control points, the higher the degree of polynomials computation time and numerical stability problems

13 de Casteljau s algorithm How can we compute points on a Bézier curve without doing all the computations? Idea: divide each segment P i P i+1, creating a new point Pi 1 = tp i + (1 t)p i+1, then do the same with segments Pi 1 Pi+1 1, etc. Example: t = 0.4

14 Piecewise Bézier curves Definition (Piecewise Bézier curve) If n = 3m + 1, C(t) = m 1 i=0 C i (m.t i) with i m, C i (t) = B 3 0 (t)p 3i + B 3 1 (t)p 3i+1 + B 3 2 (t)p 3i+2 + B 3 3 (t)p 3i+3. That is to say, C i (t) = (1 t) 3 P 3i + 3(1 t) 2 tp 3i+1 + 3(1 t)t 2 P 3i+2 + t 3 P 3i+3. Property A piecewise Bézier curve is local of order 2, normal, positive, regular and C 0 -continuous. It also goes through points P 3i. Problem: only C 0 -continuous Solution: if i m, P 3i+1 = 2P 3i P 3i 1, then C 1 -continuous That means 1/3 of the points cannot be freely chosen If we want C 2 -continuity, the curve must be global

15 B-splines Goal: normal, positive, regular, local and C 2 -continuous splines Property The functions F i are uniquely determined if we assess: normality: F i (t) = 1 i locality of order 4 each F i is made of 4 curve segments, which are cubic polynomials C 2 -continuity between two successive cubic polynomials

16 B-splines Property C i (t) = (t 3 t 2 t 1)M bspline P i 1 P i P i+1 P i+2 M bspline = with Compare to cardinal splines: pros and cons?

17 Particular cases If P i 1, P i, P i+1 and P i+2 are aligned, then the curve is locally a straight line If P i 1 = P i = P i+1 (triple point), then this point is interpolated by the curve If we want to interpolate first and last points P 0 and P n, we can add extra points P 1 = 6P 0 4P 1 P 2 and P n+1 = 6P n 4P n 1 P n 2

18 B-splines of order k (= degree k 1) Previous were B-splines of order 4/degree 3 (cubic splines) Definition (B-spline of order k, Cox-de Boor recursion formula) F i = B i,k, defined by the following recursive formula: { 1 if ti t < t B i,1 (t) = i+1 0 else Property B i,k (t) = t t i t i+k 1 t i B i,k 1 (t) + t i+k t t i+k t i+1 B i+1,k 1 (t) with i = 0... n, t i [0, 1] and t 0 t1 t n A B-spline of order k is k-local and C k 2 -continuous. Each F i is made of k curve segments, each of them being a polynomial of degree k 1.

19 de Boor s algorithm Generalization of de Casteljau s: construction of points on a B-spline curve What s different: weights used to divide each segment P i P i+1 vary; not all control points are involved, only k + 1 Weights are found with a triangular scheme using Cox-de Boor recursion formula Example Cubic B-spline, 11 control points (n = 10), i, t i = i/10. t = 0.45: we want to compute C(0.45). Cubic 4-local only P 1, P 2, P 3, P 4 involved P 1 a 1 2 P 2 P 3 P 4 1 a 1 2 a a 1 3 a a 1 4 P 1 2 P 1 3 P 1 4 a a 2 3 a 2 4 P 2 3 P 2 4 a a a 3 4 P 3 4

20 de Boor s algorithm Property a j i = t i+k j t t i+k j t i Example Here, a 1 2 = 1 6, a1 3 = 1 2, a1 4 = 5 6, a2 3 = 1 4, a2 4 = 3 4, a3 4 = 1 2.

21 Beta-splines Definition (Beta-spline) C i (t) = (t 3 t 2 t 1)M beta (β 1, β 2 ) P i 1 P i P i+1 P i+2 Generalization of B-splines G k 2 -continuous instead of C k 2 Two parameters β 1 and β 2 : bias and tension, to control slope and curvature

22 N.U.R.B.S. Problem: with these splines we cannot draw some simple curves (e.g. conics, even a circle!) Piecewise polynomials as influence functions are not adequate Example Circle C((0, 0), 1): C(t) = (x(t), y(t)) cannot be represented using polynomials, otherwise x(t) 2 + y(t) 2 = 1 is a polynomial in t C(t) = ( 2t, 1 t2 ) 1+t 2 1+t 2 Idea: rather use rational polynomials

23 N.U.R.B.S. Definition (N.U.R.B.S. of order k) F i (t) = R i,k (t) = w ib i,k (t), n w j B j,k (t) j=1 with w i real numbers (weights, usually 0 what happens if w i = 0?) and B i,k the influence functions of the B-spline of order k having the same control points N.U.R.B.S. stands for Non Uniform Rational B-Spline B-splines are a special case of N.U.R.B.S. : i, w i = 1 R i,k are rational polynomials of degree k 1

24 N.U.R.B.S. Property A N.U.R.B.S. curve of order k is normal, positive, regular, k-local and C k 2 -continuous. Circle: P 4 P 4 P 5 P 6 P 3 P 5 P 3 P 7 P 2 P 1 = P 7 P 6 P 2 P 1 = P 9 P 8 w 2i+1 = 1 w 2i+1 = 1 w 2i = 1 2 w 2i = 2 2

25 Spline surfaces Interpolate or approximate a grid of 3D points P i,j Spline surfaces are constructed by tensor product of spline curves: n m S(t, t ) = F i,j (t, t )P i,j i=0 j=0 If F i,j (t, t ) = F i (t)f j (t ), then isocurves (t = cst or t = cst) are spline curves Same properties as spline curves: normality, regularity, locality, continuity between patches,...

26 See you next week The end!

27 Wavelets and multiresolution Interpolation and approximation 1 2 Wavelets and multiresolution

Interpolation and polynomial approximation Interpolation

Interpolation and polynomial approximation Interpolation Outline Interpolation and polynomial approximation Interpolation Lagrange Cubic Splines Approximation B-Splines 1 Outline Approximation B-Splines We still focus on curves for the moment. 2 3 Pierre Bézier

More information

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016 Computergrafik Matthias Zwicker Universität Bern Herbst 2016 2 Today Curves Introduction Polynomial curves Bézier curves Drawing Bézier curves Piecewise curves Modeling Creating 3D objects How to construct

More information

CMSC427 Parametric curves: Hermite, Catmull-Rom, Bezier

CMSC427 Parametric curves: Hermite, Catmull-Rom, Bezier CMSC427 Parametric curves: Hermite, Catmull-Rom, Bezier Modeling Creating 3D objects How to construct complicated surfaces? Goal Specify objects with few control points Resulting object should be visually

More information

Approximation of Circular Arcs by Parametric Polynomials

Approximation of Circular Arcs by Parametric Polynomials Approximation of Circular Arcs by Parametric Polynomials Emil Žagar Lecture on Geometric Modelling at Charles University in Prague December 6th 2017 1 / 44 Outline Introduction Standard Reprezentations

More information

CSE 167: Lecture 11: Bézier Curves. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2012

CSE 167: Lecture 11: Bézier Curves. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2012 CSE 167: Introduction to Computer Graphics Lecture 11: Bézier Curves Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2012 Announcements Homework project #5 due Nov. 9 th at 1:30pm

More information

Sample Exam 1 KEY NAME: 1. CS 557 Sample Exam 1 KEY. These are some sample problems taken from exams in previous years. roughly ten questions.

Sample Exam 1 KEY NAME: 1. CS 557 Sample Exam 1 KEY. These are some sample problems taken from exams in previous years. roughly ten questions. Sample Exam 1 KEY NAME: 1 CS 557 Sample Exam 1 KEY These are some sample problems taken from exams in previous years. roughly ten questions. Your exam will have 1. (0 points) Circle T or T T Any curve

More information

Bernstein polynomials of degree N are defined by

Bernstein polynomials of degree N are defined by SEC. 5.5 BÉZIER CURVES 309 5.5 Bézier Curves Pierre Bézier at Renault and Paul de Casteljau at Citroën independently developed the Bézier curve for CAD/CAM operations, in the 1970s. These parametrically

More information

Lecture 23: Hermite and Bezier Curves

Lecture 23: Hermite and Bezier Curves Lecture 23: Hermite and Bezier Curves November 16, 2017 11/16/17 CSU CS410 Fall 2017, Ross Beveridge & Bruce Draper 1 Representing Curved Objects So far we ve seen Polygonal objects (triangles) and Spheres

More information

Bézier Curves and Splines

Bézier Curves and Splines CS-C3100 Computer Graphics Bézier Curves and Splines Majority of slides from Frédo Durand vectorportal.com CS-C3100 Fall 2017 Lehtinen Before We Begin Anything on your mind concerning Assignment 1? CS-C3100

More information

Lecture 20: Bezier Curves & Splines

Lecture 20: Bezier Curves & Splines Lecture 20: Bezier Curves & Splines December 6, 2016 12/6/16 CSU CS410 Bruce Draper & J. Ross Beveridge 1 Review: The Pen Metaphore Think of putting a pen to paper Pen position described by time t Seeing

More information

Curves, Surfaces and Segments, Patches

Curves, Surfaces and Segments, Patches Curves, Surfaces and Segments, atches The University of Texas at Austin Conics: Curves and Quadrics: Surfaces Implicit form arametric form Rational Bézier Forms and Join Continuity Recursive Subdivision

More information

Lagrange Interpolation and Neville s Algorithm. Ron Goldman Department of Computer Science Rice University

Lagrange Interpolation and Neville s Algorithm. Ron Goldman Department of Computer Science Rice University Lagrange Interpolation and Neville s Algorithm Ron Goldman Department of Computer Science Rice University Tension between Mathematics and Engineering 1. How do Mathematicians actually represent curves

More information

CGT 511. Curves. Curves. Curves. What is a curve? 2) A continuous map of a 1D space to an nd space

CGT 511. Curves. Curves. Curves. What is a curve? 2) A continuous map of a 1D space to an nd space Curves CGT 511 Curves Bedřich Beneš, Ph.D. Purdue University Department of Computer Graphics Technology What is a curve? Mathematical ldefinition i i is a bit complex 1) The continuous o image of an interval

More information

Introduction to Computer Graphics. Modeling (1) April 13, 2017 Kenshi Takayama

Introduction to Computer Graphics. Modeling (1) April 13, 2017 Kenshi Takayama Introduction to Computer Graphics Modeling (1) April 13, 2017 Kenshi Takayama Parametric curves X & Y coordinates defined by parameter t ( time) Example: Cycloid x t = t sin t y t = 1 cos t Tangent (aka.

More information

Arsène Pérard-Gayot (Slides by Piotr Danilewski)

Arsène Pérard-Gayot (Slides by Piotr Danilewski) Computer Graphics - Splines - Arsène Pérard-Gayot (Slides by Piotr Danilewski) CURVES Curves Explicit y = f x f: R R γ = x, f x y = 1 x 2 Implicit F x, y = 0 F: R 2 R γ = x, y : F x, y = 0 x 2 + y 2 =

More information

Curves. Hakan Bilen University of Edinburgh. Computer Graphics Fall Some slides are courtesy of Steve Marschner and Taku Komura

Curves. Hakan Bilen University of Edinburgh. Computer Graphics Fall Some slides are courtesy of Steve Marschner and Taku Komura Curves Hakan Bilen University of Edinburgh Computer Graphics Fall 2017 Some slides are courtesy of Steve Marschner and Taku Komura How to create a virtual world? To compose scenes We need to define objects

More information

Introduction to Curves. Modelling. 3D Models. Points. Lines. Polygons Defined by a sequence of lines Defined by a list of ordered points

Introduction to Curves. Modelling. 3D Models. Points. Lines. Polygons Defined by a sequence of lines Defined by a list of ordered points Introduction to Curves Modelling Points Defined by 2D or 3D coordinates Lines Defined by a set of 2 points Polygons Defined by a sequence of lines Defined by a list of ordered points 3D Models Triangular

More information

The Essentials of CAGD

The Essentials of CAGD The Essentials of CAGD Chapter 4: Bézier Curves: Cubic and Beyond Gerald Farin & Dianne Hansford CRC Press, Taylor & Francis Group, An A K Peters Book www.farinhansford.com/books/essentials-cagd c 2000

More information

1.1. The analytical denition. Denition. The Bernstein polynomials of degree n are dened analytically:

1.1. The analytical denition. Denition. The Bernstein polynomials of degree n are dened analytically: DEGREE REDUCTION OF BÉZIER CURVES DAVE MORGAN Abstract. This paper opens with a description of Bézier curves. Then, techniques for the degree reduction of Bézier curves, along with a discussion of error

More information

Cubic Splines; Bézier Curves

Cubic Splines; Bézier Curves Cubic Splines; Bézier Curves 1 Cubic Splines piecewise approximation with cubic polynomials conditions on the coefficients of the splines 2 Bézier Curves computer-aided design and manufacturing MCS 471

More information

Computer Aided Design. B-Splines

Computer Aided Design. B-Splines 1 Three useful references : R. Bartels, J.C. Beatty, B. A. Barsky, An introduction to Splines for use in Computer Graphics and Geometric Modeling, Morgan Kaufmann Publications,1987 JC.Léon, Modélisation

More information

Q( t) = T C T =! " t 3,t 2,t,1# Q( t) T = C T T T. Announcements. Bezier Curves and Splines. Review: Third Order Curves. Review: Cubic Examples

Q( t) = T C T =!  t 3,t 2,t,1# Q( t) T = C T T T. Announcements. Bezier Curves and Splines. Review: Third Order Curves. Review: Cubic Examples Bezier Curves an Splines December 1, 2015 Announcements PA4 ue one week from toay Submit your most fun test cases, too! Infinitely thin planes with parallel sies μ oesn t matter Term Paper ue one week

More information

Chapter 1 Numerical approximation of data : interpolation, least squares method

Chapter 1 Numerical approximation of data : interpolation, least squares method Chapter 1 Numerical approximation of data : interpolation, least squares method I. Motivation 1 Approximation of functions Evaluation of a function Which functions (f : R R) can be effectively evaluated

More information

MA 323 Geometric Modelling Course Notes: Day 07 Parabolic Arcs

MA 323 Geometric Modelling Course Notes: Day 07 Parabolic Arcs MA 323 Geometric Modelling Course Notes: Day 07 Parabolic Arcs David L. Finn December 9th, 2004 We now start considering the basic curve elements to be used throughout this course; polynomial curves and

More information

MAT300/500 Programming Project Spring 2019

MAT300/500 Programming Project Spring 2019 MAT300/500 Programming Project Spring 2019 Please submit all project parts on the Moodle page for MAT300 or MAT500. Due dates are listed on the syllabus and the Moodle site. You should include all neccessary

More information

Home Page. Title Page. Contents. Bezier Curves. Milind Sohoni sohoni. Page 1 of 27. Go Back. Full Screen. Close.

Home Page. Title Page. Contents. Bezier Curves. Milind Sohoni  sohoni. Page 1 of 27. Go Back. Full Screen. Close. Bezier Curves Page 1 of 27 Milind Sohoni http://www.cse.iitb.ac.in/ sohoni Recall Lets recall a few things: 1. f : [0, 1] R is a function. 2. f 0,..., f i,..., f n are observations of f with f i = f( i

More information

Pythagorean-hodograph curves

Pythagorean-hodograph curves 1 / 24 Pythagorean-hodograph curves V. Vitrih Raziskovalni matematični seminar 20. 2. 2012 2 / 24 1 2 3 4 5 3 / 24 Let r : [a, b] R 2 be a planar polynomial parametric curve ( ) x(t) r(t) =, y(t) where

More information

Visualizing Bezier s curves: some applications of Dynamic System Geogebra

Visualizing Bezier s curves: some applications of Dynamic System Geogebra Visualizing Bezier s curves: some applications of Dynamic System Geogebra Francisco Regis Vieira Alves Instituto Federal de Educação, Ciência e Tecnologia do Estado do Ceará IFCE. Brazil fregis@ifce.edu.br

More information

Curve Fitting: Fertilizer, Fonts, and Ferraris

Curve Fitting: Fertilizer, Fonts, and Ferraris Curve Fitting: Fertilizer, Fonts, and Ferraris Is that polynomial a model or just a pretty curve? 22 nd CMC3-South Annual Conference March 3, 2007 Anaheim, CA Katherine Yoshiwara Bruce Yoshiwara Los Angeles

More information

On-Line Geometric Modeling Notes

On-Line Geometric Modeling Notes On-Line Geometric Modeling Notes CUBIC BÉZIER CURVES Kenneth I. Joy Visualization and Graphics Research Group Department of Computer Science University of California, Davis Overview The Bézier curve representation

More information

An O(h 2n ) Hermite approximation for conic sections

An O(h 2n ) Hermite approximation for conic sections An O(h 2n ) Hermite approximation for conic sections Michael Floater SINTEF P.O. Box 124, Blindern 0314 Oslo, NORWAY November 1994, Revised March 1996 Abstract. Given a segment of a conic section in the

More information

Outline. 1 Interpolation. 2 Polynomial Interpolation. 3 Piecewise Polynomial Interpolation

Outline. 1 Interpolation. 2 Polynomial Interpolation. 3 Piecewise Polynomial Interpolation Outline Interpolation 1 Interpolation 2 3 Michael T. Heath Scientific Computing 2 / 56 Interpolation Motivation Choosing Interpolant Existence and Uniqueness Basic interpolation problem: for given data

More information

Curvature variation minimizing cubic Hermite interpolants

Curvature variation minimizing cubic Hermite interpolants Curvature variation minimizing cubic Hermite interpolants Gašper Jaklič a,b, Emil Žagar,a a FMF and IMFM, University of Ljubljana, Jadranska 19, Ljubljana, Slovenia b PINT, University of Primorska, Muzejski

More information

A Relationship Between Minimum Bending Energy and Degree Elevation for Bézier Curves

A Relationship Between Minimum Bending Energy and Degree Elevation for Bézier Curves A Relationship Between Minimum Bending Energy and Degree Elevation for Bézier Curves David Eberly, Geometric Tools, Redmond WA 9852 https://www.geometrictools.com/ This work is licensed under the Creative

More information

Numerical Methods I: Interpolation (cont ed)

Numerical Methods I: Interpolation (cont ed) 1/20 Numerical Methods I: Interpolation (cont ed) Georg Stadler Courant Institute, NYU stadler@cims.nyu.edu November 30, 2017 Interpolation Things you should know 2/20 I Lagrange vs. Hermite interpolation

More information

Geometric Lagrange Interpolation by Planar Cubic Pythagorean-hodograph Curves

Geometric Lagrange Interpolation by Planar Cubic Pythagorean-hodograph Curves Geometric Lagrange Interpolation by Planar Cubic Pythagorean-hodograph Curves Gašper Jaklič a,c, Jernej Kozak a,b, Marjeta Krajnc b, Vito Vitrih c, Emil Žagar a,b, a FMF, University of Ljubljana, Jadranska

More information

Interpolation and polynomial approximation Interpolation

Interpolation and polynomial approximation Interpolation Outline Interpolation and polynomial approximation Interpolation Lagrange Cubic Approximation Bézier curves B- 1 Some vocabulary (again ;) Control point : Geometric point that serves as support to the

More information

EXPLICIT ERROR BOUND FOR QUADRATIC SPLINE APPROXIMATION OF CUBIC SPLINE

EXPLICIT ERROR BOUND FOR QUADRATIC SPLINE APPROXIMATION OF CUBIC SPLINE J. KSIAM Vol.13, No.4, 257 265, 2009 EXPLICIT ERROR BOUND FOR QUADRATIC SPLINE APPROXIMATION OF CUBIC SPLINE YEON SOO KIM 1 AND YOUNG JOON AHN 2 1 DEPT OF MATHEMATICS, AJOU UNIVERSITY, SUWON, 442 749,

More information

Smooth Path Generation Based on Bézier Curves for Autonomous Vehicles

Smooth Path Generation Based on Bézier Curves for Autonomous Vehicles Smooth Path Generation Based on Bézier Curves for Autonomous Vehicles Ji-wung Choi, Renwick E. Curry, Gabriel Hugh Elkaim Abstract In this paper we present two path planning algorithms based on Bézier

More information

In practice one often meets a situation where the function of interest, f(x), is only represented by a discrete set of tabulated points,

In practice one often meets a situation where the function of interest, f(x), is only represented by a discrete set of tabulated points, 1 Interpolation 11 Introduction In practice one often meets a situation where the function of interest, f(x), is only represented by a discrete set of tabulated points, {x i, y i = f(x i ) i = 1 n, obtained,

More information

Keyframing. CS 448D: Character Animation Prof. Vladlen Koltun Stanford University

Keyframing. CS 448D: Character Animation Prof. Vladlen Koltun Stanford University Keyframing CS 448D: Character Animation Prof. Vladlen Koltun Stanford University Keyframing in traditional animation Master animator draws key frames Apprentice fills in the in-between frames Keyframing

More information

Curves - Foundation of Free-form Surfaces

Curves - Foundation of Free-form Surfaces Crves - Fondation of Free-form Srfaces Why Not Simply Use a Point Matrix to Represent a Crve? Storage isse and limited resoltion Comptation and transformation Difficlties in calclating the intersections

More information

Path Planning based on Bézier Curve for Autonomous Ground Vehicles

Path Planning based on Bézier Curve for Autonomous Ground Vehicles Path Planning based on Bézier Curve for Autonomous Ground Vehicles Ji-wung Choi Computer Engineering Department University of California Santa Cruz Santa Cruz, CA95064, US jwchoi@soe.ucsc.edu Renwick Curry

More information

Reading. w Foley, Section 11.2 Optional

Reading. w Foley, Section 11.2 Optional Parametric Curves w Foley, Section.2 Optional Reading w Bartels, Beatty, and Barsky. An Introduction to Splines for use in Computer Graphics and Geometric Modeling, 987. w Farin. Curves and Surfaces for

More information

G-code and PH curves in CNC Manufacturing

G-code and PH curves in CNC Manufacturing G-code and PH curves in CNC Manufacturing Zbyněk Šír Institute of Applied Geometry, JKU Linz The research was supported through grant P17387-N12 of the Austrian Science Fund (FWF). Talk overview Motivation

More information

GEOMETRIC MODELLING WITH BETA-FUNCTION B-SPLINES, I: PARAMETRIC CURVES

GEOMETRIC MODELLING WITH BETA-FUNCTION B-SPLINES, I: PARAMETRIC CURVES International Journal of Pure and Applied Mathematics Volume 65 No. 3 2010, 339-360 GEOMETRIC MODELLING WITH BETA-FUNCTION B-SPLINES, I: PARAMETRIC CURVES Arne Lakså 1, Børre Bang 2, Lubomir T. Dechevsky

More information

Rational Bézier Patch Differentiation using the Rational Forward Difference Operator

Rational Bézier Patch Differentiation using the Rational Forward Difference Operator Rational Bézier Patch Differentiation using the Rational Forward Difference Operator Xianming Chen, Richard F. Riesenfeld, Elaine Cohen School of Computing, University of Utah Abstract This paper introduces

More information

Computer Graphics Keyframing and Interpola8on

Computer Graphics Keyframing and Interpola8on Computer Graphics Keyframing and Interpola8on This Lecture Keyframing and Interpola2on two topics you are already familiar with from your Blender modeling and anima2on of a robot arm Interpola2on linear

More information

Scientific Computing: An Introductory Survey

Scientific Computing: An Introductory Survey Scientific Computing: An Introductory Survey Chapter 7 Interpolation Prof. Michael T. Heath Department of Computer Science University of Illinois at Urbana-Champaign Copyright c 2002. Reproduction permitted

More information

Nonlinear Means in Geometric Modeling

Nonlinear Means in Geometric Modeling Nonlinear Means in Geometric Modeling Michael S. Floater SINTEF P. O. Box 124 Blindern, 0314 Oslo, Norway E-mail: Michael.Floater@math.sintef.no Charles A. Micchelli IBM Corporation T.J. Watson Research

More information

MA 323 Geometric Modelling Course Notes: Day 11 Barycentric Coordinates and de Casteljau s algorithm

MA 323 Geometric Modelling Course Notes: Day 11 Barycentric Coordinates and de Casteljau s algorithm MA 323 Geometric Modelling Course Notes: Day 11 Barycentric Coordinates and de Casteljau s algorithm David L. Finn December 16th, 2004 Today, we introduce barycentric coordinates as an alternate to using

More information

University of Houston, Department of Mathematics Numerical Analysis, Fall 2005

University of Houston, Department of Mathematics Numerical Analysis, Fall 2005 4 Interpolation 4.1 Polynomial interpolation Problem: LetP n (I), n ln, I := [a,b] lr, be the linear space of polynomials of degree n on I, P n (I) := { p n : I lr p n (x) = n i=0 a i x i, a i lr, 0 i

More information

The Bernstein polynomial basis: a centennial retrospective

The Bernstein polynomial basis: a centennial retrospective The Bernstein polynomial basis: a centennial retrospective a sociological study in the evolution of mathematical ideas Rida T. Farouki Department of Mechanical & Aerospace Engineering, University of California,

More information

Optimized Compact-support Interpolation Kernels

Optimized Compact-support Interpolation Kernels Optimized Compact-support Interpolation Kernels Ramtin Madani, Student Member, IEEE, Ali Ayremlou, Student Member, IEEE, Arash Amini, Farrokh Marvasti, Senior Member, IEEE, Abstract In this paper, we investigate

More information

Geometric Interpolation by Planar Cubic Polynomials

Geometric Interpolation by Planar Cubic Polynomials 1 / 20 Geometric Interpolation by Planar Cubic Polynomials Jernej Kozak, Marjeta Krajnc Faculty of Mathematics and Physics University of Ljubljana Institute of Mathematics, Physics and Mechanics Avignon,

More information

Curvature of Digital Curves

Curvature of Digital Curves Curvature of Digital Curves Left: a symmetric curve (i.e., results should also be symmetric ). Right: high-curvature pixels should correspond to visual perception of corners. Page 1 March 2005 Categories

More information

Computational Physics

Computational Physics Interpolation, Extrapolation & Polynomial Approximation Lectures based on course notes by Pablo Laguna and Kostas Kokkotas revamped by Deirdre Shoemaker Spring 2014 Introduction In many cases, a function

More information

Lecture 20: Lagrange Interpolation and Neville s Algorithm. for I will pass through thee, saith the LORD. Amos 5:17

Lecture 20: Lagrange Interpolation and Neville s Algorithm. for I will pass through thee, saith the LORD. Amos 5:17 Lecture 20: Lagrange Interpolation and Neville s Algorithm for I will pass through thee, saith the LORD. Amos 5:17 1. Introduction Perhaps the easiest way to describe a shape is to select some points on

More information

EXISTENCE OF SET-INTERPOLATING AND ENERGY- MINIMIZING CURVES

EXISTENCE OF SET-INTERPOLATING AND ENERGY- MINIMIZING CURVES EXISTENCE OF SET-INTERPOLATING AND ENERGY- MINIMIZING CURVES JOHANNES WALLNER Abstract. We consider existence of curves c : [0, 1] R n which minimize an energy of the form c (k) p (k = 1, 2,..., 1 < p

More information

A Variational Model for Data Fitting on Manifolds by Minimizing the Acceleration of a Bézier Curve

A Variational Model for Data Fitting on Manifolds by Minimizing the Acceleration of a Bézier Curve A Variational Model for Data Fitting on Manifolds by Minimizing the Acceleration of a Bézier Curve Ronny Bergmann a Technische Universität Chemnitz Kolloquium, Department Mathematik, FAU Erlangen-Nürnberg,

More information

CS 536 Computer Graphics NURBS Drawing Week 4, Lecture 6

CS 536 Computer Graphics NURBS Drawing Week 4, Lecture 6 CS 536 Computer Graphics NURBS Drawing Week 4, Lecture 6 David Breen, William Regli and Maxim Peysakhov Department of Computer Science Drexel University 1 Outline Conic Sections via NURBS Knot insertion

More information

12. Lines in R 3. through P 0 and is parallel to v is written parametrically as a function of t: Using vector notation, the same line is written

12. Lines in R 3. through P 0 and is parallel to v is written parametrically as a function of t: Using vector notation, the same line is written 12. Lines in R 3 Given a point P 0 = (x 0, y 0, z 0 ) and a direction vector v 1 = a, b, c in R 3, a line L that passes through P 0 and is parallel to v is written parametrically as a function of t: x(t)

More information

CONTROL POLYGONS FOR CUBIC CURVES

CONTROL POLYGONS FOR CUBIC CURVES On-Line Geometric Modeling Notes CONTROL POLYGONS FOR CUBIC CURVES Kenneth I. Joy Visualization and Graphics Research Group Department of Computer Science University of California, Davis Overview B-Spline

More information

Some notes on Chapter 8: Polynomial and Piecewise-polynomial Interpolation

Some notes on Chapter 8: Polynomial and Piecewise-polynomial Interpolation Some notes on Chapter 8: Polynomial and Piecewise-polynomial Interpolation See your notes. 1. Lagrange Interpolation (8.2) 1 2. Newton Interpolation (8.3) different form of the same polynomial as Lagrange

More information

1 f(u)b n i (u)du, (1.1)

1 f(u)b n i (u)du, (1.1) AMRX Applied Mathematics Research express 25, No. 4 On a Modified Durrmeyer-Bernstein Operator and Applications Germain E. Randriambelosoa 1 Introduction Durrmeyer [6] has introduced a Bernstein-type operator

More information

Curve Fitting. 1 Interpolation. 2 Composite Fitting. 1.1 Fitting f(x) 1.2 Hermite interpolation. 2.1 Parabolic and Cubic Splines

Curve Fitting. 1 Interpolation. 2 Composite Fitting. 1.1 Fitting f(x) 1.2 Hermite interpolation. 2.1 Parabolic and Cubic Splines Curve Fitting Why do we want to curve fit? In general, we fit data points to produce a smooth representation of the system whose response generated the data points We do this for a variety of reasons 1

More information

Characterization of Planar Cubic Alternative curve. Perak, M sia. M sia. Penang, M sia.

Characterization of Planar Cubic Alternative curve. Perak, M sia. M sia. Penang, M sia. Characterization of Planar Cubic Alternative curve. Azhar Ahmad α, R.Gobithasan γ, Jamaluddin Md.Ali β, α Dept. of Mathematics, Sultan Idris University of Education, 59 Tanjung Malim, Perak, M sia. γ Dept

More information

Interpolation. Escuela de Ingeniería Informática de Oviedo. (Dpto. de Matemáticas-UniOvi) Numerical Computation Interpolation 1 / 34

Interpolation. Escuela de Ingeniería Informática de Oviedo. (Dpto. de Matemáticas-UniOvi) Numerical Computation Interpolation 1 / 34 Interpolation Escuela de Ingeniería Informática de Oviedo (Dpto. de Matemáticas-UniOvi) Numerical Computation Interpolation 1 / 34 Outline 1 Introduction 2 Lagrange interpolation 3 Piecewise polynomial

More information

CHAPTER 4. Interpolation

CHAPTER 4. Interpolation CHAPTER 4 Interpolation 4.1. Introduction We will cover sections 4.1 through 4.12 in the book. Read section 4.1 in the book on your own. The basic problem of one-dimensional interpolation is this: Given

More information

Continuous Curvature Path Generation Based on Bézier Curves for Autonomous Vehicles

Continuous Curvature Path Generation Based on Bézier Curves for Autonomous Vehicles Continuous Curvature Path Generation Based on Bézier Curves for Autonomous Vehicles Ji-wung Choi, Renwick E. Curry, Gabriel Hugh Elkaim Abstract In this paper we present two path planning algorithms based

More information

Spline Methods Draft. Tom Lyche and Knut Mørken

Spline Methods Draft. Tom Lyche and Knut Mørken Spline Methods Draft Tom Lyche and Knut Mørken 25th April 2003 2 Contents 1 Splines and B-splines an Introduction 3 1.1 Convex combinations and convex hulls..................... 3 1.1.1 Stable computations...........................

More information

Hermite Interpolation with Euclidean Pythagorean Hodograph Curves

Hermite Interpolation with Euclidean Pythagorean Hodograph Curves Hermite Interpolation with Euclidean Pythagorean Hodograph Curves Zbyněk Šír Faculty of Mathematics and Physics, Charles University in Prague Sokolovská 83, 86 75 Praha 8 zbynek.sir@mff.cuni.cz Abstract.

More information

Lecture 10 Polynomial interpolation

Lecture 10 Polynomial interpolation Lecture 10 Polynomial interpolation Weinan E 1,2 and Tiejun Li 2 1 Department of Mathematics, Princeton University, weinan@princeton.edu 2 School of Mathematical Sciences, Peking University, tieli@pku.edu.cn

More information

Spiral spline interpolation to a planar spiral

Spiral spline interpolation to a planar spiral Spiral spline interpolation to a planar spiral Zulfiqar Habib Department of Mathematics and Computer Science, Graduate School of Science and Engineering, Kagoshima University Manabu Sakai Department of

More information

Automatic Control Motion planning

Automatic Control Motion planning Automatic Control Motion planning (luca.bascetta@polimi.it) Politecnico di Milano Dipartimento di Elettronica, Informazione e Bioingegneria Motivations 2 Electric motors are used in many different applications,

More information

Interpolation Theory

Interpolation Theory Numerical Analysis Massoud Malek Interpolation Theory The concept of interpolation is to select a function P (x) from a given class of functions in such a way that the graph of y P (x) passes through the

More information

Scientific Computing

Scientific Computing 2301678 Scientific Computing Chapter 2 Interpolation and Approximation Paisan Nakmahachalasint Paisan.N@chula.ac.th Chapter 2 Interpolation and Approximation p. 1/66 Contents 1. Polynomial interpolation

More information

SPLINE INTERPOLATION

SPLINE INTERPOLATION Spline Background SPLINE INTERPOLATION Problem: high degree interpolating polynomials often have extra oscillations. Example: Runge function f(x = 1 1+4x 2, x [ 1, 1]. 1 1/(1+4x 2 and P 8 (x and P 16 (x

More information

MATH Final Review

MATH Final Review MATH 1592 - Final Review 1 Chapter 7 1.1 Main Topics 1. Integration techniques: Fitting integrands to basic rules on page 485. Integration by parts, Theorem 7.1 on page 488. Guidelines for trigonometric

More information

Geometric meanings of the parameters on rational conic segments

Geometric meanings of the parameters on rational conic segments Science in China Ser. A Mathematics 005 Vol.48 No.9 09 09 Geometric meanings of the parameters on rational conic segments HU Qianqian & WANG Guojin Department of Mathematics, Zhejiang University, Hangzhou

More information

Linear precision for parametric patches Special session on Applications of Algebraic Geometry AMS meeting in Vancouver, 4 October 2008

Linear precision for parametric patches Special session on Applications of Algebraic Geometry AMS meeting in Vancouver, 4 October 2008 Linear precision for parametric patches Special session on Applications of Algebraic Geometry AMS meeting in Vancouver, 4 October 2008 Frank Sottile sottile@math.tamu.edu 1 Overview (With L. Garcia, K.

More information

Curves and Surfaces Represented by Support Function

Curves and Surfaces Represented by Support Function Curves and Surfaces Represented by Support Function Zbyněk Šír Institute of Applied Geometry, JKU Linz (joint research with B. Jüttler and J. Gravesen) The research was supported through grant P17387-N12

More information

MA 323 Geometric Modelling Course Notes: Day 12 de Casteljau s Algorithm and Subdivision

MA 323 Geometric Modelling Course Notes: Day 12 de Casteljau s Algorithm and Subdivision MA 323 Geometric Modelling Course Notes: Day 12 de Casteljau s Algorithm and Subdivision David L. Finn Yesterday, we introduced barycentric coordinates and de Casteljau s algorithm. Today, we want to go

More information

Novel polynomial Bernstein bases and Bézier curves based on a general notion of polynomial blossoming

Novel polynomial Bernstein bases and Bézier curves based on a general notion of polynomial blossoming See discussions, stats, and author profiles for this publication at: https://www.researchgate.net/publication/283943635 Novel polynomial Bernstein bases and Bézier curves based on a general notion of polynomial

More information

Key Words: cardinal B-spline, coefficients, moments, rectangular rule, interpolating quadratic spline, hat function, cubic B-spline.

Key Words: cardinal B-spline, coefficients, moments, rectangular rule, interpolating quadratic spline, hat function, cubic B-spline. M a t h e m a t i c a B a l a n i c a New Series Vol. 24, 2, Fasc.3-4 Splines in Numerical Integration Zlato Udovičić We gave a short review of several results which are related to the role of splines

More information

A Symbolic Derivation of Beta-splines of Arbitrary Order

A Symbolic Derivation of Beta-splines of Arbitrary Order A Symbolic Derivation of Beta-splines of Arbitrary Order GADIEL SEROUSSI Hewlett-Packard Laboratories, 151 Page Mill Road Palo Alto, California 9434 BRIAN A BARSKY Computer Science Division, University

More information

Self-Influencing Interpolation in Groundwater Flow

Self-Influencing Interpolation in Groundwater Flow Self-Influencing Interpolation in Groundwater Flow Carolyn Atwood Whitman College Walla Walla, WA Robert Hildebrand University of Puget Sound Tacoma, WA Andrew Homan Ohio Northern University Ada, OH July

More information

Computing roots of polynomials by quadratic clipping

Computing roots of polynomials by quadratic clipping Computing roots of polynomials by quadratic clipping Michael Bartoň, Bert Jüttler SFB F013, Project 15 Johann Radon Institute for Computational and Applied Mathematics, Linz, Austria e-mail: Michael.Barton@oeaw.ac.at

More information

Interpolation and Deformations A short cookbook

Interpolation and Deformations A short cookbook Interpolation and Deformations A short cookbook 600.445 Fall 2000; Updated: 29 September 205 Linear Interpolation p ρ 2 2 = [ 40 30 20] = 20 T p ρ = [ 0 5 20] = 5 p 3 = ρ3 =? 0?? T [ 20 20 20] T 2 600.445

More information

International Journal of Pure and Applied Mathematics Volume 57 No , GENERALIZED EXPO-RATIONAL B-SPLINES

International Journal of Pure and Applied Mathematics Volume 57 No , GENERALIZED EXPO-RATIONAL B-SPLINES International Journal of Pure and Applied Mathematics Volume 57 No. 6 2009, 833-872 GENERALIZED EXPO-RATIONAL B-SPLINES Lubomir T. Dechevsky 1, Børre Bang 2, Arne Lakså 3 1,2,3 Priority R&D Group for Mathematical

More information

Region Description for Recognition

Region Description for Recognition Region Description for Recognition For object recognition, descriptions of regions in an image have to be compared with descriptions of regions of meaningful objects (models). The general problem of object

More information

Weighted G 1 -Multi-Degree Reduction of Bézier Curves

Weighted G 1 -Multi-Degree Reduction of Bézier Curves Vol. 7, No. 2, 216 Weighted G 1 -Multi-Degree Reduction of Bézier Curves Abedallah Rababah Department of Mathematics, Jordan University of Science and Technology Irbid 2211 Jordan Salisu Ibrahim Department

More information

Geometric Hermite curves with minimum strain energy

Geometric Hermite curves with minimum strain energy R Available online at www.sciencedirect.com Computer Aided Geometric Design 21 (2004) 281 301 www.elsevier.com/locate/cagd Geometric Hermite curves with minimum strain energy Jun-Hai Yong, Fuhua (Frank)

More information

2 The De Casteljau algorithm revisited

2 The De Casteljau algorithm revisited A new geometric algorithm to generate spline curves Rui C. Rodrigues Departamento de Física e Matemática Instituto Superior de Engenharia 3030-199 Coimbra, Portugal ruicr@isec.pt F. Silva Leite Departamento

More information

B-splines and control theory

B-splines and control theory B-splines and control theory Hiroyuki Kano Magnus Egerstedt Hiroaki Nakata Clyde F. Martin Abstract In this paper some of the relationships between B-splines and linear control theory is examined. In particular,

More information

From Data To Functions Howdowegofrom. Basis Expansions From multiple linear regression: The Monomial Basis. The Monomial Basis

From Data To Functions Howdowegofrom. Basis Expansions From multiple linear regression: The Monomial Basis. The Monomial Basis From Data To Functions Howdowegofrom Basis Expansions From multiple linear regression: data to functions? Or if there is curvature: y i = β 0 + x 1i β 1 + x 2i β 2 + + ɛ i y i = β 0 + x i β 1 + xi 2 β

More information

Extrapolation Methods for Approximating Arc Length and Surface Area

Extrapolation Methods for Approximating Arc Length and Surface Area Extrapolation Methods for Approximating Arc Length and Surface Area Michael S. Floater, Atgeirr F. Rasmussen and Ulrich Reif March 2, 27 Abstract A well-known method of estimating the length of a parametric

More information

Engineering 7: Introduction to computer programming for scientists and engineers

Engineering 7: Introduction to computer programming for scientists and engineers Engineering 7: Introduction to computer programming for scientists and engineers Interpolation Recap Polynomial interpolation Spline interpolation Regression and Interpolation: learning functions from

More information

Function Approximation

Function Approximation 1 Function Approximation This is page i Printer: Opaque this 1.1 Introduction In this chapter we discuss approximating functional forms. Both in econometric and in numerical problems, the need for an approximating

More information