G52IIP, School of Computer Science, University of Nottingham 1 Image Transforms Fourier Transform Basic idea.

Slides:



Advertisements
Similar presentations
DCSP-11 Jianfeng Feng
Advertisements

Fourier Transform (Chapter 4)
Chapter Four Image Enhancement in the Frequency Domain.
Chap 4 Image Enhancement in the Frequency Domain.
Digital Image Processing
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 3: Sampling and Reconstruction Ravi Ramamoorthi Some slides.
Sep 16, 2005CS477: Analog and Digital Communications1 LTI Systems, Probability Analog and Digital Communications Autumn
Chapter 4 Image Enhancement in the Frequency Domain.
Sep 15, 2005CS477: Analog and Digital Communications1 Modulation and Sampling Analog and Digital Communications Autumn
CSCE 641 Computer Graphics: Image Sampling and Reconstruction Jinxiang Chai.
Sampling (Section 4.3) CS474/674 – Prof. Bebis. Sampling How many samples should we obtain to minimize information loss during sampling? Hint: take enough.
General Functions A non-periodic function can be represented as a sum of sin’s and cos’s of (possibly) all frequencies: F(  ) is the spectrum of the function.
CSCE 641 Computer Graphics: Image Sampling and Reconstruction Jinxiang Chai.
Immagini e filtri lineari. Image Filtering Modifying the pixels in an image based on some function of a local neighborhood of the pixels
Digital Image Processing Chapter 4: Image Enhancement in the Frequency Domain.
lecture 5, Sampling and the Nyquist Condition Sampling Outline  FT of comb function  Sampling Nyquist Condition  sinc interpolation Truncation.
Advanced Computer Graphics (Spring 2006) COMS 4162, Lecture 3: Sampling and Reconstruction Ravi Ramamoorthi
Image Enhancement in the Frequency Domain Part I Image Enhancement in the Frequency Domain Part I Dr. Samir H. Abdul-Jauwad Electrical Engineering Department.
CSCE 641 Computer Graphics: Fourier Transform Jinxiang Chai.
University of British Columbia CPSC 414 Computer Graphics © Tamara Munzner 1 Sampling Week 7, Fri 17 Oct 2003 p1 demos sampling.
Image Fourier Transform Faisal Farooq Q: How many signal processing engineers does it take to change a light bulb? A: Three. One to Fourier transform the.
CPSC 641 Computer Graphics: Fourier Transform Jinxiang Chai.
Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 3: Sampling and Reconstruction Ravi Ramamoorthi
Computational Photography: Fourier Transform Jinxiang Chai.
Chapter 4 Image Enhancement in the Frequency Domain.
Fourier Transform 2D Discrete Fourier Transform - 2D
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 4 Image Enhancement in the Frequency Domain Chapter.
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 3 Ravi Ramamoorthi
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm.
Sampling theorem In order to accurately reconstruct a signal from a periodically sampled version of it, the sampling frequency must be at least twice the.
Optical Transfer Function
Topic 7 - Fourier Transforms DIGITAL IMAGE PROCESSING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
EE421, Fall 1998 Michigan Technological University Timothy J. Schulz 08-Sept, 98EE421, Lecture 11 Digital Signal Processing (DSP) Systems l Digital processing.
University of Ioannina - Department of Computer Science Filtering in the Frequency Domain (Fundamentals) Digital Image Processing Christophoros Nikou
Chapter 5 Frequency Domain Analysis of Systems. Consider the following CT LTI system: absolutely integrable,Assumption: the impulse response h(t) is absolutely.
Basics of Signal Processing. SIGNALSOURCE RECEIVER describe waves in terms of their significant features understand the way the waves originate effect.
EE D Fourier Transform. Bahadir K. Gunturk EE Image Analysis I 2 Summary of Lecture 2 We talked about the digital image properties, including.
Chapter 4: Image Enhancement in the Frequency Domain Chapter 4: Image Enhancement in the Frequency Domain.
Image Processing © 2002 R. C. Gonzalez & R. E. Woods Lecture 4 Image Enhancement in the Frequency Domain Lecture 4 Image Enhancement.
09/19/2002 (C) University of Wisconsin 2002, CS 559 Last Time Color Quantization Dithering.
Digital Image Processing Chapter 4 Image Enhancement in the Frequency Domain Part I.
Notice  HW problems for Z-transform at available on the course website  due this Friday (9/26/2014) 
Lecture 7: Sampling Review of 2D Fourier Theory We view f(x,y) as a linear combination of complex exponentials that represent plane waves. F(u,v) describes.
ENG4BF3 Medical Image Processing Image Enhancement in Frequency Domain.
Image Processing Basics. What are images? An image is a 2-d rectilinear array of pixels.
7- 1 Chapter 7: Fourier Analysis Fourier analysis = Series + Transform ◎ Fourier Series -- A periodic (T) function f(x) can be written as the sum of sines.
Lecture 7 Transformations in frequency domain 1.Basic steps in frequency domain transformation 2.Fourier transformation theory in 1-D.
2D Sampling Goal: Represent a 2D function by a finite set of points.
Fourier Transform.
CS 376b Introduction to Computer Vision 03 / 17 / 2008 Instructor: Michael Eckmann.
G52IIP, School of Computer Science, University of Nottingham 1 Image Transforms Basic idea Input Image, I(x,y) (spatial domain) Mathematical Transformation.
2D Fourier Transform.
The Frequency Domain Digital Image Processing – Chapter 8.
Fourier transform.
The Fourier Transform.
Fourier Transform (Chapter 4) CS474/674 – Prof. Bebis.
Digital Image Processing Lecture 8: Fourier Transform Prof. Charlene Tsai.
Sampling (Section 4.3) CS474/674 – Prof. Bebis.
Advanced Computer Graphics
… Sampling … … Filtering … … Reconstruction …
Image Enhancement in the
Lecture Signals with limited frequency range
(C) 2002 University of Wisconsin, CS 559
Dr. Nikos Desypris, Oct Lecture 3
General Functions A non-periodic function can be represented as a sum of sin’s and cos’s of (possibly) all frequencies: F() is the spectrum of the function.
ENG4BF3 Medical Image Processing
CSCE 643 Computer Vision: Thinking in Frequency
Digital Image Processing
Chapter 3 Sampling.
Presentation transcript:

G52IIP, School of Computer Science, University of Nottingham 1 Image Transforms Fourier Transform Basic idea

G52IIP, School of Computer Science, University of Nottingham 2 Image Transforms Fourier transform theory Let f(x) be a continuous function of a real variable x. The Fourier transform of f(x) is Given F(u), f(x) can be obtained by using the inverse Fourier transform

G52IIP, School of Computer Science, University of Nottingham 3 Image Transforms Fourier transform theory The Fourier transform F(u) is in general complex It is often convenient to write it in the form

G52IIP, School of Computer Science, University of Nottingham 4 Image Transforms Fourier transform theory Magnitude and Phase Fourier Spectrum of f(x) Phase angle Power Spectrum (spectrum density function) of f(x)

G52IIP, School of Computer Science, University of Nottingham 5 Image Transforms Fourier transform theory Frequency Euler’s formula u is called the frequency variable

G52IIP, School of Computer Science, University of Nottingham 6 Image Transforms Fourier transform theory Intuitive interpretation An infinite sum of sine and cosine terms, each u determines the frequency of its corresponding sine cosine pair

G52IIP, School of Computer Science, University of Nottingham 7 Image Transforms Fourier transform

G52IIP, School of Computer Science, University of Nottingham 8 Image Transforms Fourier transform When W become smaller, what will happen to the spectrum?

G52IIP, School of Computer Science, University of Nottingham 9 Image Transforms Discrete Fourier transform Continuous function f(x) is discretized into a sequence by taking N samples x units apart

G52IIP, School of Computer Science, University of Nottingham 10 Image Transforms Discrete Fourier transform pair of the sampled function

G52IIP, School of Computer Science, University of Nottingham 11 Image Transforms Fourier transform of unit impulse function and 0 t

G52IIP, School of Computer Science, University of Nottingham 12 Image Transforms Fourier transform of unit impulse function 0 x (x)(x) 0 u 1 F(ju) F

G52IIP, School of Computer Science, University of Nottingham 13 Image Transforms Fourier transform of unit impulse train Here t = x and  = u

G52IIP, School of Computer Science, University of Nottingham 14 Convolution The convolution of two functions f(x) and g(x), denote f(x)*g(x)

G52IIP, School of Computer Science, University of Nottingham 15 Convolution An example

G52IIP, School of Computer Science, University of Nottingham 16 Convolution Convolution and Spatial Filtering f(x,y) w(x,y) f(x,y)*w(x,y)

G52IIP, School of Computer Science, University of Nottingham 17 Convolution Convolution theorem

G52IIP, School of Computer Science, University of Nottingham 18 Sampling FT tt -ww  t  t f(t)f(t) F(u)F(u) s(t)s(t) S(u)S(u) s(t)f(t)s(t)f(t) S(u)*F(u)

G52IIP, School of Computer Science, University of Nottingham 19 Sampling FT  t tt -ww G(u)G(u) G(u)[S(u)*F(u)]= F(u)] f(t)f(t) -ww

G52IIP, School of Computer Science, University of Nottingham 20 Sampling Theorem Bandwidth, Sample Rate, and Nyquist Theorem The sampling rate (Nyquist rate) must be at least two times the bandwidth of a bandlimited signal  t -ww G(u)G(u) G(u)[S(u)*F(u)]= F(u)] -ww

G52IIP, School of Computer Science, University of Nottingham 21 Aliasing Over- and under-sampling Anti-aliasing filtering

G52IIP, School of Computer Science, University of Nottingham 22 Aliasing Consider an image with 512 alternating vertical black and white stripes. (You may not even be able to see the alternating stripes because of poor screen resolution. But take my word for it, they are there.) Source:

G52IIP, School of Computer Science, University of Nottingham 23 Aliasing The image is created by sampling an image with 512 alternating values of black (gray = 0) and white (gray = 255). Starting in row 0, 512 samples of the image are taken. For each successive row, 1 fewer sample is taken from row 0, (i.e. for row 1, take 511 samples, for row 2, take 510 samples,... for row 511, take 1 sample). The whole row is then reconstructed from the samples by pixel replication. The result is a colossal aliasing pattern. Source:

G52IIP, School of Computer Science, University of Nottingham 24 Aliasing More examples

G52IIP, School of Computer Science, University of Nottingham 25 Aliasing More examples

G52IIP, School of Computer Science, University of Nottingham 26 Aliasing More examples

G52IIP, School of Computer Science, University of Nottingham 27 Image Transforms 2D Fourier Transform (Fourier Transform of Images)

G52IIP, School of Computer Science, University of Nottingham 28 Image Transforms 2D Fourier Transform (Fourier Transform of Images) Fourier Spectrum of f(x) Phase angle Power Spectrum (spectrum density function) of f(x)

G52IIP, School of Computer Science, University of Nottingham 29 Image Transforms 2D Discrete Fourier Transform (Fourier Transform of Digital Images)

G52IIP, School of Computer Science, University of Nottingham 30 Frequency Domain Processing What does frequency mean in an image?

G52IIP, School of Computer Science, University of Nottingham 31 Frequency Domain Processing What does frequency mean in an image?

G52IIP, School of Computer Science, University of Nottingham 32 Frequency Domain Processing What does frequency mean in an image?

G52IIP, School of Computer Science, University of Nottingham 33 Frequency Domain Processing What does frequency mean in an image? High frequency components – fast changing/sharp features Low frequency components – slow changing/smooth features

G52IIP, School of Computer Science, University of Nottingham 34 Frequency Domain Processing The foundation of frequency domain techniques is the convolution theorem

G52IIP, School of Computer Science, University of Nottingham 35 Frequency Domain Processing H(u, v) is called the transfer function

G52IIP, School of Computer Science, University of Nottingham 36 Frequency Domain Processing Typical lowpass filters and their transfer functions

G52IIP, School of Computer Science, University of Nottingham 37 Frequency Domain Processing Typical lowpass filters and their transfer functions

G52IIP, School of Computer Science, University of Nottingham 38 Frequency Domain Processing Example

G52IIP, School of Computer Science, University of Nottingham 39 Frequency Domain Processing Example

G52IIP, School of Computer Science, University of Nottingham 40 Frequency Domain Processing Typical lowpass filters and their transfer functions

G52IIP, School of Computer Science, University of Nottingham 41 Frequency Domain Processing Example

G52IIP, School of Computer Science, University of Nottingham 42 Frequency Domain Processing Typical lowpass filters and their transfer functions

G52IIP, School of Computer Science, University of Nottingham 43 Frequency Domain Processing Example

G52IIP, School of Computer Science, University of Nottingham 44 Frequency Domain Processing Example

G52IIP, School of Computer Science, University of Nottingham 45 Frequency Domain Processing Example

G52IIP, School of Computer Science, University of Nottingham 46 Frequency Domain Processing Typical highpass filters and their transfer functions

G52IIP, School of Computer Science, University of Nottingham 47 Frequency Domain Processing Typical highpass filters and their transfer functions

G52IIP, School of Computer Science, University of Nottingham 48 Frequency Domain Processing Typical highpass filters and their transfer functions

G52IIP, School of Computer Science, University of Nottingham 49 Frequency Domain Processing Examples

G52IIP, School of Computer Science, University of Nottingham 50 Frequency Domain Processing Examples

G52IIP, School of Computer Science, University of Nottingham 51 Frequency Domain Processing Examples

G52IIP, School of Computer Science, University of Nottingham 52 Frequency Domain Processing More examples

G52IIP, School of Computer Science, University of Nottingham 53 Frequency Domain Processing Examples

G52IIP, School of Computer Science, University of Nottingham 54 Frequency Domain Processing Examples

G52IIP, School of Computer Science, University of Nottingham 55 Frequency Domain Processing Spatial vs frequency domain

G52IIP, School of Computer Science, University of Nottingham 56 Frequency Domain Processing Spatial vs frequency domain

G52IIP, School of Computer Science, University of Nottingham 57 Frequency Domain Processing Examples