Statistical Geometry Processing Winter Semester 2011/2012 A Very - - PowerPoint PPT Presentation
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
2
Topics
Topics
- Fourier transform
- Theorems
- Analysis of regularly sampled signals
- Irregular sampling
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 π¦ )
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πππ¦πππ¦
β ββ
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
6
Important Functions
Some important Fourier-transform pairs
- Box function:
π π¦ = box π¦ β πΊ π = sin π π β sinc π
- Gaussian:
π π¦ = πβππ¦2 β πΊ π = π π β πβ ππ 2
π
box(x) sinc(π)
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
8 8 / 116
Convolution
Convolution:
- Weighted average of functions
- Definition:
Example:
ο²
ο₯ ο₯ ο
ο ο½ ο dx t x g x f t g t f ) ( ) ( ) ( ) (
t g f
ο
ο½
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
10
Sampling a Signal
Given:
- Signal π: β β β
- Store digitally:
- Sample regularly β¦ π 0.3 , π 0.4 , π 0.5 β¦
- Question: what information is lost?
11
Sampling
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
13
Regular Sampling
Result: Reconstruction
- When reconstructing from discrete samples
- Use band-limited basis functions
- Highest frequency in Fourier spectrum β€ ππ‘/2
- Otherwise: Reconstruction aliasing
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
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
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