Interpolation to Data Points Lizheng Lu Oct. 24, 2007.

Slides:



Advertisements
Similar presentations
Arc-length computation and arc-length parameterization
Advertisements

Curves Jim Van Verth Essential Math for Games Animation Problem: want to replay stored set of transformations  Generated by.
Mathematics1 Mathematics 1 Applied Informatics Štefan BEREŽNÝ.
Parametric Curves Ref: 1, 2.
2002 by Jim X. Chen: Bezier Curve Bezier Curve.
Lecture 10 Curves and Surfaces I
Geometric Modeling Notes on Curve and Surface Continuity Parts of Mortenson, Farin, Angel, Hill and others.
Overview June 9- B-Spline Curves June 16- NURBS Curves June 30- B-Spline Surfaces.
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.
© University of Wisconsin, CS559 Spring 2004
Jehee Lee Seoul National University
MATH 685/ CSI 700/ OR 682 Lecture Notes
Dr. S.M. Malaek Assistant: M. Younesi
1 Curves and Surfaces. 2 Representation of Curves & Surfaces Polygon Meshes Parametric Cubic Curves Parametric Bi-Cubic Surfaces Quadric Surfaces Specialized.
Rational Bezier Curves
Offset of curves. Alina Shaikhet (CS, Technion)
09/04/02 Dinesh Manocha, COMP258 Bezier Curves Interpolating curve Polynomial or rational parametrization using Bernstein basis functions Use of control.
Curves Locus of a point moving with one degree of freedom
Normal based subdivision scheme for curve and surface design 杨勋年
Geometric Modeling Surfaces Mortenson Chapter 6 and Angel Chapter 9.
Cubic Bezier and B-Spline Curves
Curves Mortenson Chapter 2-5 and Angel Chapter 9
Modelling: Curves Week 11, Wed Mar 23
University of British Columbia CPSC 414 Computer Graphics © Tamara Munzner 1 Curves Week 13, Mon 24 Nov 2003.
1 Representing Curves and Surfaces. 2 Introduction We need smooth curves and surfaces in many applications: –model real world objects –computer-aided.
Curve Surfaces June 4, Examples of Curve Surfaces Spheres The body of a car Almost everything in nature.
CHORD LENGTH PARAMETERIZAT ION 支德佳 Chord length: CHORD LENGTH PARAMETERIZATION.
Splines By: Marina Uchenik.
11/19/02 (c) 2002, University of Wisconsin, CS 559 Last Time Many, many modeling techniques –Polygon meshes –Parametric instancing –Hierarchical modeling.
A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Spline curves 1/23 Curves and Surfaces.
Employing Pythagorean Hodograph Curves for Artistic Patterns Conference of PhD Students in Computer Science June 29 - July 2, 2010 Szeged, Hungary Gergely.
V. Space Curves Types of curves Explicit Implicit Parametric.
Curves.
Vector Computer Graphic. Vector entities Line Circle, Ellipse, arc,… Curves: Spline, Bezier’s curve, … … Areas Solids Models.
Evolution-based least-squares fitting using Pythagorean hodograph spline curves Speaker: Ying.Liu November
Quadratic Surfaces. SPLINE REPRESENTATIONS a spline is a flexible strip used to produce a smooth curve through a designated set of points. We.
June D Object Representation Shmuel Wimer Bar Ilan Univ., School of Engineering.
University of Texas at Austin CS384G - Computer Graphics Fall 2008 Don Fussell Parametric Curves.
Curves and Surfaces Chapter 10. CS 480/680 2Chapter 9 -- Hierarchical Models Introduction: Introduction: Until now we have worked with flat entities such.
Splines IV – B-spline Curves based on: Michael Gleicher: Curves, chapter 15 in Fundamentals of Computer Graphics, 3 rd ed. (Shirley & Marschner) Slides.
Keyframing and Splines Jehee Lee Seoul National University.
Ship Computer Aided Design MR 422. Geometry of Curves 1.Introduction 2.Mathematical Curve Definitions 3.Analytic Properties of Curves 4.Fairness of Curves.
CS 376 Introduction to Computer Graphics 04 / 25 / 2007 Instructor: Michael Eckmann.
Representation of Curves & Surfaces Prof. Lizhuang Ma Shanghai Jiao Tong University.
Rational curves interpolated by polynomial curves Reporter Lian Zhou Sep
L5 – Curves in GIS NGEN06 & TEK230: Algorithms in Geographical Information Systems by: Sadegh Jamali (source: Lecture notes in GIS, Lars Harrie) 1 L5-
11/6/ :55 Graphics II Introduction to Parametric Curves and Surfaces Session 2.
Greg Humphreys CS445: Intro Graphics University of Virginia, Fall 2003 Parametric Curves & Surfaces Greg Humphreys University of Virginia CS 445, Spring.
11/26/02(C) University of Wisconsin Last Time BSplines.
Parametric Curves CS 318 Interactive Computer Graphics John C. Hart.
CSCE 441: Keyframe Animation/Smooth Curves (Cont.) Jinxiang Chai.
CSCE 441: Keyframe Animation/Smooth Curves (Cont.) Jinxiang Chai.
(c) 2002 University of Wisconsin
Designing Parametric Cubic Curves 1. 2 Objectives Introduce types of curves ­Interpolating ­Hermite ­Bezier ­B-spline Analyze their performance.
Splines Sang Il Park Sejong University. Particle Motion A curve in 3-dimensional space World coordinates.
CS 325 Computer Graphics 04 / 30 / 2010 Instructor: Michael Eckmann.
Ship Computer Aided Design
Rendering Bezier Curves (1) Evaluate the curve at a fixed set of parameter values and join the points with straight lines Advantage: Very simple Disadvantages:
Curves University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2013 Tamara Munzner.
CS552: Computer Graphics Lecture 19: Bezier Curves.
Introduction to Parametric Curve and Surface Modeling.
CSCI480/582 Lecture 9 Chap.2.2 Cubic Splines – Hermit and Bezier Feb, 11, 2009.
© University of Wisconsin, CS559 Spring 2004
Curve & Surface.
Chapter 10-2: Curves.
Morphing and Shape Processing
© University of Wisconsin, CS559 Spring 2004
CSCE 441: Keyframe Animation/Smooth Curves (Cont.)
PPT9: Global and local interpolation
Introduction to Parametric Curve and Surface Modeling
Presentation transcript:

Interpolation to Data Points Lizheng Lu Oct. 24, 2007

Problem

Interpolation VS. Approximation Interpolation Approximation

Classification Curve Constraint (piecewise) Bezier curves B-spline curves Rational Bezier/B-spline curves

Outline Some classical methods Some recent methods on geometric interpolation Estimate the tangent

C 2k-1 Hermite Interpolation Cubic Interpolation

C 2 Cubic B-spline Interpolation Given: A set of points and a knot sequence Find: A cubic B-spline curve, s.t.

Geometric Hermite Interpolation (GHI) Given: Planar points p i, with positions, tangents and curvatures Result: Piecewise cubic Bezier curves, having G 2 continuity 6th order accuracy Convexity preservation [de Boor et al., 1987]

Comments on GHI Independent of parameterization High accuracy But, it usually includes nonlinear problems Questions on the existence of solution and efficient implement Difficult to estimate approximation order, etc …

References on GHI

High Order Approximation of Rational Curves Given: A rational curve, where f and g are of degree M and N, let k = M+N, with parameters values Find: A polynomial p of degree at most n+k-2, and scalar values satisfying the 2n interpolation conditions: [Floater, 2006]

Geometric Interpolation by Planar Cubic Polynomial Curves Comp. Aided Geom. Des. 2007, 24(2): Jernej Kozak Marjeta Krajnc FMF&IMFM IMFM Jadranska 19, Ljubljana, Slovenia

Problem Given: six points Find: a cubic polynomial parameter curve which satisfies

An Alternative Solution: Quintic Interpolating Curves Find a quintic curve s.t., where t i are chosen to be the uniform and chord length parameterization.

Essential of Problem Know: t 0, t 5, p 0, p 3 Unknown: t 1, t 2, t 3, t 4, p 1, p 2 Equations: P 3 (t i ) = T i, i = 2, 3, 4

Solution of Problem Solved by Newton Iteration with initial values: Know: t 0, t 5, p 0, p 3 Unknown: t 1, t 2, t 3, t 4, p 1, p 2 Equations: P 3 (t i ) = T i, i = 2, 3, 4

Existence of Solution Provide two sufficient conditions guaranteeing the existence Summarize cases in a table which does not allow a solution

Comparison cubic uniform chord length

On Geometric Interpolation by Planar Parametric Polynomial Curves Mathematics of Computation 76(260):

Problem Given: 2n points Find: a cubic polynomial parameter curve which satisfies

Main Results If the data, sampled from a convex smooth curve, are close enough, then equations that determine the interpolating polynomial curve are derived for general n (Theorem 4.5) if the interpolating polynomial curve exists, the approximation order is 2 n for general n (Theorem 4.6) the interpolating polynomial curve exists for n ≤ 5 (Theorem 4.7)

On Geometric Interpolation of Circle-like Curves Comp. Aided Geom. Des. 2007, 24(4):

What is Circle-like Curve? A circular arc of an arclength is defined by Suppose that a convex curve is parameterized by the same parameter as. The curve will be called circle-like, if it satisfies: (1) (2)

The Result

Outline Some classical methods Some methods on geometric interpolation Estimate the tangent

Tangent Estimation Methods FMill, 1974 Circle Method Bessel [Ackland, 1915] Akima, 1970 G. Albrecht, J.-P. B é car, G. Farin, D. Hansford, 2005, 2007

Problem ?

FMILL

Circle Method

Bessel Parabola f (t)

Bessel

Akima ’ s Method

Albrecht ’ s Method Albrecht G., B é car J.P. Univ. de Valenciennes et du Hainaut – Cambr é sis, France Farin G., Hansford D. Dep. Comp. Sci., Arizona State Univ. D é termination de tangentes par l ’ emploi de coniques d ’ approximation. On the approximation order of tangent estimators. CAGD, in press

Main Idea Method: Estimate the tangent by using the interpolating conic of the given five points Solution: solved by Pascal ’ s theorem in projective geometry Advantages Conic precision Less computations without computing the implicit conic

Idea Derivation Any conic section is uniquely determined by five distinct points in the plane, p i =(x i, y i ). [Farin, 2001]

Idea Derivation [Pascal, 1640]

Projective Geometry in CAGD Express rational forms Implicit representation of rational forms

Projective Geometry in CAGD Express rational forms Implicit representation of rational forms Chen, Sederberg Conic section Line conics

Projective Geometry

A line in is represented by The line joining the two points is The intersection of two lines is

Estimate the Tangent

Degenerate Cases (b) (c) (a)

Examples

Experimental results

Non-convex Case Conic method Akima Bessel Circle method

Approximation order

Theoretical Analysis Consider a planar curve:

Theoretical Analysis Consider a planar curve: Take five points:

Theoretical Analysis Consider a planar curve: Take five points: Let:

Theoretical Analysis Taylor expansion: Exact tangent: Exact norm:

Theoretical Analysis For a point, with the tangent: Its corresponding tangent in the projective space is:

Compute the Approximation Order Taylor expansion Symbolic computation: MAPLE To solve the k in:

Numerical Result (1)

Numerical Result (2)

Summary Obtain order four approximation for the convex case, two for the inflection point Estimate the approximation order with theoretical justification Estimate the direction of the tangent only, not the vector!

Thank You!