Lecture 18: Fourier Decomposition, Circular Functions, Spherical - - PowerPoint PPT Presentation

lecture 18 fourier decomposition circular functions
SMART_READER_LITE
LIVE PREVIEW

Lecture 18: Fourier Decomposition, Circular Functions, Spherical - - PowerPoint PPT Presentation

Lecture 18: Fourier Decomposition, Circular Functions, Spherical Harmonics COMPSCI/MATH 290-04 Chris Tralie, Duke University 3/22/2016 COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har Announcements


slide-1
SLIDE 1

Lecture 18: Fourier Decomposition, Circular Functions, Spherical Harmonics

COMPSCI/MATH 290-04

Chris Tralie, Duke University

3/22/2016

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-2
SLIDE 2

Announcements

⊲ Midterms graded

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-3
SLIDE 3

Announcements

⊲ Midterms graded ⊲ Group Assignment 1 Graded, Art contest up online (great work!!)

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-4
SLIDE 4

Announcements

⊲ Midterms graded ⊲ Group Assignment 1 Graded, Art contest up online (great work!!) ⊲ Group Assignment 2 Due Wednesday 3/30 ⊲ Piazza hours 8-9PM week nights (student Piazza answers encouraged)

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-5
SLIDE 5

Announcements

⊲ Midterms graded ⊲ Group Assignment 1 Graded, Art contest up online (great work!!) ⊲ Group Assignment 2 Due Wednesday 3/30 ⊲ Piazza hours 8-9PM week nights (student Piazza answers encouraged) ⊲ T.A.s grading mini assignment 3

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-6
SLIDE 6

Announcements

⊲ Midterms graded ⊲ Group Assignment 1 Graded, Art contest up online (great work!!) ⊲ Group Assignment 2 Due Wednesday 3/30 ⊲ Piazza hours 8-9PM week nights (student Piazza answers encouraged) ⊲ T.A.s grading mini assignment 3 ⊲ No more extra credit for now

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-7
SLIDE 7

Announcements

⊲ Midterms graded ⊲ Group Assignment 1 Graded, Art contest up online (great work!!) ⊲ Group Assignment 2 Due Wednesday 3/30 ⊲ Piazza hours 8-9PM week nights (student Piazza answers encouraged) ⊲ T.A.s grading mini assignment 3 ⊲ No more extra credit for now ⊲ Final project directions sent out, first milestone due Friday 4/8 ⊲ Ditching Wikipedia entry, final project now worth 30 %

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-8
SLIDE 8

Table of Contents

◮ 1D Fourier Decomposition / Circle Functions ⊲ 2D Fourier Modes ⊲ Spherical Harmonics

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-9
SLIDE 9

Why Fourier?? (Interlude)

Hey Chris, isn’t this a course on 3D geometry?? Why Fourier???

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-10
SLIDE 10

Why Fourier?? (Interlude)

Hey Chris, isn’t this a course on 3D geometry?? Why Fourier??? ⊲ Most CS majors don’t know about it, but extremely important

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-11
SLIDE 11

Why Fourier?? (Interlude)

Hey Chris, isn’t this a course on 3D geometry?? Why Fourier??? ⊲ Most CS majors don’t know about it, but extremely important ⊲ Picks up on “shape” in a different way

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-12
SLIDE 12

Why Fourier?? (Interlude)

Hey Chris, isn’t this a course on 3D geometry?? Why Fourier??? ⊲ Most CS majors don’t know about it, but extremely important ⊲ Picks up on “shape” in a different way ⊲ Entry point into harmonic analysis, nonrigid surface statistics

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-13
SLIDE 13

Sinusoid Review

f(x) = A cos(ωx + φ) f(x) = (A cos(φ))cos(ωx) − (A sin(φ))sin(ωx)

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-14
SLIDE 14

Sinusoid Review

f(x) = A cos(ωx + φ) f(x) = (A cos(φ))cos(ωx) − (A sin(φ))sin(ωx) f(x) = a cos(ωx) + b sin(ωx) A =

  • a2 + b2, φ = tan−1(b

a)

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-15
SLIDE 15

Sinusoid Review

f(x) = A cos(ωx + φ) f(x) = (A cos(φ))cos(ωx) − (A sin(φ))sin(ωx) f(x) = a cos(ωx) + b sin(ωx) A =

  • a2 + b2, φ = tan−1(b

a) In polar form f(x) = Aei(ωx+φ) = Aeiφeiωx = A(cos(θ) + i sin(θ))eiωx

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-16
SLIDE 16

Sinusoid Example

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-17
SLIDE 17

Sinusoid Example

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-18
SLIDE 18

Sinusoid Example

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-19
SLIDE 19

Fourier Decomposition

f[n] =

N−1

  • k=0

ak cos 2πk N n

  • + bk sin

2πk N n

  • Amplitude at frequency index k is
  • a2

k + b2 k

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-20
SLIDE 20

Fourier Decomposition: Gaussian Examples

Show video frames

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-21
SLIDE 21

Fourier Decomposition: Gaussian Examples

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-22
SLIDE 22

Fourier Decomposition: Gaussian Examples

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-23
SLIDE 23

Fourier Decomposition: Ramp Example

Show video frames

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-24
SLIDE 24

Fourier Decomposition: Ramp Example

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-25
SLIDE 25

Fourier Decomposition: Ramp Example

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-26
SLIDE 26

Fourier Decomposition: Ramp Example

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-27
SLIDE 27

Fourier Decomposition: Ramp Example

Continuous shifting videos

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-28
SLIDE 28

Functions on The Circle

Show circle wrap video

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-29
SLIDE 29

Functions on The Circle

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-30
SLIDE 30

Phase as a rotation g(x) = f(x + φ) Show video

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-31
SLIDE 31

Table of Contents

⊲ 1D Fourier Decomposition / Circle Functions ◮ 2D Fourier Modes ⊲ Spherical Harmonics

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-32
SLIDE 32

2D Sinusoids (aka “Plane Waves”)

f(x, y) = cos(ωxx + ωyy + φ) f(x, y) = cos( ω · x + φ)

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-33
SLIDE 33

2D Sinusoids: Example

f(x, y) = cos(x + y), ωx = 1, ωy = 1

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-34
SLIDE 34

2D Sinusoids: Example

f(x, y) = cos(2x + 2y), ωx = 2, ωy = 2

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-35
SLIDE 35

2D Sinusoids: Example

f(x, y) = cos(x + 2y), ωx = 1, ωy = 2

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-36
SLIDE 36

2D Sinusoids: Example

f(x, y) = cos(x), ωx = 1, ωy = 0

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-37
SLIDE 37

2D Sinusoids: Example

f(x, y) = cos(1.5y), ωx = 0, ωy = 1.5

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-38
SLIDE 38

2D Sinusoids: Interference Pattern

f(x, y) = cos(x + y) + cos(x − y)

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-39
SLIDE 39

2D Sinusoids: Interference Pattern

f(x, y) = cos(2x + y) + cos(2x − y)

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-40
SLIDE 40

2D Sinusoids: Interference Pattern

f(x, y) = cos(3x + 2y) + cos(3x − 2y)

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-41
SLIDE 41

2D Sinusoids: Interference

Why is this happening? g(x, y) = cos(ωxx + ωyy) + cos(ωxx − ωyy)

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-42
SLIDE 42

2D Sinusoids: Interference

Why is this happening? g(x, y) = cos(ωxx + ωyy) + cos(ωxx − ωyy) g(x, y) = cos(ωxx) cos(ωyy) − sin(ωxx) sin(ωyy) + cos(ωxx) cos(ωyy) + sin(ωxx) sin(ωyy)

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-43
SLIDE 43

2D Sinusoids: Interference

Why is this happening? g(x, y) = cos(ωxx + ωyy) + cos(ωxx − ωyy) g(x, y) = cos(ωxx) cos(ωyy) − sin(ωxx) sin(ωyy) + cos(ωxx) cos(ωyy) + sin(ωxx) sin(ωyy) g(x, y) = 2 cos(ωxx) cos(ωyy)

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-44
SLIDE 44

Table of Contents

⊲ 1D Fourier Decomposition / Circle Functions ⊲ 2D Fourier Modes ◮ Spherical Harmonics

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-45
SLIDE 45

Spherical Coordinates Review

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-46
SLIDE 46

Spherical Harmonics

Y m

l

∝ Pm

l (cos(θ))eimφ

Interactive Demo

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har

slide-47
SLIDE 47

Spherical Harmonic Shape Descriptors

Show Tom’s paper

COMPSCI/MATH 290-04 Lecture 18: Fourier Decomposition, Circular Functions, Spherical Har