mat4170/9170 - lecture 1 - 17/1-2018 - uio.no · i mer avanserte matematiske formater for...

25
1 January 23, 2018 MAT4170/9170 - Lecture 1 - 17/1-2018 Me: Martin Reimers, Professor computational mathematics > martinre [snabela] math.uio.no You? Need a student representative ("Tillitsstudent") > Kristian Haug (krimha [snabela] student.matnat.uio.no) The course: > 10 credits/studiepoeng > About 17 lectures, wednesdays 1015-1200 http://www.uio.no/studier/emner/matnat/math/MAT4170/v18/timeplan/index.html > Lecture notes: posted after each lecture > Curriculum: From the Compendium http://www.uio.no/studier/emner/matnat/math/MAT4170/v18/pensumliste/index.html > 4 obligatory exercises (obligs). All must be passed > Oblig tutorials before and after submission (tuesdays) > Weekly problems > Oral exam may/june > Recommended Prerequisites MAT1100, MAT1110, MAT1120, MAT-INF1100, INF1100 Programming: C++, matlab, python, ... > Additional reading (not required): G. Farin. "Curves and surfaces for CAGD: a practical guide" C. Deboor "A practical Guide to Splines" L. Schumaker "Spline Functions: basic theory" > Learning outcomes: spline methods for modelling curves and surfaces, with emphasis both on the mathematical theory and practical methods > Intro slides

Upload: dangkien

Post on 31-Aug-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

1

January 23, 2018

MAT4170/9170 - Lecture 1 - 17/1-2018

• Me: Martin Reimers, Professor computational mathematics > martinre [snabela] math.uio.no

• You?

• Need a student representative ("Tillitsstudent")> Kristian Haug (krimha [snabela] student.matnat.uio.no)

• The course:

> 10 credits/studiepoeng

> About 17 lectures, wednesdays 1015-1200– http://www.uio.no/studier/emner/matnat/math/MAT4170/v18/timeplan/index.html

> Lecture notes: posted after each lecture

> Curriculum: From the Compendium– http://www.uio.no/studier/emner/matnat/math/MAT4170/v18/pensumliste/index.html

> 4 obligatory exercises (obligs). All must be passed

> Oblig tutorials before and after submission (tuesdays)

> Weekly problems

> Oral exam may/june

> Recommended Prerequisites– MAT1100, MAT1110, MAT1120, MAT-INF1100, INF1100– Programming: C++, matlab, python, ...

> Additional reading (not required):– G. Farin. "Curves and surfaces for CAGD: a practical guide"– C. Deboor "A practical Guide to Splines" – L. Schumaker "Spline Functions: basic theory"

> Learning outcomes: spline methods for modelling curves and surfaces, with emphasis both on the mathematical theory and practical methods

> Intro slides

Page 2: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

MAT4170/9170Spline Methods

Introlecture 17. january 2018

Page 3: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

SplinesPiecewise polynomials

Page 4: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

SplinesPiecewise polynomials

Page 5: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

SplinesPiecewise polynomials

Page 6: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

SplinesPiecewise polynomials

Page 7: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

Spline-applicationsLots of applications, and interesting research!

Representing functions, curves and surfacesFonts, data-approximation, statistics,…

CAD/CAM

Entertainment: movies, games

Finite element methods – isogeometric analysis

Machine Learning / Neural networks

…..

Page 8: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

Spline-applicationsRepresenting functions, curves and surfaces

Page 9: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

Spline-applicationsAnimation movies, special effectsGeometrisk modellering - glattere flater

I Mer avanserte matematiske formater for glatt/krum geometri,f.eks splines

I tilsvarende vektor format for bilder

I Enklere a editere/animere/komprimere/transportere

I ... mer beregninger for a tegne (konvertere til trekanter)

Page 10: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

Spline-applicationsGames

Data-grafikk - kantete silhouetter

Tekstur gir inntrykk av pen og glatt geometri

... men ikke langs silhouettene!

Page 11: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

Spline-applicationsCAD/CAM Composing patches ...

Nice shading/reflections reveal continuity

How to render spline patches? Convert to triangles ...

Page 7

Page 12: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

Spline-applicationsIsogeometric analysis

Page 13: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

Spline-applicationsMachine Learning

Page 14: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

2

January 23, 2018

Section 1 - Introduction• Basic concepts, how to construct curves in the plane

Page 15: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

3

January 23, 2018

Affine and convex combinations

Page 16: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

4

January 23, 2018

Convex HullsMengden av alle punkter

Page 17: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

5

January 23, 2018

Line Segments

Kan kombinere slike segmenter til en stykkevist lineær kurve

Lineær parametrisk kurve/avbildning

Page 18: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

6

January 23, 2018

Functions vs Parametric Curves

Page 19: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

7

January 23, 2018

Interpolating Curves by affine combinations

Can combine parametric line segments by affine combination,

to form interpolating quadratic curve:

where

Page 20: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

8

January 23, 2018

Examples

Page 21: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

9

January 23, 2018

Interpolating curves - cubicsCan combine quadratics, to form interpolating cubics

Page 22: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

10

January 23, 2018

Interpolation - repeated affine combinations

Page 23: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

11

January 23, 2018

Combining Curves by convex combinations

Combine line segments by convex combinations, to form a quadratic curve

where

Page 24: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

12

January 23, 2018

Bezier curves

Explicit form:

=> convex combination

of ci's

Page 25: MAT4170/9170 - Lecture 1 - 17/1-2018 - uio.no · I Mer avanserte matematiske formater for glatt/krum geometri, f.eks splines I tilsvarende vektor format for bilder ... Interpolating

13

January 23, 2018

Examples: quadratic Bezier curves