parametric spline curves

Similar documents
EECS 487: Interactive Computer Graphics

Today. Curves & Surfaces. Can We Disguise the Facets? Limitations of Polygonal Meshes. Better, but not always good enough

Spline Curves. Color Interpolation. Normal Interpolation. Last Time? Today. glshademodel (GL_SMOOTH); Adjacency Data Structures. Mesh Simplification

Last Time: Curves & Surfaces. Today. Questions? Limitations of Polygonal Meshes. Can We Disguise the Facets?

Curves & Surfaces. Last Time? Today. Readings for Today (pick one) Limitations of Polygonal Meshes. Today. Adjacency Data Structures

geometric transformations

Schedule. Curves & Surfaces. Questions? Last Time: Today. Limitations of Polygonal Meshes. Acceleration Data Structures.

A new method for 3-dimensional roadway design using visualization techniques

Introduction to Data-Driven Animation: Programming with Motion Capture Jehee Lee

Introduction to Computer Graphics 10. Curves and Surfaces

Non-uniform Subdivision for B-splines of Arbitrary Degree

AML710 CAD LECTURE 11 SPACE CURVES. Space Curves Intrinsic properties Synthetic curves

CENG 477 Introduction to Computer Graphics. Modeling Transformations

4.1 3D GEOMETRIC TRANSFORMATIONS

Design considerations

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

STEREO PLANE MATCHING TECHNIQUE

Hermite Curves. Jim Armstrong Singularity November 2005

Image Content Representation

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.

X-Splines : A Spline Model Designed for the End-User

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

2D Spline Curves. CS 4620 Lecture 18

Digital Geometry Processing Differential Geometry

Fill in the following table for the functions shown below.

Lecture IV Bézier Curves

Gauss-Jordan Algorithm

3D Modeling Parametric Curves & Surfaces

Data Structures and Algorithms

Simultaneous Precise Solutions to the Visibility Problem of Sculptured Models

Image warping Li Zhang CS559

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

2D Spline Curves. CS 4620 Lecture 13

Lecture 3: Geometric Algorithms(Convex sets, Divide & Conquer Algo.)

A Principled Approach to. MILP Modeling. Columbia University, August Carnegie Mellon University. Workshop on MIP. John Hooker.

4. Minimax and planning problems

B-spline Curves. Smoother than other curve forms

Projective geometry- 2D

Implementing Ray Casting in Tetrahedral Meshes with Programmable Graphics Hardware (Technical Report)

A non-stationary uniform tension controlled interpolating 4-point scheme reproducing conics

MARSS Reference Sheet

Central issues in modelling

Curve Construction via Local Fitting

Chapter Six Chapter Six

CS 428: Fall Introduction to. Geometric Transformations (continued) Andrew Nealen, Rutgers, /20/2010 1

Information Coding / Computer Graphics, ISY, LiTH. Splines

Page 1. News. Compositing, Clipping, Curves. Week 3, Thu May 26. Schedule Change. Homework 1 Common Mistakes. Midterm Logistics.

Curves and Surfaces Computer Graphics I Lecture 9

Data Structures and Algorithms. The material for this lecture is drawn, in part, from The Practice of Programming (Kernighan & Pike) Chapter 2

08 - Designing Approximating Curves

Evaluation and Improvement of Region-based Motion Segmentation

Collision-Free and Curvature-Continuous Path Smoothing in Cluttered Environments

Outline. EECS Components and Design Techniques for Digital Systems. Lec 06 Using FSMs Review: Typical Controller: state

NURBS rendering in OpenSG Plus

(Spline, Bezier, B-Spline)

Curves and Surfaces 1

Curve Modeling (Spline) Dr. S.M. Malaek. Assistant: M. Younesi

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

7.2 Puiseux Expansions

Announcements For The Logic of Boolean Connectives Truth Tables, Tautologies & Logical Truths. Outline. Introduction Truth Functions

Systems & Biomedical Engineering Department. Transformation

RULES OF DIFFERENTIATION LESSON PLAN. C2 Topic Overview CALCULUS

Rational Bezier Curves

M y. Image Warping. Targil 7 : Image Warping. Image Warping. 2D Geometric Transformations. image filtering: change range of image g(x) = T(f(x))

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

COMP26120: Algorithms and Imperative Programming

Coded Caching with Multiple File Requests

Parametric equations 8A

Research Article Auto Coloring with Enhanced Character Registration

Projection & Interaction

Computer representations of piecewise

Jorge Salvador Marques, Stereo Reconstruction

the marginal product. Using the rule for differentiating a power function,

Less Pessimistic Worst-Case Delay Analysis for Packet-Switched Networks

Roadmap for tonight. What are Bezier curves (mathematically)? Programming Bezier curves (very high level view).

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

Petri Nets for Object-Oriented Modeling

COSC 3213: Computer Networks I Chapter 6 Handout # 7

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

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

Computergrafik. Matthias Zwicker. Herbst 2010

Image warping/morphing

REDUCTIONS BBM ALGORITHMS DEPT. OF COMPUTER ENGINEERING ERKUT ERDEM. Bird s-eye view. May. 12, Reduction.

Parametric curves. Brian Curless CSE 457 Spring 2016

Curves and Curved Surfaces. Adapted by FFL from CSE167: Computer Graphics Instructor: Ronen Barzel UCSD, Winter 2006

A Fast Non-Uniform Knots Placement Method for B-Spline Fitting

MOBILE COMPUTING 3/18/18. Wi-Fi IEEE. CSE 40814/60814 Spring 2018

MOBILE COMPUTING. Wi-Fi 9/20/15. CSE 40814/60814 Fall Wi-Fi:

Curves. Computer Graphics CSE 167 Lecture 11

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

Dgp _ lecture 2. Curves

COMPUTER AIDED GEOMETRIC DESIGN. Thomas W. Sederberg

Need for Parametric Equations

Optimal trajectory approximation by cubic splines on fed-batch control problems

IROS 2015 Workshop on On-line decision-making in multi-robot coordination (DEMUR 15)

Research Article Shape Preserving Interpolation Using C 2 Rational Cubic Spline

MORPHOLOGICAL SEGMENTATION OF IMAGE SEQUENCES

CS-184: Computer Graphics

Tracking Persons and Vehicles in Outdoor Image Sequences Using Temporal Spatio-Velocity Transform *

4 Error Control. 4.1 Issues with Reliable Protocols

Transcription:

arameric sline curves comuer grahics arameric curves 9 fabio ellacini curves used in many conexs fons animaion ahs shae modeling differen reresenaion imlici curves arameric curves mosly used comuer grahics arameric curves 9 fabio ellacini

imlici reresenaion for D curves curves can be reresened imlicily as f ( ) f ( x, y) examle: circle of radius r cenered a origin x y r comuer grahics arameric curves 9 fabio ellacini arameric reresenaion for D curves curves can be reresened aramerically as x f ( u) y f ( u) ( u) examle: circle of radius r cenered a origin x y x r cos( u) y r sin( u) comuer grahics arameric curves 9 fabio ellacini 4

arameric reresenaion of slines general arameric curve can be wrien as ( ) f ( ) [, N] goals when defining f smoohness redicable and local conrol efficiency comuer grahics arameric curves 9 fabio ellacini 5 arameric reresenaion of slines slines: iecewise arameric olynomials olynomials are smooh conrolled by small number of local conrol oins disconinuiies a ineger inervals ( ) f ( ) [, N] comuer grahics arameric curves 9 fabio ellacini 6

slines - inuiion define segmen by blending conrol oins join segmens o form curve comuer grahics arameric curves 9 fabio ellacini 7 defining slines ick segmen inerolaing funcion imose consrains o define segmens i.e. conrol oins ha define he sline imose consrains o join segmens ogeher comuer grahics arameric curves 9 fabio ellacini 8

inerolaing vs. aroximaing slines inerolaing ass hrough conrol oins aroximaing guided by conrol oins comuer grahics arameric curves 9 fabio ellacini 9 smoohness smoohness described by degree of coninuiy C : same osiion a each side of joins C : same angen a each side of joins C : same curvaure a each side of joins C n : n-h derivaive defined a joins comuer grahics arameric curves 9 fabio ellacini

conrol local conrol changing conrol oins only affec locally he curve easy o conrol rue for all slines comuer grahics arameric curves 9 fabio ellacini conrol convex hull roery convex hull: smalles convex region enclosing all oins redicable behavior more efficien oeraions only some slines yes no comuer grahics arameric curves 9 fabio ellacini

efficiency affine invariance ransforming he sline same as ransforming conrols efficien algorihms, es. combined wih convex hull rue for all used slines comuer grahics arameric curves 9 fabio ellacini iecewise linear slines each segmen is a linear funcion ( ) a b [,] imose endoin consrains () () a b ( ) ( ) [,] comuer grahics arameric curves 9 fabio ellacini 4

oin blending inerreaion can inerre as blending of oins ( ) ( ) b ( ) b ( ) blending funcions do no deend on oins differen inervals only change conrol oins [,) comuer grahics arameric curves 9 fabio ellacini 5 marix noaion wrie blending funcions more convenienly ( ) ( ) ( ) [ ] comuer grahics arameric curves 9 fabio ellacini 6

joining line segmens imose C coninuiy a joins firs segmen second segmen imlies ( ) ( ( ) () ) () () () () general formula aroriaely rename conrol oins ( ) b ( k) k b ( k) k [, N], k floor( ) comuer grahics arameric curves 9 fabio ellacini 7 Hermie slines each segmen is a cubic olynomial funcion ( ) a b c d imose endoins and angens consrains () () () () comuer grahics arameric curves 9 fabio ellacini 8

comuer grahics arameric curves 9 fabio ellacini 9 Hermie slines c b a d c b a ) ( ) ( d c b a () d () a b c d ʹ () c ʹ () a b c comuer grahics arameric curves 9 fabio ellacini Hermie marix formulaion blending funcions [ ] ) (

comuer grahics arameric curves 9 fabio ellacini Bezier slines Hermie slines has oins and vecors conrols would like o use jus oins insigh: secify angens as difference of oins choose aroriae scaling value, see laer comuer grahics arameric curves 9 fabio ellacini Bezier slines [ ] 6 ) ( ) ( ) (

Bezier slines blending funcions comuer grahics arameric curves 9 fabio ellacini iecewise cubic slines smoohness C a joins by imosing eual angens Hermie: same angens Bezier: collinear conrol oins geomeric coninuiy if lengh of angen differs comuer grahics arameric curves 9 fabio ellacini 4

iecewise cubic slines conrol local conrol comes from he formulaion by segmens for each segmen, curve defined by 4 conrol oins convex hull when blending osiions b ( ) i and i b ( ) i comuer grahics arameric curves 9 fabio ellacini 5 iecewise cubic slines affine invariance affine invariance affine is combinaion of linear and ranslaion blending funcions sum o X(()) M() M b i () i i b i ()M i b i () i i b i ()(M i ) b i ()X( i ) i i comuer grahics arameric curves 9 fabio ellacini 6

Bezier slines widely used, esecially in D rimiive in PDF reresen C and C curves wih corners easily add oin a any osiion comuer grahics arameric curves 9 fabio ellacini 7 Camull-Rom slines inerolaing sline no convex hull roery as Hermie, derivaives auomaically deermined using adjacen conrol oins end angen using eiher adding oin or zers comuer grahics arameric curves 9 fabio ellacini 8

Camull-Rom slines ( )/ k k k comuer grahics arameric curves 9 fabio ellacini 9 drawing slines aroximae wih a seuence of line segmens efficiency: fas evaluaion, small number of segmens guaranees on accuracy aroaches uniform subdivision in (fas) recursive subdivision (small number of segmens) comuer grahics arameric curves 9 fabio ellacini

uniform subdivision evaluae sline a fixed inervals can be done efficienly comuer grahics arameric curves 9 fabio ellacini adaive subdivision - Bezier recursively subdivide sline unil line segmens aroximae well curve comuer grahics arameric curves 9 fabio ellacini

comuer grahics arameric curves 9 fabio ellacini De Caseljau algorihm - Bezier recursively do connec midoins of he conrol olygons connec midoins of he new segmens he midoin of his las segmen is on he curve and slis he curve in wo Bezier segmens so when conrol olygon is close o collinear comuer grahics arameric curves 9 fabio ellacini 4 B-Slines would like C coninuiy a joins give u inerolaion imose coninuiy consrains a joins [ ] 4 6 6 ) ( k k k k

oher slines many oher yes non-uniform B-slines disconinuiies no evenly saces non-uniform raional B-slines (NURBS) raios of non-uniform B-slines invariance under ersecive can reresen conic secions exacly ofen used in D comuer grahics arameric curves 9 fabio ellacini 5 sline euivalence all slines seen so far are euivalen reresened by 4x4 marices can conver conrol oins from one o oher algorihms can be based on he mos efficien UIs can be based on he mos user-friendly comuer grahics arameric curves 9 fabio ellacini 6

D vs. D slines ofen use D slines in D by rojecing ono a lane D arameric slines have same formulaion jus use D vecors vs. D ones comuer grahics arameric curves 9 fabio ellacini 7