1cs542g-term1-2006 Notes  Added required reading to web (numerical disasters)

Slides:



Advertisements
Similar presentations
Radial Basis Functions for Computer Graphics
Advertisements

An Architecture for Real-Time Vertebrae Drilling Simulation.
Kriging.
Multi-Dimensional Data Interpolation Greg Beckham Nawwar.
Interpolation Methods
Interpolation By Radial Basis Function ( RBF ) By: Reihane Khajepiri, Narges Gorji Supervisor: Dr.Rabiei 1.
Lecture 18 - Numerical Differentiation
Data mining and statistical learning - lecture 6
MATH 685/ CSI 700/ OR 682 Lecture Notes
Chapter 18 Interpolation The Islamic University of Gaza
1 Chapter 4 Interpolation and Approximation Lagrange Interpolation The basic interpolation problem can be posed in one of two ways: The basic interpolation.
1 Curve-Fitting Spline Interpolation. 2 Curve Fitting Regression Linear Regression Polynomial Regression Multiple Linear Regression Non-linear Regression.
Computational Methods in Physics PHYS 3437
EARS1160 – Numerical Methods notes by G. Houseman
ES 240: Scientific and Engineering Computation. InterpolationPolynomial  Definition –a function f(x) that can be written as a finite series of power functions.
Splines II – Interpolating Curves
1Notes  Assignment 0 is due today!  To get better feel for splines, play with formulas in MATLAB!
Notes Assignment questions… cs533d-winter-2005.
1cs542g-term Notes  Assignment 1 will be out later today (look on the web)
1cs533d-term Notes  Assignment 2 is up. 2cs533d-term Modern FEM  Galerkin framework (the most common)  Find vector space of functions that.
1cs542g-term Notes  Preemptive make-up lecture this week  Assignment 2 due by tomorrow morning  Assignment 3 coming soon.
1cs542g-term Notes  Make-up lecture tomorrow 1-2, room 204.
Section 4.2 Fitting Curves and Surfaces by Least Squares.
Kernel methods - overview
1cs542g-term Notes  Simpler right-looking derivation (sorry):
Curve-Fitting Interpolation
3D Geometry for Computer Graphics. 2 The plan today Least squares approach  General / Polynomial fitting  Linear systems of equations  Local polynomial.
Appearance Models Shape models represent shape variation Eigen-models can represent texture variation Combined appearance models represent both.
Curve-Fitting Regression
Engineering Computation Curve Fitting: Interpolation 1
Curve-Fitting Polynomial Interpolation
Polynomial Interpolation
1cs533d-winter-2005 Notes  Some example values for common materials: (VERY approximate) Aluminum: E=70 GPa =0.34 Concrete:E=23 GPa =0.2 Diamond:E=950.
1cs533d-term Notes. 2 Poisson Ratio  Real materials are essentially incompressible (for large deformation - neglecting foams and other weird composites…)
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 24 Regression Analysis-Chapter 17.
Lecture 9 Interpolation and Splines. Lingo Interpolation – filling in gaps in data Find a function f(x) that 1) goes through all your data points 2) does.
Computer Graphics Recitation The plan today Least squares approach  General / Polynomial fitting  Linear systems of equations  Local polynomial.
Chapter 6 Numerical Interpolation
Machine Learning CUNY Graduate Center Lecture 3: Linear Regression.
Motion Blending (Multidimensional Interpolation) Jehee Lee.
CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering HW 5 Repeat the HW associated with the FD LBI except that you will now use.
Finite Element Method.
Extrapolation Models for Convergence Acceleration and Function ’ s Extension David Levin Tel-Aviv University MAIA Erice 2013.
Part 4 Chapter 17 Polynomial Interpolation PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright © The McGraw-Hill.
Polynomial Interpolation You will frequently have occasions to estimate intermediate values between precise data points. The function you use to interpolate.
C GasparAdvances in Numerical Algorithms, Graz, Fast interpolation techniques and meshless methods Csaba Gáspár Széchenyi István University, Department.
Course 13 Curves and Surfaces. Course 13 Curves and Surface Surface Representation Representation Interpolation Approximation Surface Segmentation.
6. Introduction to Spectral method. Finite difference method – approximate a function locally using lower order interpolating polynomials. Spectral method.
Image Morphing ( Computational Photography) Jehee Lee Seoul National University With a lot of slides stolen from Alexei Efros and Seungyong Lee.
INFORMATIK A Multi-scale Approach to 3D Scattered Data Interpolation with Compactly Supported Basis Functions Yutaka Ohtake Yutaka Ohtake Alexander Belyaev.
Notes – 2/13 Addition Method of solving a System of Equations Also called the Elimination Method.
Interactive Graphics Lecture 10: Slide 1 Interactive Computer Graphics Lecture 10 Introduction to Surface Construction.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 4 Chapter 15 General Least Squares and Non- Linear.
Application: Multiresolution Curves Jyun-Ming Chen Spring 2001.
1 Chapter 4 Interpolation and Approximation Lagrange Interpolation The basic interpolation problem can be posed in one of two ways: The basic interpolation.
Professor William H. Press, Department of Computer Science, the University of Texas at Austin1 Opinionated in Statistics by Bill Press Lessons #46 Interpolation.
Intro. ANN & Fuzzy Systems Lecture 24 Radial Basis Network (I)
Basis Expansions and Generalized Additive Models Basis expansion Piecewise polynomials Splines Generalized Additive Model MARS.
LECTURE 17: BEYOND LINEARITY PT. 2 March 30, 2016 SDS 293 Machine Learning.
Interpolation Local Interpolation Methods –IDW – Inverse Distance Weighting –Natural Neighbor –Spline – Radial Basis Functions –Kriging – Geostatistical.
Introduction to Parametric Curve and Surface Modeling.
Interpolation - Introduction
Polynomial Interpolation
Curve-Fitting Spline Interpolation
Find all solutions of the polynomial equation by factoring and using the quadratic formula. x = 0 {image}
Lecture 24 Radial Basis Network (I)
LINEAR EQUATIONS.
Introduction to Parametric Curve and Surface Modeling
SKTN 2393 Numerical Methods for Nuclear Engineers
LINEAR EQUATIONS.
Presentation transcript:

1cs542g-term Notes  Added required reading to web (numerical disasters)

2cs542g-term Interpolation in 1D  Linear interpolation  Polynomial interpolation Lagrange formula Dangers  Splines and more  Can be extended to 2d etc with tensor products

3cs542g-term Function Space Interpretation  Rather than think of it as a discrete problem: “How do I estimate function at a given point given data at nearby points” think in terms of function space: “Which function from my chosen space fits the data?”  This perspective will come up again and again

4cs542g-term D Function Spaces  Piecewise-linear interpolation  Polynomial interpolation  Splines  Choice of basis

5cs542g-term Scattered Data Interpolation  Look at something more interesting  Arbitrarily scattered data points in multiple dimensions  How do we fit a smooth surface through them?  Triangulation  Radial Basis Functions  Moving Least-Squares

6cs542g-term Triangulation  First construct a mesh through the data points  Then interpolate on each triangle separately  In 2D this works fine  In 3D (tetrahedralization) it gets tricky  Doesn’t scale well past 3D  We’ll talk about mesh generation later

7cs542g-term Radial Basis Functions (RBF)  Assume data is in the span of a set of radial basis functions  Solve for the right coefficients

8cs542g-term RBF + polynomials  Problem: RBF’s can’t even get constants correct  Fix by adding a low order polynomial term  Under-constrained system!  What extra constraints should we add?

9cs542g-term PDE Interpretation  Think of the problem physically: what problem are we really solving? (another perspective which will come up again and again)  We want the smoothest surface which goes through the given points  Define smoothest, then solve the problem exactly (gives a differential equation…)

10cs542g-term First Try in 1D  Try to minimize a measure of how ‘wobbly’ the function is:  Calculus of variations gives:

11cs542g-term Exact Solution  Direct method: differential equation has piecewise linear solution But this is too hard to do directly in more dimensions…  Method of fundamental solution: First find a function that satisfies Simplest (symmetric) answer is:

12cs542g-term Fundamental Solution…  Then we know the exact solution is of the form  The constant A doesn’t affect f’  Also want f’  0 at infinity  Away from all data points, f’ is proportional to

13cs542g-term Simple 1D RBF  Putting this together, our equations are then:  n+1 linear equations for n+1 unknowns

14cs542g-term Smoother Interpolation  Minimize curvature  Calculus of variations gives us:

15cs542g-term Smoother Fundamental Solution  Our basis function is now and we also include a linear term in polynomial (doesn’t change f’’)  So our solution is of the form:

16cs542g-term Boundedness  Outside of the data points, f’’ is:  Setting this to zero gives two conditions on the coefficients…  n+2 equations for n+2 unknowns

17cs542g-term More Dimensions  Same approach generalizes  E.g. “thin-plate spline” comes out of  The Laplacian  is a measure of mean curvature  Calculus of variations gives the “biharmonic equation”:

18cs542g-term Thin-Plate Spline  In 2D, fundamental solution is proportional to and in 3D:  Include a linear polynomial  Boundedness conditions are:

19cs542g-term Other RBF’s  Other basis functions can be used of course  Usual alternatives: Triharmonic basis function: Multiquadric: Gaussian:  With or without low order polynomial

20cs542g-term The Equations  In all cases, we end up with a linear system to solve  How do we solve it?  Gaussian Elimination is the usual answer