Download presentation
Presentation is loading. Please wait.
Published byEdmund Barnett Modified over 9 years ago
1
Transforms
2
5*sin (2 4t) Amplitude = 5 Frequency = 4 Hz seconds A sine wave
3
5*sin(2 4t) Amplitude = 5 Frequency = 4 Hz Sampling rate = 256 samples/second seconds Sampling duration = 1 second A sine wave signal
4
An undersampled signal
5
The Nyquist Frequency The Nyquist frequency is equal to one-half of the sampling frequency. The Nyquist frequency is the highest frequency that can be measured in a signal.
6
Fourier series Periodic functions and signals may be expanded into a series of sine and cosine functions
7
The Fourier Transform A transform takes one function (or signal) and turns it into another function (or signal)
8
The Fourier Transform A transform takes one function (or signal) and turns it into another function (or signal) Continuous Fourier Transform: close your eyes if you don’t like integrals
9
The Fourier Transform A transform takes one function (or signal) and turns it into another function (or signal) Continuous Fourier Transform:
10
A transform takes one function (or signal) and turns it into another function (or signal) The Discrete Fourier Transform: The Fourier Transform
11
Fast Fourier Transform The Fast Fourier Transform (FFT) is a very efficient algorithm for performing a discrete Fourier transform FFT principle first used by Gauss in 18?? FFT algorithm published by Cooley & Tukey in 1965 In 1969, the 2048 point analysis of a seismic trace took 13 ½ hours. Using the FFT, the same task on the same machine took 2.4 seconds!
12
Famous Fourier Transforms Sine wave Delta function
13
Famous Fourier Transforms Gaussian
14
Famous Fourier Transforms Sinc function Square wave
15
Famous Fourier Transforms Sinc function Square wave
16
Famous Fourier Transforms Exponential Lorentzian
17
FFT of FID
20
Effect of changing sample rate
22
Lowering the sample rate: –Reduces the Nyquist frequency, which –Reduces the maximum measurable frequency –Does not affect the frequency resolution
23
Effect of changing sampling duration
25
Reducing the sampling duration: –Lowers the frequency resolution –Does not affect the range of frequencies you can measure
26
Effect of changing sampling duration
28
Measuring multiple frequencies
31
L: period; u and v are the number of cycles fitting into one horizontal and vertical period, respectively of f(x,y).
32
Discrete Fourier Transform
33
Discrete Fourier Transform (DFT). When applying the procedure to images, we must deal explicitly with the fact that an image is: –Two-dimensional –Sampled –Of finite extent These consideration give rise to the The DFT of an NxN image can be written:
34
Discrete Fourier Transform For any particular spatial frequency specified by u and v, evaluating equation 8.5 tell us how much of that particular frequency is present in the image. There also exist an inverse Fourier Transform that convert a set of Fourier coefficients into an image.
35
PSD The magnitudes correspond to the amplitudes of the basic images in our Fourier representation. The array of magnitudes is termed the amplitude spectrum (or sometime ‘spectrum’). The array of phases is termed the phase spectrum. The power spectrum is simply the square of its amplitude spectrum:
36
FFT The Fast Fourier Transform is one of the most important algorithms ever developed –Developed by Cooley and Tukey in mid 60s. –Is a recursive procedure that uses some cool math tricks to combine sub-problem results into the overall solution.
37
DFT vs FFT
40
Periodicity assumption The DFT assumes that an image is part of an infinitely repeated set of “tiles” in every direction. This is the same effect as “circular indexing”.
41
Periodicity and Windowing Since “tiling” an image causes “fake” discontinuities, the spectrum includes “fake” high- frequency components Spatial discontinuities
42
Discrete Cosine Transform Real-valued
43
DCT in Matrix Form
44
Discrete Sine Transform Most Convenient when N=2 p - 1
45
DST in Matrix Form
46
DCT Basis Functions*
47
(Log Magnitude) DCT Example*
48
Hartley Transform Alternative to Fourier Produces N Real Numbers Use Cosine Shifted 45 o to the Right
49
Square Hartley Transform
50
Rectangular Hartley Transform
51
Hartley in Matrix Form
52
What is an even function? the function f is even if the following equation holds for all x in the domain of f:
53
Hartley Convolution Theorem Computational Alternative to Fourier Transform If One Function is Even, Convolution in one Domain is Multiplication in Hartley Domain
54
Rectangular Wave Transforms Binary Valued {1, -1} Fast to Compute Examples –Hadamard –Walsh –Slant –Haar
55
Hadamard Transform Consists of elements of +/- 1 A Normalized N x N Hadamard matrix satisfies the relation H H t = I
56
Walsh Transform, N=4 * Gonzalez, Wintz
57
Non-ordered Hadamard Transform H 8
58
Sequency In a Hadamard Transform, the Number of Sign Changes in a Row Divided by Two It is Possible to Construct an H matrix with Increasing Sequency per row
59
Ordered Hadamard Transform
60
Ordered Hadamard Transform * * Gonzalez, Wintz
61
Haar Transform Derived from Haar Matrix Sampling Process in which Subsequent Rows Sample the Input Data with Increasing Resolution Different Types of Differential Energy Concentrated in Different Regions –Power taken two at a time –Power taken a power of two at a time, etc.
62
Haar Transform *, H 4 * Castleman
63
Karhunen-Loeve Transform Variously called the K-L, Hotelling, or Eignevector Continuous Form Developed by K-L Discrete Version Credited to Hotelling Transforms a Signal into a Set of Uncorrelated Representational Coefficients Keep Largest Coefficients for Image Compression
64
Discrete K-L
65
Singular Value Decomposition
66
If A is symmetric, then U=V Kernel Depends on Image Being Transformed Need to Compute AA t and A t A and Find the Eigenvalues Small Values can be Ignored to Yield Compression
67
Transform Domain Filtering Similar to Fourier Domain Filtering Applicable to Images in which Noise is More Easily Represented in Domain other than Fourier –Vertical and horizontal line detection: Haar transform produces non-zero entries in first row and/or first column
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.