Remark. Jacobs University Visualization and Computer Graphics Lab : ESM4A - Numerical Methods 331

Similar documents
Derivative. Bernstein polynomials: Jacobs University Visualization and Computer Graphics Lab : ESM4A - Numerical Methods 313

Cubic spline interpolation

Bézier Splines. B-Splines. B-Splines. CS 475 / CS 675 Computer Graphics. Lecture 14 : Modelling Curves 3 B-Splines. n i t i 1 t n i. J n,i.

CS 475 / CS Computer Graphics. Modelling Curves 3 - B-Splines

08 - Designing Approximating Curves

CS130 : Computer Graphics Curves (cont.) Tamar Shinar Computer Science & Engineering UC Riverside

Computer Graphics Curves and Surfaces. Matthias Teschner

Design considerations

(Spline, Bezier, B-Spline)

Interactive Graphics. Lecture 9: Introduction to Spline Curves. Interactive Graphics Lecture 9: Slide 1

Rational Bezier Curves

Need for Parametric Equations

Central issues in modelling

Splines. Parameterization of a Curve. Curve Representations. Roller coaster. What Do We Need From Curves in Computer Graphics? Modeling Complex Shapes

3D Modeling Parametric Curves & Surfaces. Shandong University Spring 2013

Properties of Blending Functions

3D Modeling Parametric Curves & Surfaces

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

Curves and Surfaces 1

Parametric Curves. University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell

Important Properties of B-spline Basis Functions

8 Piecewise Polynomial Interpolation

2D Spline Curves. CS 4620 Lecture 13

Bezier Curves, B-Splines, NURBS

Parametric Curves. University of Texas at Austin CS384G - Computer Graphics

OUTLINE. Quadratic Bezier Curves Cubic Bezier Curves

An introduction to interpolation and splines

Advanced Graphics. Beziers, B-splines, and NURBS. Alex Benton, University of Cambridge Supported in part by Google UK, Ltd

Rational Bezier Surface

Lecture IV Bézier Curves

Representing Curves Part II. Foley & Van Dam, Chapter 11

A Practical Review of Uniform B-Splines

Natural Quartic Spline

A story about Non Uniform Rational B-Splines. E. Shcherbakov

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

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

Further Graphics. Bezier Curves and Surfaces. Alex Benton, University of Cambridge Supported in part by Google UK, Ltd

Computergrafik. Matthias Zwicker. Herbst 2010

Polynomials tend to oscillate (wiggle) a lot, even when our true function does not.

Computational Physics PHYS 420

Lecture 25: Bezier Subdivision. And he took unto him all these, and divided them in the midst, and laid each piece one against another: Genesis 15:10

Lecture 9: Introduction to Spline Curves

ME 261: Numerical Analysis Lecture-12: Numerical Interpolation

B-Spline Polynomials. B-Spline Polynomials. Uniform Cubic B-Spline Curves CS 460. Computer Graphics

Handout 4 - Interpolation Examples

lecture 10: B-Splines

Interpolation - 2D mapping Tutorial 1: triangulation

2D Spline Curves. CS 4620 Lecture 18

Spline Morphing. CG software practical course in the IWR. Carl Friedrich Bolz. Carl Friedrich Bolz

Consider functions such that then satisfies these properties: So is represented by the cubic polynomials on on and on.

Designing by a Quadratic Trigonometric Spline with Point and Interval Shape Control

CSE 167: Introduction to Computer Graphics Lecture #11: Bezier Curves. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2016

Sung-Eui Yoon ( 윤성의 )

B(asis) Splines. Ashish Myles CISE, UF

Curves and Surfaces Computer Graphics I Lecture 9

Mar. 20 Math 2335 sec 001 Spring 2014

Until now we have worked with flat entities such as lines and flat polygons. Fit well with graphics hardware Mathematically simple

Engineering Analysis ENG 3420 Fall Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00

Intro to Modeling Modeling in 3D

Isoparametric Curve of Quadratic F-Bézier Curve

COMPUTER AIDED GEOMETRIC DESIGN. Thomas W. Sederberg

Intro to Curves Week 1, Lecture 2

Computer Graphics Splines and Curves

A MATRIX FORMULATION OF THE CUBIC BÉZIER CURVE

Parametric curves. Brian Curless CSE 457 Spring 2016

CS 536 Computer Graphics Intro to Curves Week 1, Lecture 2

Objects 2: Curves & Splines Christian Miller CS Fall 2011

Surfaces for CAGD. FSP Tutorial. FSP-Seminar, Graz, November

The Free-form Surface Modelling System

Interpolation by Spline Functions

Curve and Surface Basics

CS 450 Numerical Analysis. Chapter 7: Interpolation

Computer Graphics. Curves and Surfaces. Hermite/Bezier Curves, (B-)Splines, and NURBS. By Ulf Assarsson

Curves and Surfaces Computer Graphics I Lecture 10

Introduction to Computer Graphics

Curves. Computer Graphics CSE 167 Lecture 11

Intro to Curves Week 4, Lecture 7

Quasi-Quartic Trigonometric Bézier Curves and Surfaces with Shape Parameters

Rendering Curves and Surfaces. Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico

COMPUTER AIDED ENGINEERING DESIGN (BFF2612)

MA 323 Geometric Modelling Course Notes: Day 14 Properties of Bezier Curves

Review of Tuesday. ECS 175 Chapter 3: Object Representation

8 Project # 2: Bézier curves

Parametric curves. Reading. Curves before computers. Mathematical curve representation. CSE 457 Winter Required:

February 2017 (1/20) 2 Piecewise Polynomial Interpolation 2.2 (Natural) Cubic Splines. MA378/531 Numerical Analysis II ( NA2 )

15.10 Curve Interpolation using Uniform Cubic B-Spline Curves. CS Dept, UK

Second Triangular Hermite Spline Curves and Its Application

Parametric Surfaces. Michael Kazhdan ( /657) HB , FvDFH 11.2

LECTURE #6. Geometric Modelling for Engineering Applications. Geometric modeling for engineering applications

American International Journal of Research in Science, Technology, Engineering & Mathematics

Computer Graphics Spline and Surfaces

CSE 167: Introduction to Computer Graphics Lecture 12: Bézier Curves. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2013

Parameterization. Michael S. Floater. November 10, 2011

Unit 1 Day 4 Notes Piecewise Functions

On an approach for cubic Bézier interpolation

Justify all your answers and write down all important steps. Unsupported answers will be disregarded.

CHAIKIN S ALGORITHMS FOR CURVES

Natural Numbers and Integers. Big Ideas in Numerical Methods. Overflow. Real Numbers 29/07/2011. Taking some ideas from NM course a little further

and the crooked shall be made straight, and the rough ways shall be made smooth; Luke 3:5

Curves and Surfaces for Computer-Aided Geometric Design

Transcription:

Remark Reconsidering the motivating example, we observe that the derivatives are typically not given by the problem specification. However, they can be estimated in a pre-processing step. A good estimate for derivative d i can be obtained by fitting an interpolating quadratic polynomial curve through points p i-1, p i, and p i+1 at knots u i-1, u i, and u i+1 and evaluating the derivative of the interpolating polynomial at u i. 120202: ESM4A - Numerical Methods 331

Summary Bézier curves converge towards equidistantly sampled functions, but do not fulfill interpolation conditions. Hermite interpolation interpolates function values and derivatives. Using interpolated derivatives up to a certain order, one can generate piecewise polynomial curves with continuity at their stitches. Piecewise Hermite interpolation uses Bézier curves for each piece and ensures continuous transitions. Using piecewise interpolation, lower-degree polynomials can be used. Lower-degree polynomials produce less oscillations. 120202: ESM4A - Numerical Methods 332

4.10 Splines 120202: ESM4A - Numerical Methods 333

Motivation We have seen that piecewise polynomial functions of lower degree tend to have less oscillations. We have further seen that we can generate C 1 - continuous functions using cubic polynomials. C k -continuity for k>1 required higher-order polynomials. Moreover, we always had to fix the derivatives at the stitches. Is there a general, more flexible concept of piecewise polynomial curves ensuring C k -continuity without predefining the derivatives at the stitches? 120202: ESM4A - Numerical Methods 334

Definition A function s(u) with domain [a,b] is called a spline of degree k (or of order k+1), if s(u) є C k-1 [a,b] and there are knots a = u 0 < u 1 < < u m = b such that s is a polynomial of degree k on each sub-interval [u i,u i+1 ] for i = 0,,m-1. 120202: ESM4A - Numerical Methods 335

Linear splines Splines of degree 1 are piecewise linear and continuous. Case m=4: 120202: ESM4A - Numerical Methods 336

Natural splines Natural splines of degree k over interval [a,b] are splines of degree k with Natural cubic spline (degree 3): (u 0,u 1,u 2 ) = (-1,0,1): interpolation conditions 120202: ESM4A - Numerical Methods 337

First derivative: Natural splines Continuity: Second derivative: Continuity: 120202: ESM4A - Numerical Methods 338

Natural splines Natural splines conditions: We obtained 8 linear equations with 8 unknown. Solving the system delivers: 120202: ESM4A - Numerical Methods 339

4.10 B-spline Representation 120202: ESM4A - Numerical Methods 340

Definition A spline in B-spline representation is of the form where N im (u) are basis spline functions of degree m with mimimal support. The nodes c i are called control points. The basis splines N im (u) are called B-splines of degree m. B-splines are splines and, thus, are piecewise polynomial of degree m and C m-1 -continuous. 120202: ESM4A - Numerical Methods 341

B-splines Let (u i ) i be a sequence of knots with u i < u i+1 for all i. We define the B-splines of degree 0 over knot sequence (u i ) i as Recursively, we define the B-splines of degree n over knot sequence (u i ) i as with being a local parameter with respect to the support of N i n-1 (u). 120202: ESM4A - Numerical Methods 342

Local parameter Support: Local parameter with respect to the support of N i n-1 (u): 120202: ESM4A - Numerical Methods 343

Examples n=0: n=1: 120202: ESM4A - Numerical Methods 344

Examples n=1: n=2: 120202: ESM4A - Numerical Methods 345

Applet http://i33www.ira.uka.de/applets/mocca/html/noplugin/ BSplineBasis/AppBSplineBasis/index.html 120202: ESM4A - Numerical Methods 346

Multiple knots The recursion still holds when allowing multiple knots, i.e., when u i = u i+1 = = u i+r, with the convention that N ir (u) = 0 for an (r+1)-fold knot. Example: n=1, u i = u i+1 Discontinuity: B-spline N in (u) with an r-fold knot u i is only C n-r -continuous. 120202: ESM4A - Numerical Methods 347

Multiple knots Example: n=2, u i = u i+1 C 0 -continuous at double knot, but not C 1 -continuous. 120202: ESM4A - Numerical Methods 348

Remark Given a knot sequence u 0,,u 2n with n-fold knots u 0 = = u n = 0 and u n+1 = = u 2n = 1. Then, the recursion formula for N 0n (u),, N nn (u) are for u є [0,1] is equivalent to the recursion formula for Bernstein polynomials. As N 00 (u) = B 00 (u), we obtain N in (u) = B in (u) for i=0,,n and any degree n, i.e., Bernstein polynomials are a special case of B-splines. This directly leads to the fact that Bézier curves are a special case of splines in B-spline representation. 120202: ESM4A - Numerical Methods 349

Properties of B-splines N in (u) is piecewise polynomial of degree n. N in (u) is positive in (u i,u i+n+1 ) and zero outside. N in (u) is right-side continuous. B-splines of degree n form a basis of all splines of degree n over a given knot sequence. B-splines fulfill the partition-of-unity property, i.e., i N in (u) = 1 for u є (u n,u m-n ). 120202: ESM4A - Numerical Methods 350

Properties of splines in B-spline representation Recall: Splines in B-spline representation are, in general, not interpolating the control points. They do not even interpolate the endpoints. As B-splines are non-negative and have the partitionof-unity property, the spline curve in B-spline representation lies in the convex hull of the control polygon. 120202: ESM4A - Numerical Methods 351

Applet http://i33www.ira.uka.de/applets/mocca/html/noplugin/ IntBSpline/AppDifferentialGeometry/index.html 120202: ESM4A - Numerical Methods 352