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

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

Cubic spline interpolation

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

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

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.

MA 323 Geometric Modelling Course Notes: Day 31 Blended and Ruled Surfaces Coons Patches

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

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

In some applications it may be important that the extrema of the interpolating function are within the extrema of the given data.

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

(Spline, Bezier, B-Spline)

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

8 Piecewise Polynomial Interpolation

Central issues in modelling

Curves and Surfaces 1

Rational Bezier Surface

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

Properties of Blending Functions

2D Spline Curves. CS 4620 Lecture 13

An Introduction to B-Spline Curves

3D Modeling Parametric Curves & Surfaces

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

Interpolation - 2D mapping Tutorial 1: triangulation

CS-184: Computer Graphics

Bezier Curves, B-Splines, NURBS

Mar. 20 Math 2335 sec 001 Spring 2014

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

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

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

Rational Bezier Curves

Need for Parametric Equations

Lecture IV Bézier Curves

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

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

CS-184: Computer Graphics. Today

2D Spline Curves. CS 4620 Lecture 18

A Practical Review of Uniform B-Splines

Lecture 9: Introduction to Spline Curves

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

COMPUTER AIDED ENGINEERING DESIGN (BFF2612)

Important Properties of B-spline Basis Functions

February 23 Math 2335 sec 51 Spring 2016

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

Handout 4 - Interpolation Examples

Intro to Modeling Modeling in 3D

Computer Graphics Splines and Curves

8 Project # 2: Bézier curves

Spline Notes. Marc Olano University of Maryland, Baltimore County. February 20, 2004

Curves and Surfaces for Computer-Aided Geometric Design

Freeform Curves on Spheres of Arbitrary Dimension

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

Curves and Surfaces Computer Graphics I Lecture 9

Interactive Graphics Using Parametric Equations (Day 2)

An introduction to interpolation and splines

Section 5.5 Piecewise Interpolation

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

Sung-Eui Yoon ( 윤성의 )

Interpolation by Spline Functions

A Curve Tutorial for Introductory Computer Graphics

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

Figure 5.1: Spline and ducks.

Definition. A Taylor series of a function f is said to represent function f, iff the error term converges to 0 for n going to infinity.

Curve Representation ME761A Instructor in Charge Prof. J. Ramkumar Department of Mechanical Engineering, IIT Kanpur

Intro to Curves Week 4, Lecture 7

Unit 1 Day 4 Notes Piecewise Functions

Natural Quartic Spline

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

ME 261: Numerical Analysis Lecture-12: Numerical Interpolation

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

Numerical Methods in Physics Lecture 2 Interpolation

Homework #6 Brief Solutions 2012

The Essentials of CAGD

On an approach for cubic Bézier interpolation

Friday, 11 January 13. Interpolation

Review of Tuesday. ECS 175 Chapter 3: Object Representation

Curves and Surfaces. Computer Graphics COMP 770 (236) Spring Instructor: Brandon Lloyd

Dyadic Interpolation Schemes

Blending curves. Albert Wiltsche

Piecewise polynomial interpolation

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

Computer Graphics Spline and Surfaces

Intro to Curves Week 1, Lecture 2

Parametric curves. Brian Curless CSE 457 Spring 2016

Curves D.A. Forsyth, with slides from John Hart

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

Isoparametric Curve of Quadratic F-Bézier Curve

COMP3421. Global Lighting Part 2: Radiosity

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

OUTLINE. Quadratic Bezier Curves Cubic Bezier Curves

End-Term Examination

B(asis) Splines. Ashish Myles CISE, UF

A MATRIX FORMULATION OF THE CUBIC BÉZIER CURVE

The Free-form Surface Modelling System

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

CS770/870 Spring 2017 Curve Generation

Transcription:

Derivative Bernstein polynomials: 120202: ESM4A - Numerical Methods 313

Derivative Bézier curve (over [0,1]): with differences. being the first forward 120202: ESM4A - Numerical Methods 314

Derivative Bézier curve (over [a,b]): Higher-order derivatives: with differences. being the rth forward 120202: ESM4A - Numerical Methods 315

4.9 Piecewise Hermite Interpolation 120202: ESM4A - Numerical Methods 316

Motivation & idea We observed that polynomials fulfilling many interpolation constraints tend to oscillate. The idea is to replace one high-order polynomial with several low-order polynomials, each of which covers a part of the knot sequence. The challenge is to stitch these low-order polynomials together in a way that a curve with sufficient continuity is generated. This continuity is what we want to achieve using Hermite interpolation to interpolate derivatives where curves come together. 120202: ESM4A - Numerical Methods 317

Design choice In the following we are targeting curves that are C 1 - continuous. In order to achieve C 1 -continuity, we have to make sure that the endpoint of the i-th curve segment and the startpoint of the (i+1)-st curve segment have the samefunctionvalueand thesamederivative. Using Hermite interpolation, we have interpolation conditions up to the k-th derivative. Here, k = 1, and therefore degree n = 2k+1 = 3. Hence, the curve segments will be cubic polynomials. 120202: ESM4A - Numerical Methods 318

Remark Of course, we can get C k -continuity for k > 1. However, C 1 -continuity is for many applications sufficient. Moreover, to obtain C k -continuity for k > 1, one has to use higher-order polynomials (n 5), which may insert oscillations again. Still, the method we are going to look into generalizes to k > 1 in a straight-forward manner. 120202: ESM4A - Numerical Methods 319

Piecewise cubic Hermite interpolation Given n+1 points p 0,,p n and the corresponding knots u 0,,u n, we generate a piecewise cubic C 1 -curve s(u) such that s([u i,u i+1 ]) is a cubic polynomial. Curve s(u) is uniquely defined by the interpolation conditions s(u i ) = p i for i=0,,n s (u i ) = d i for i=0,,n where d 0,,d n are the derivatives at knots u 0,,u n. Hence, s(u) interpolates function values p i and derivatives d i at the knots u i. 120202: ESM4A - Numerical Methods 320

Illustration Note that the interpolation conditions for p i and d i at knot u i apply to both cubic polynomials s([u i-1,u i ]) and s([u i,u i+1 ]), which guarantees C 1 -continuity. 120202: ESM4A - Numerical Methods 321

Polynomial curve s([u i,u i+1 ]) To describe the polynomial curve segment s([u i,u i+1 ]), we make use of the nice property of Bézier curves, where the derivative of a Bézier curves is again a Bézier curve of one degree less. Recall: 120202: ESM4A - Numerical Methods 322

Cubic Bézier curves Notation: Let s i (u) := s([u i,u i+1 ]). Then, s i (u) with u є [u i,u i+1 ] is a cubic Bézier curve with point and derivative interpolation conditions at the endpoints. A cubic Bézier curve is uniquely determined by its 4 Bézier points. For s i (u) with u є [u i,u i+1 ] we have to find Bézier points b 3i, b 3i+1, b 3i+2, and b 3i+3. Because of the continuity criterion, we will see that Bézier points b 3i is being used as first Bézier points of s i (u) and as last Bézier points of s i-1 (u). Hence, each additional interval [u i,u i+1 ] adds 3 new Bézier points 120202: ESM4A - Numerical Methods 323

Cubic Bézier curves We get with local parameter and. What is left is to determine the Bézier points b 3i, b 3i+1, b 3i+2, and b 3i+3. 120202: ESM4A - Numerical Methods 324

Computing Bézier points Computing b 3i : Point interpolation condition: As we know that a Bézier curve is interpolating the endpoints of the Bézier polygon, i.e., we directly obtain that 120202: ESM4A - Numerical Methods 325

Computing Bézier points Computing b 3i+3 : Because of symmetry, we analogously obtain b 3i+3. Point interpolation condition: Endpoint interpolation: Hence: 120202: ESM4A - Numerical Methods 326

Computing Bézier points Computing b 3i+1 : Derivative interpolation condition: 120202: ESM4A - Numerical Methods 327

Computing Bézier points Computing b 3i+2 : Because of symmetry, we analogously obtain b 3i+2. Derivative interpolation condition: 120202: ESM4A - Numerical Methods 328

Illustration of Bézier curve Bézier polygon Bézier curve 120202: ESM4A - Numerical Methods 329

Illustration of piecewise Hermite interpolation overall Bézier polygon piecewise interpolating curve s(u) 120202: ESM4A - Numerical Methods 330