1 Dr. Scott Schaefer Curves and Interpolation. 2/61 Smooth Curves How do we create smooth curves?

Slides:



Advertisements
Similar presentations
Polynomial Approximation PSCI 702 October 05, 2005.
Advertisements

Computer Graphics (Spring 2008) COMS 4160, Lecture 6: Curves 1
March 1, 2009Dr. Muhammed Al-Mulhem1 ICS 415 Computer Graphics Hermite Splines Dr. Muhammed Al-Mulhem March 1, 2009 Dr. Muhammed Al-Mulhem March 1, 2009.
Cubic Curves CSE167: Computer Graphics Instructor: Steve Rotenberg UCSD, Fall 2006.
Cubic Curves CSE169: Computer Animation Instructor: Steve Rotenberg UCSD, Winter 2005.
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.
CS 445 / 645 Introduction to Computer Graphics Lecture 22 Hermite Splines Lecture 22 Hermite Splines.
08/30/00 Dinesh Manocha, COMP258 Hermite Curves A mathematical representation as a link between the algebraic & geometric form Defined by specifying the.
1 Curves and Surfaces. 2 Representation of Curves & Surfaces Polygon Meshes Parametric Cubic Curves Parametric Bi-Cubic Surfaces Quadric Surfaces Specialized.
Splines II – Interpolating Curves
CSCE 441 Computer Graphics: Keyframe Animation/Smooth Curves Jinxiang Chai.
CS CS 175 – Week 8 Bézier Curves Definition, Algorithms.
1 Dr. Scott Schaefer The Bernstein Basis and Bezier Curves.
Designing Parametric Cubic Curves Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
1 Dr. Scott Schaefer Tensor-Product Surfaces. 2/64 Smooth Surfaces Lagrange Surfaces  Interpolating sets of curves Bezier Surfaces B-spline Surfaces.
Curves Mortenson Chapter 2-5 and Angel Chapter 9
1 Dr. Scott Schaefer Catmull-Rom Splines: Combining B-splines and Interpolation.
Modelling: Curves Week 11, Wed Mar 23
What is entry A in the matrix multiplication: ( a) 1 (b) -2(c) 5 (d) 11(e) 13 (f) 0.
RASTER CONVERSION ALGORITHMS FOR CURVES: 2D SPLINES 2D Splines - Bézier curves - Spline curves.
Designing Parametric Cubic Curves
ON MULTIVARIATE POLYNOMIAL INTERPOLATION
Lagrange interpolation Gives the same results as Newton, but different method.
The Fourier series A large class of phenomena can be described as periodic in nature: waves, sounds, light, radio, water waves etc. It is natural to attempt.
CS 376 Introduction to Computer Graphics 04 / 23 / 2007 Instructor: Michael Eckmann.
Numerical Computation
1 Dr. Scott Schaefer Smooth Curves. 2/109 Smooth Curves Interpolation  Interpolation through Linear Algebra  Lagrange interpolation Bezier curves B-spline.
1 Dr. Scott Schaefer Blossoming and B-splines. 2/105 Blossoms/Polar Forms A blossom b(t 1,t 2,…,t n ) of a polynomial p(t) is a multivariate function.
Review of Interpolation. A method of constructing a function that crosses through a discrete set of known data points.
1 Dr. Scott Schaefer Coons Patches and Gregory Patches.
1. Interpolating polynomials Polynomial of degree n,, is a linear combination of Definitions: (interval, continuous function, abscissas, and polynomial)
Karatsuba’s Algorithm for Integer Multiplication
Introduction to Numerical Analysis I MATH/CMPSC 455 Interpolation.
June D Object Representation Shmuel Wimer Bar Ilan Univ., School of Engineering.
By Adam Mallen.  What is it?  How is it different from regression?  When would you use it?  What can go wrong?  How do we find the interpolating.
Applied Symbolic Computation1 Applied Symbolic Computation (CS 300) Karatsuba’s Algorithm for Integer Multiplication Jeremy R. Johnson.
CS559: Computer Graphics Lecture 19: Curves Li Zhang Spring 2008.
CS 376 Introduction to Computer Graphics 04 / 25 / 2007 Instructor: Michael Eckmann.
Basic Theory (for curve 02). 1.3 Parametric Curves  The main aim of computer graphics is to display an arbitrary surface so that it looks real.  The.
11/6/ :55 Graphics II Introduction to Parametric Curves and Surfaces Session 2.
Computer Graphics (Fall 2003) COMS 4160, Lecture 10: Curves 1 Ravi Ramamoorthi
Parametric Curves CS 318 Interactive Computer Graphics John C. Hart.
CSCE 441: Keyframe Animation/Smooth Curves (Cont.) Jinxiang Chai.
Designing Parametric Cubic Curves 1. 2 Objectives Introduce types of curves ­Interpolating ­Hermite ­Bezier ­B-spline Analyze their performance.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
 3.3 Hermite Interpolation Chapter 3 Interpolation and Polynomial Approximation -- Hermite Interpolation Find the osculating polynomial P(x) such that.
2.2 The Inverse of a Matrix. Example: REVIEW Invertible (Nonsingular)
Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 12: Curves 1
College of Computer and Information Science, Northeastern UniversityFebruary 27, CS U540 Computer Graphics Prof. Harriet Fell Spring 2009 Lectures.
CS559: Computer Graphics Lecture 13: Hierarchical Modeling and Curves Li Zhang Spring 2010.
Math 495B Polynomial Interpolation Special case of a step function. Frederic Gibou.
Curves University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2013 Tamara Munzner.
CS552: Computer Graphics Lecture 19: Bezier Curves.
Object Modeling: Curves and Surfaces CEng 477 Introduction to Computer Graphics.
RS – Reed Solomon Error correcting code. Error-correcting codes are clever ways of representing data so that one can recover the original information.
Introduction to Parametric Curve and Surface Modeling.
Computer Graphics Lecture 37
CSE 167 [Win 17], Lecture 9: Curves 1 Ravi Ramamoorthi
Applied Symbolic Computation
CS U540 Computer Graphics Prof. Harriet Fell Spring 2007
Spline Curves COMP 575/COMP 770.
Notes Over 6.2 Identifying Polynomial Functions Polynomial Function
Least Squares Curves, Rational Representations, Splines and Continuity
The Bernstein Basis and Bezier Curves
Applied Symbolic Computation
Computer Graphics Lecture 36 CURVES II Taqdees A. Siddiqi
Coons Patches and Gregory Patches
MATH 174: Numerical Analysis
Interpolation Practice-6 Additional chapters of mathematics
Applied Symbolic Computation
Presentation transcript:

1 Dr. Scott Schaefer Curves and Interpolation

2/61 Smooth Curves How do we create smooth curves?

3/61 Smooth Curves How do we create smooth curves? Parametric curves with polynomials

4/61 Smooth Curves Controlling the shape of the curve

5/61 Smooth Curves Controlling the shape of the curve

6/61 Smooth Curves Controlling the shape of the curve

7/61 Smooth Curves Controlling the shape of the curve

8/61 Smooth Curves Controlling the shape of the curve

9/61 Smooth Curves Controlling the shape of the curve

10/61 Smooth Curves Controlling the shape of the curve

11/61 Smooth Curves Controlling the shape of the curve

12/61 Smooth Curves Controlling the shape of the curve

13/61 Smooth Curves Controlling the shape of the curve Power-basis coefficients not intuitive for controlling shape of curve!!!

14/61 Interpolation Find a polynomial y(t) such that y(t i )=y i

15/61 Interpolation Find a polynomial y(t) such that y(t i )=y i

16/61 Interpolation Find a polynomial y(t) such that y(t i )=y i basis

17/61 Interpolation Find a polynomial y(t) such that y(t i )=y i coefficients

18/61 Interpolation Find a polynomial y(t) such that y(t i )=y i

19/61 Interpolation Find a polynomial y(t) such that y(t i )=y i Vandermonde matrix

20/61 Interpolation Find a polynomial y(t) such that y(t i )=y i

21/61 Interpolation Find a polynomial y(t) such that y(t i )=y i

22/61 Interpolation Find a polynomial y(t) such that y(t i )=y i Intuitive control of curve using “control points”!!!

23/61 Interpolation Perform interpolation for each component separately Combine result to obtain parametric curve

24/61 Interpolation Perform interpolation for each component separately Combine result to obtain parametric curve

25/61 Interpolation Perform interpolation for each component separately Combine result to obtain parametric curve

26/61 Generalized Vandermonde Matrices Assume different basis functions f i (t)

27/61 LaGrange Polynomials Explicit form for interpolating polynomial!

28/61 LaGrange Polynomials Explicit form for interpolating polynomial!

29/ LaGrange Polynomials Explicit form for interpolating polynomial!

30/ LaGrange Polynomials Explicit form for interpolating polynomial!

31/ LaGrange Polynomials Explicit form for interpolating polynomial!

32/61 LaGrange Polynomials Explicit form for interpolating polynomial!

33/61 Neville’s Algorithm Identical to matrix method but uses a geometric construction

34/61 Neville’s Algorithm Identical to matrix method but uses a geometric construction

35/61 Neville’s Algorithm Identical to matrix method but uses a geometric construction

36/61 Neville’s Algorithm Identical to matrix method but uses a geometric construction

37/61 Neville’s Algorithm Identical to matrix method but uses a geometric construction

38/61 Neville’s Algorithm Identical to matrix method but uses a geometric construction

39/61 Neville’s Algorithm Identical to matrix method but uses a geometric construction

40/61 Neville’s Algorithm Identical to matrix method but uses a geometric construction

41/61 Neville’s Algorithm Identical to matrix method but uses a geometric construction

42/61 Neville’s Algorithm Identical to matrix method but uses a geometric construction

43/61 Neville’s Algorithm Identical to matrix method but uses a geometric construction

44/61 Neville’s Algorithm Identical to matrix method but uses a geometric construction

45/61 Neville’s Algorithm Identical to matrix method but uses a geometric construction

46/61 Neville’s Algorithm

47/61 Neville’s Algorithm

48/61 Neville’s Algorithm

49/61 Neville’s Algorithm Claim: The polynomial produced by Neville’s algorithm is unique

50/61 Neville’s Algorithm Claim: The polynomial produced by Neville’s algorithm is unique Proof: Assume that there are two degree n polynomials such that a(t i )=b(t i )=y i for i=0…n.

51/61 Neville’s Algorithm Claim: The polynomial produced by Neville’s algorithm is unique Proof: Assume that there are two degree n polynomials such that a(t i )=b(t i )=y i for i=0…n. c(t)=a(t)-b(t) is also a polynomial of degree n

52/61 Neville’s Algorithm Claim: The polynomial produced by Neville’s algorithm is unique Proof: Assume that there are two degree n polynomials such that a(t i )=b(t i )=y i for i=0…n. c(t)=a(t)-b(t) is also a polynomial of degree n c(t) has n+1 roots at each of the t i

53/61 Neville’s Algorithm Claim: The polynomial produced by Neville’s algorithm is unique Proof: Assume that there are two degree n polynomials such that a(t i )=b(t i )=y i for i=0…n. c(t)=a(t)-b(t) is also a polynomial of degree n c(t) has n+1 roots at each of the t i Polynomials of degree n can have at most n roots!

54/61 Hermite Interpolation Find a polynomial y(t) that interpolates y i, y i (1), y i (2), …, Always a unique y(t) of degree

55/61 Hermite Interpolation Find a polynomial y(t) that interpolates y i, y i (1), y i (2), …, Always a unique y(t) of degree

56/61 Hermite Interpolation Find a polynomial y(t) that interpolates y i, y i (1), y i (2), …, Always a unique y(t) of degree

57/61 Hermite Interpolation Find a polynomial y(t) that interpolates y i, y i (1), y i (2), …, Always a unique y(t) of degree

58/61 Hermite Interpolation Find a polynomial y(t) that interpolates y i, y i (1), y i (2), …, Always a unique y(t) of degree

59/61 Hermite Interpolation Find a polynomial y(t) that interpolates y i, y i (1), y i (2), …, Always a unique y(t) of degree

60/61 Hermite Interpolation Find a polynomial y(t) that interpolates y i, y i (1), y i (2), …, Always a unique y(t) of degree

61/61 Hermite Interpolation Find a polynomial y(t) that interpolates y i, y i (1), y i (2), …, Always a unique y(t) of degree