Statistical Geometry Processing Winter Semester 2011/2012 A Very - - PowerPoint PPT Presentation

β–Ά
statistical geometry processing
SMART_READER_LITE
LIVE PREVIEW

Statistical Geometry Processing Winter Semester 2011/2012 A Very - - PowerPoint PPT Presentation

Statistical Geometry Processing Winter Semester 2011/2012 A Very Short Primer on Signal Theory Topics Topics Fourier transform Theorems Analysis of regularly sampled signals Irregular sampling 2 Fourier Basis Fourier Basis


slide-1
SLIDE 1

A Very Short Primer on Signal Theory

Statistical Geometry Processing

Winter Semester 2011/2012

slide-2
SLIDE 2

2

Topics

Topics

  • Fourier transform
  • Theorems
  • Analysis of regularly sampled signals
  • Irregular sampling
slide-3
SLIDE 3

3

Fourier Basis

Fourier Basis

  • Function space: {𝑔: ℝ β†’ ℝ, 𝑔 sufficiently smooth}
  • Fourier basis can represent

– Functions of finite variation – Lipchitz-smooth functions

  • Basis: sine waves of different frequency and phase:
  • Real basis:

{sin 2πœŒπœ•π‘¦ , cos 2πœŒπœ•π‘¦ πœ• ∈ ℝ

  • Complex variant:

{π‘“βˆ’2πœŒπ‘—πœ•π‘¦ πœ• ∈ ℝ

(Eulerβ€˜s formula: 𝑓𝑗𝑦 = cos 𝑦 + 𝑗 sin 𝑦 )

slide-4
SLIDE 4

4

Fourier Transform

Fourier Basis properties:

  • Fourier basis: {π‘“βˆ’π‘—2πœŒπœ•π‘¦ πœ• ∈ ℝ
  • Orthogonal basis
  • Projection via scalar products οƒž Fourier transform
  • Fourier transform: (f: ℝ β†’ β„‚) β†’ F: ℝ β†’ β„‚

𝐺(πœ•) = 𝑔 𝑦 π‘“βˆ’2πœŒπ‘—π‘¦πœ•π‘’π‘¦

∞ βˆ’βˆž

  • Inverse Fourier transform: F: ℝ β†’ β„‚ β†’ (f: ℝ β†’ β„‚)

𝑔(πœ•) = 𝐺 𝑦 𝑓2πœŒπ‘—π‘¦πœ•π‘’π‘¦

∞ βˆ’βˆž

slide-5
SLIDE 5

5

Fourier Transform

Interpreting the result:

  • Transforming a real function f: ℝ β†’ ℝ
  • Result: F πœ• : ℝ β†’ β„‚
  • πœ• are frequencies (real)
  • Real input 𝑔:

Symmetric F βˆ’πœ• = F πœ•

  • Output are complex numbers

– Magnitude: β€œpower spectrum”

(frequency content)

– Phase: phase spectrum

(encodes shifts) πœ• = π‘“βˆ’π‘—π‘¦ πœ• βˆ‘πœ• Im Re

slide-6
SLIDE 6

6

Important Functions

Some important Fourier-transform pairs

  • Box function:

𝑔 𝑦 = box 𝑦 β†’ 𝐺 πœ• = sin πœ• πœ• ≔ sinc πœ•

  • Gaussian:

𝑔 𝑦 = π‘“βˆ’π‘π‘¦2 β†’ 𝐺 πœ• = 𝜌 𝑏 β‹… π‘“βˆ’ πœŒπœ• 2

𝑏

box(x) sinc(πœ•)

slide-7
SLIDE 7

7

Higher Dimensional FT

Multi-dimensional Fourier Basis:

  • Functions f: ℝ𝑒 β†’ β„‚
  • 2D Fourier basis:

𝑔(𝑦, 𝑧) represented as combination of {π‘“βˆ’π‘—2πœŒπœ•π‘¦π‘¦ β‹… π‘“βˆ’π‘—2πœŒπœ•π‘§π‘§ πœ•π‘¦, πœ•π‘§ ∈ ℝ

  • In general: all combinations of 1D functions
slide-8
SLIDE 8

8 8 / 116

Convolution

Convolution:

  • Weighted average of functions
  • Definition:

Example:



ο‚₯ ο‚₯ ο€­

ο€­ ο€½  dx t x g x f t g t f ) ( ) ( ) ( ) (

t g f



ο€½

slide-9
SLIDE 9

9

Theorems

Fourier transform is an isometry:

  • 𝑔, 𝑕 = 𝐺, 𝐻
  • In particular 𝑔

= 𝐺

Convolution theorem:

  • πΊπ‘ˆ 𝑔⨂𝑕 = 𝐺 β‹… G
  • Fourier Transform converts convolution into

multiplication

  • All other cases as well:

πΊπ‘ˆβˆ’1 𝑔 β‹… 𝑕 = 𝐺⨂G, πΊπ‘ˆ 𝑔 β‹… 𝑕 = 𝐺⨂G, πΊπ‘ˆβˆ’1 𝐺 β‹… 𝐻 = 𝐺⨂G

  • Fourier basis diagonalizes shift-invariant linear operators
slide-10
SLIDE 10

10

Sampling a Signal

Given:

  • Signal 𝑔: ℝ β†’ ℝ
  • Store digitally:
  • Sample regularly … 𝑔 0.3 , 𝑔 0.4 , 𝑔 0.5 …
  • Question: what information is lost?
slide-11
SLIDE 11

11

Sampling

slide-12
SLIDE 12

12

Regular Sampling

Results: Sampling

  • Band-limited signals can be represented exactly
  • Sampling with frequency πœ‰π‘‘:

Highest frequency in Fourier spectrum ≀ πœ‰π‘‘/2

  • Higher frequencies alias
  • Aliasing artifacts (low-frequency patterns)
  • Cannot be removed after sampling (loss of information)

band-limited aliasing

slide-13
SLIDE 13

13

Regular Sampling

Result: Reconstruction

  • When reconstructing from discrete samples
  • Use band-limited basis functions
  • Highest frequency in Fourier spectrum ≀ πœ‰π‘‘/2
  • Otherwise: Reconstruction aliasing
slide-14
SLIDE 14

14

Regular Sampling

Reconstruction Filters

  • Optimal filter: sinc

(no frequencies discarded)

  • However:
  • Ringing artifacts in spatial domain
  • Not useful for images (better for audio)
  • Compromise
  • Gaussian filter

(most frequently used)

  • There exist better ones,

such as Mitchell-Netravalli, Lancos, etc...

2D sinc 2D Gaussian

slide-15
SLIDE 15

15

Irregular Sampling

Irregular Sampling

  • No comparable formal theory
  • However: similar idea
  • Band-limited by β€œsampling frequency”
  • Sampling frequency = mean sample spacing

– Not as clearly defined as in regular grids – May vary locally (adaptive sampling)

  • Aliasing
  • Random sampling creates noise as aliasing artifacts
  • Evenly distributed sample concentrate noise in higher frequency

bands in comparison to purely random sampling

slide-16
SLIDE 16

16

Consequences for our applications

When designing bases for function spaces

  • Use band-limited functions
  • Typical scenario:
  • Regular grid with spacing 𝜏
  • Grid points 𝐑𝑗
  • Use functions: exp βˆ’ π²βˆ’π‘π‘— 2

𝜏2

  • Irregular sampling:
  • Same idea
  • Use estimated sample spacing instead of grid width
  • Set 𝜏 to average sample spacing to neighbors