Interpolation and elevation zhu ping 07.10.10 zhu ping 07.10.10.

Slides:



Advertisements
Similar presentations
Lecture Notes #11 Curves and Surfaces II
Advertisements

Computer Graphics (Spring 2008) COMS 4160, Lecture 6: Curves 1
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
B-Spline Blending Functions
Interpolation to Data Points Lizheng Lu Oct. 24, 2007.
1 Curves and Surfaces. 2 Representation of Curves & Surfaces Polygon Meshes Parametric Cubic Curves Parametric Bi-Cubic Surfaces Quadric Surfaces Specialized.
CS CS 175 – Week 9 B-Splines Definition, Algorithms.
Rational Bezier Curves
Offset of curves. Alina Shaikhet (CS, Technion)
Modeling of curves Needs a ways of representing curves: Reproducible - the representation should give the same curve every time; Computationally Quick;
1 Lecture 13 Modeling Curved Lines and Surfaces. 2 Types of Surfaces Ruled Surfaces B-Splines and Bezier Curves Surfaces of Revolution.
1 Dr. Scott Schaefer The Bernstein Basis and Bezier Curves.
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
Bezier and Spline Curves and Surfaces Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
Bezier and Spline Curves and Surfaces CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
1 Representing Curves and Surfaces. 2 Introduction We need smooth curves and surfaces in many applications: –model real world objects –computer-aided.
CS Subdivision I: The Univariate Setting Peter Schröder.
Splines III – Bézier Curves
Curve Modeling Bézier Curves
B-spline curve approximation zhu ping Outline 1. Application 2. Some works 3. Discussion.
Curve Modeling B-Spline Curves
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.
(Spline, Bezier, B-Spline)
V. Space Curves Types of curves Explicit Implicit Parametric.
Introduction to Computer Graphics with WebGL
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.
University of Texas at Austin CS384G - Computer Graphics Fall 2008 Don Fussell Parametric Curves.
Spline curves with a shape parameter Reporter: Hongguang Zhou April. 2rd, 2008.
1 CS 430/536 Computer Graphics I Curve Drawing Algorithms Week 4, Lecture 8 David Breen, William Regli and Maxim Peysakhov Geometric and Intelligent Computing.
Graphics Graphics Korea University cgvr.korea.ac.kr Parametric Curves 고려대학교 컴퓨터 그래픽스 연구실.
Splines IV – B-spline Curves based on: Michael Gleicher: Curves, chapter 15 in Fundamentals of Computer Graphics, 3 rd ed. (Shirley & Marschner) Slides.
Parametric Surfaces Define points on the surface in terms of two parameters Simplest case: bilinear interpolation s t s x(s,t)x(s,t) P 0,0 P 1,0 P 1,1.
On the degree elevation of B-spline curves and corner cutting Guozhao Wang,Chongyang Deng Reporter : Jingjing Yu.
Geometric Modelling 2 INFO410 & INFO350 S Jack Pinches
CS 376 Introduction to Computer Graphics 04 / 25 / 2007 Instructor: Michael Eckmann.
Representation of Curves & Surfaces Prof. Lizhuang Ma Shanghai Jiao Tong University.
Greg Humphreys CS445: Intro Graphics University of Virginia, Fall 2003 Parametric Curves & Surfaces Greg Humphreys University of Virginia CS 445, Spring.
Computer Graphics (Fall 2003) COMS 4160, Lecture 10: Curves 1 Ravi Ramamoorthi
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.
A common representation of generalized Ball basis CAGD&CG Seminar Wanqiang Shen
Splines Sang Il Park Sejong University. Particle Motion A curve in 3-dimensional space World coordinates.
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:
Kansas State University Department of Computing and Information Sciences CIS 736: Computer Graphics Lecture 13 of 42 Wednesday, 15 February 2006 William.
SIAM Conference on Geometric Desing & Computing Approximation of spatial data with shape constraints Maria Lucia Sampoli University of Siena, Italy.
Curves University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2013 Tamara Munzner.
CS552: Computer Graphics Lecture 19: Bezier Curves.
Piecewise Polynomial Parametric Curves Sun-Jeong Kim.
Introduction to Parametric Curve and Surface Modeling.
© University of Wisconsin, CS559 Spring 2004
Representation of Curves & Surfaces
Parametric Curves cgvr.korea.ac.kr.
Chapter 10-2: Curves.
CSE 167 [Win 17], Lecture 9: Curves 1 Ravi Ramamoorthi
Parametric Curves.
© University of Wisconsin, CS559 Fall 2004
The Variety of Subdivision Schemes
Curve design 455.
Three-Dimensional Object Representation
Introduction to Parametric Curve and Surface Modeling
Presentation transcript:

Interpolation and elevation zhu ping zhu ping

Problem T 0,T 1,T 2,…,T n ∈ R 2, T i ≠T i+1 Find a curve P(t): P:[0,1]—> R 2, satisfying P(t i )=T i i=0,1,…,n

Paper 1. > Lin Hongwei Science in China > Lin Hongwei Computers and Mathematics with Application > J.Delgado CAGD > Jernej Kozak CAGD > Les A.Piegl The Visual Computer > Wang Guozhao CAGD07 7. > Takashi Maekawa CAD 07

Constructing Iterative Non-Unifrom B-spline Curve and Surface to Fit Data Points Problem:Progressive iterative approximation Proposed by Prof.Qi Dongxu and de Boor In 1991, cubic uniform B-spline and convergence Shortage:NURBS,convexity-preserving,explict expression

Iterative algorithm (1) parameter (2)normal

Parameter

Normal

Deduce:

Iterative error:

Iterative convergence

Convexity-preserving algorithm Polyline L is convexity and if sgn(α i )=sgn(β i ) polyline L’is also convexity Polyline L is convexity and if sgn(α i )=sgn(β i ) polyline L’is also convexity

Iterative formulae

Surface iterative

Example: convexity-preserving property of non-uniform B-spline curve convexity-preserving property of non-uniform B-spline curve 30 times

Totally Positive Bases and Progressive Iteration Approximation Totally Positive Bases Definition: Given a basis {Bi(t) ≥0|i=0,1,…,n}, an increasing sequence the collocation matrix is Basis {Bi} is totally positive basis if the matrix is a totally positive matrix Basis {Bi} is totally positive basis if the matrix is a totally positive matrix

Theorem. If the basis is totally positive and its collocation matrix B at {t 0,t 1,…,t n } is non-singular,the curve has progressive iteration appromation. Proof.

Example: Bezier,B-spline and NUBRS curve and surface 20 times 60 times Bezier

Progressive iterative approximation and bases with the fastest convergence rates Outline: The normalized B-basis has optimal shape preserving properties and we prove that it satisfies the progressive iterative approximation property with the fastest convergence rates. A similar result for tensor product surfaces is also derived.

Theorem: Given a space U with an TP basis,the normalized B-basis of U provided a progressive iterative approximation with the fastest convergence rates among all TP bases of U.

Proof. will be minimum when the smallest eigenvalue of B is maximum. U:unique normalized B-basis (b 0,…,b n ),TP basis (v 0,…,v n ). (v 0,…,v n )=(b 0,…,b n )K. K is a stochastic TP matrix. prove that the smallest eigenvalue of B is greater than the smallest eigenvalue of V

Consider matrix since is similar to is similar to.We should prove

Tensor product surfaces: Kronecker product:

Numerical test: Bernstein Basis VS Said-Ball Basis Definition:

Comparion:

Error compare:

Geometric Method for Hermite Iterpolation by a class of PH Quintics Outline: Geometric relationship among Bezier control points of PH Quintics is developed.And choose the best curve in the resulant PH quintics.

Theorem 1: A Bezier curve is PH curve when two points A,B exist making

Hermite Method:

On the degree elevation of B-spline curves and corner cutting Outline: Our idea is making bi-degree B-spline to elevate B-spline. Old Method:splite into pieces of Bezier curves

Theorem 1:, are defined and Theorem 2:

Property:positivity,partition of unity,linear independence globally Theorem 3:

An alternative method of curve interpolation Author: Les A.Piegl, South Florida University, research in CAD/CAM,geometric modeling,computer graphics Wayne Tiller,in GeomWare, The NURBS Book

Outline:given a point data set that contains several fairly unevently distributed random points,this paper presents a new paradigm of curve interpolation to fit a curve to the data with end tangent vector constraints.

Major components: 1. Base curve 2. Localization 3. Constrained shape manipulation 4. Parametrization adjustment

Definition:a B-spline curve of degree p

Constrained shaping:

Parametrization: 1.Obtain a polygonal aproximation of the base curve 2.Project all points onto the polygon and find the closest vertex or polygon leg 3.Obtain an approximation parameter from the parameters of the closest leg or vertex

Geometric decomposition: 1.Decompose the NURBS curve into piecewise Bezier segments 2.Bezier curve decomposition

Location: Greville abscissae: degree p degree p-1

Procedure: 1.Go through the brackets (η i,η i+1 ) i=1,…,n-1 to see how many parameters fall within the brackets 2.If there are two or more parameters,insert a knot and recomputer the brackets 3.Repeat the process until each bracket contains no more than one parameter

Let w ∈ (η i,η i+1 ) be the new abscissa

The algorithm: 1.Computer the Grevile brackets 2.Check end conditions and insert knots if necessary 3.While there are brakets with more than one parameter 3.1 Find first offending span 3.2 Average parameters lying inside the span.The average is to become the new Greville abscissa 3.3 Get the knot to be inserted 3.4 If the knot falls on an existing knot,select another parameter representative 3.5 Insert the knot and recompute Greville brackets

Base curve:two methods (1)1.Obtain a local cubic C 1 interpolation to the points. 2.Sample the interpolant 3.Approximate the smple points by least-squares.

(2)using Hermite curves.

The algorithm: 1.Computer an initial parameter 2.For each point 2.1 Computer 2.2 Get 3.Computer and 4.Repeat 4.1 Recomputer parameters by projecting the points onto the Hermite curve 4.2 Recomputer λ Untill no significant change in λis obtained

The updated parameters

The whole algorithm: 1.If there is no internal points,generate a Hermite curve defined by 2.Get a base curve: 2.1 If the data is simple: Computer a Hetmite curve to Scale tangents to approximate internal points Iteratively improve parameters and the base curve

2.2 Otherwise: Interpolate data with a local method Sample interpolating curve Approximate sampling points to eliminate multiple knots 3. Perform constrained shape manipulation to obtain interpolation. 4. While not all points have been interpolated: 4.1 Get/update parameter by projecting points onto the current curve 4.2 If necessary,eliminate point clustering and add additional knots 4.3 Set up vectors Vi by pulling curve points towards Qi by the computered increment

4.4 Perform shape operation 4.5 Mark data points that have been reached,and exclude them from further operations 5.Output shaped base curve and postprocess

The End !