150 likes | 249 Views
Announcements. Take home quiz given out Thursday 10/23 Due 10/30. Office hours tomorrow at 1:30-2:30. I’ll be around a lot tomorrow, so you can also drop by or send email. Web page updated. Reminder: Fourier Transform. P=(x,y) means P = x(1,0)+y(0,1) Similarly: .
E N D
Announcements • Take home quiz given out Thursday 10/23 • Due 10/30. • Office hours tomorrow at 1:30-2:30. I’ll be around a lot tomorrow, so you can also drop by or send email. • Web page updated.
Reminder: Fourier Transform • P=(x,y) means P = x(1,0)+y(0,1) • Similarly: Note, I’m showing non-standard basis, these are from basis using complex functions.
Orthonormal Basis • ||(1,0)||=||(0,1)||=1 • (1,0).(0,1)=0 • Similarly we use normal basis elements eg: • While, eg:
Convolution Imagine that we generate a point in f by centering h over the corresponding point in g, then multiplying g and h together, and integrating.
Problem with Fourier Transform Images contain different objects, of different sizes, with different types of textures. So interesting features are spatially localized, occur at different scales, and different frequencies.
So, what’s the right representation? • Fourier transform good for accurate rep. of entire image. • We want a representation in which interesting events are captured in one or few elements. • This means spatially localized. • At the same time frequency information needed. • Better rep. for discontinuities.
Localize in a space and frequency Space Frequency In general, we can localize in space or frequency but not both (Heisenberg).
But we can trade-off • Example: Gabor function. • Gaussian times sine or cosine. • Using convolution theorem, fourier transform is a shifted Gaussian. • Model for neurons in visual cortex.
Wavelet Transforms • The mother wavelet, y, is a smooth function: • Zero avg. • ||y|| = 1 • Centered at t = 0. • Wavelet atom is translated and dilated version: We convolve the signal with these wavelets.
Redundancy/Orthogonality • If we apply these at all scales and translations, we represent a 1D signal in 2D. So they are redundant. • And they are not orthogonal. • Of course some discretization is needed.
Wavelet Basis • Subsample wavelets so that an orthogonal set is chosen that spans the space of functions. • Sample scales by factor of 2 • Sample translates so functions orthogonal.
Example, Haar wavelet Translate by multiples of 1, scale by factors of 2. We can verify that these are orthonormal.
Every function representable by Haar wavelets • Function must have zero mean. • Add DC component to basis. • Divide function in half. Haar allows us to represent each half by its average. • Each half is a zero mean function. • Repeat recursively. • In limit, each tiny part of function is represented by constant function at its mean.
Pros and cons of basis • Orthonormal basis good for compression. • Represents signals with independent components. • Output sensitive to translation. • Alternative; apply wavelets at many more translations.
Efficient Transforms • Straightforward transform is to multiply function by each basis function and integrate. • Fast fourier transform reduces cost of fourier transform. • Subband coding efficient wavelet transform.