Digital Image Procesing Unitary Transforms Discrete Fourier Trasform (DFT) in Image Processing DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL.

Slides:



Advertisements
Similar presentations
Fourier Transform and its Application in Image Processing
Advertisements

Computer Vision Lecture 7: The Fourier Transform
Image Processing Lecture 4
Digital Image Processing
Fourier Transform (Chapter 4)
Chapter Four Image Enhancement in the Frequency Domain.
Chap 4 Image Enhancement in the Frequency Domain.
Computer Graphics Recitation 6. 2 Motivation – Image compression What linear combination of 8x8 basis signals produces an 8x8 block in the image?
Reminder Fourier Basis: t  [0,1] nZnZ Fourier Series: Fourier Coefficient:
Chapter 4 Image Enhancement in the Frequency Domain.
CHAPTER 4 Image Enhancement in Frequency Domain
Chap 4-2. Frequency domain processing Jen-Chang Liu, 2006.
Digital Image Processing Chapter 4: Image Enhancement in the Frequency Domain.
Image Enhancement in the Frequency Domain Part I Image Enhancement in the Frequency Domain Part I Dr. Samir H. Abdul-Jauwad Electrical Engineering Department.
Some Properties of the 2-D Fourier Transform Translation Distributivity and Scaling Rotation Periodicity and Conjugate Symmetry Separability Convolution.
Chapter 4 Image Enhancement in the Frequency Domain.
Transforms: Basis to Basis Normal Basis Hadamard Basis Basis functions Method to find coefficients (“Transform”) Inverse Transform.
Orthogonal Transforms
DREAM PLAN IDEA IMPLEMENTATION Introduction to Image Processing Dr. Kourosh Kiani
Topic 7 - Fourier Transforms DIGITAL IMAGE PROCESSING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
Digital Image Processing Chapter # 4 Image Enhancement in Frequency Domain Digital Image Processing Chapter # 4 Image Enhancement in Frequency Domain.
Transforms. 5*sin (2  4t) Amplitude = 5 Frequency = 4 Hz seconds A sine wave.
1 Chapter 5 Image Transforms. 2 Image Processing for Pattern Recognition Feature Extraction Acquisition Preprocessing Classification Post Processing Scaling.
CS654: Digital Image Analysis Lecture 12: Separable Transforms.
Chapter 7: The Fourier Transform 7.1 Introduction
Part I: Image Transforms DIGITAL IMAGE PROCESSING.
09/19/2002 (C) University of Wisconsin 2002, CS 559 Last Time Color Quantization Dithering.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Digital Image Processing Chapter 4 Image Enhancement in the Frequency Domain Part I.
Computer Vision – Enhancement(Part III) Hanyang University Jong-Il Park.
Discrete Fourier Transform in 2D – Chapter 14. Discrete Fourier Transform – 1D Forward Inverse M is the length (number of discrete samples)
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.
Dr. Scott Umbaugh, SIUE Discrete Transforms.
University of Ioannina - Department of Computer Science Filtering in the Frequency Domain (Application) Digital Image Processing Christophoros Nikou
CS654: Digital Image Analysis
CS654: Digital Image Analysis Lecture 13: Discrete Fourier Transformation.
1 CMPB 345: IMAGE PROCESSING DISCRETE TRANSFORM 2.
Fourier Transform.
CS 376b Introduction to Computer Vision 03 / 17 / 2008 Instructor: Michael Eckmann.
Computer Graphics & Image Processing Chapter # 4 Image Enhancement in Frequency Domain 2/26/20161.
BYST Xform-1 DIP - WS2002: Fourier Transform Digital Image Processing Bundit Thipakorn, Ph.D. Computer Engineering Department Fourier Transform and Image.
The Frequency Domain Digital Image Processing – Chapter 8.
Frequency Domain Filtering. Frequency Domain Methods Spatial Domain Frequency Domain.
Fourier transform.
Digital Image Processing Lecture 8: Image Enhancement in Frequency Domain II Naveed Ejaz.
Fourier Transform (Chapter 4) CS474/674 – Prof. Bebis.
Digital Image Processing Lecture 8: Fourier Transform Prof. Charlene Tsai.
Digital Image Processing , 2008
Jean Baptiste Joseph Fourier
Image Enhancement and Restoration
… Sampling … … Filtering … … Reconstruction …
An Example of 1D Transform with Two Variables
CE Digital Signal Processing Fall Discrete-time Fourier Transform
Image Enhancement in the
Digital Image Procesing Discrete Walsh Trasform (DWT) in Image Processing Discrete Hadamard Trasform (DHT) in Image Processing DR TANIA STATHAKI READER.
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.
Fourier Transform.
ENG4BF3 Medical Image Processing
2D Fourier transform is separable
CSCE 643 Computer Vision: Thinking in Frequency
4. Image Enhancement in Frequency Domain
Digital Image Procesing Introduction to Image Enhancement Histogram Processing DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL PROCESSING IMPERIAL.
Digital Image Procesing Discrete CosineTrasform (DCT) in Image Processing DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL PROCESSING IMPERIAL.
Signals and Systems Revision Lecture 2
Fourier Transforms.
Signals and Systems Revision Lecture 1
Digital Image Procesing Unitary Transforms Discrete Fourier Trasform (DFT) in Image Processing DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL.
Chapter 3 Sampling.
Lecture 4 Image Enhancement in Frequency Domain
ENEE222 Elements of Discrete Signal Analysis Lab 9 1.
Presentation transcript:

Digital Image Procesing Unitary Transforms Discrete Fourier Trasform (DFT) in Image Processing DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL PROCESSING IMPERIAL COLLEGE LONDON

1-D Signal Transforms Scalar form Matrix form

1-D Signal Transforms-Remember the 1-D DFT General form DFT

1-D Inverse Signal Transforms-General Form Scalar form Matrix form

1-D Inverse Signal Transforms-Remember the 1D DFT General form Inverse DFT

1-D Unitary Transforms Matrix form

Signal Reconstruction

Why do we use Image Transforms? Often, image processing tasks are best performed in a domain other than the spatial domain. Key steps: Transform the image Carry the task(s) of interest in the transformed domain. Apply inverse transform to return to the spatial domain.

2-D (Image) Transforms-General Form

2-D (Image) Transforms-Special Cases Separable Symmetric

2-D (Image) Transforms-Special Cases (cont.) Separable and Symmetric Separable, Symmetric and Unitary

Energy Preservation 1-D 2-D

Energy Compaction Most of the energy of the original data is concentrated in only a few transform coefficients, which are placed close to the origin; remaining coefficients have small values. This property facilitate compression of the original image.

Let’s talk about DFT in images: Why is it useful? It is easier for removing undesirable frequencies. It is faster to perform certain operations in the frequency domain than in the spatial domain. The transform is independent of the signal.

Example: Removing undesirable frequencies Example of removing a high frequency using the transform domain noisy signal frequencies Result after removing high frequencies

How do frequencies show up in an image? Low frequencies correspond to slowly varying information (e.g., continuous surface). High frequencies correspond to quickly varying information (e.g., edges) Original Image Low-passed version

2-D Discrete Fourier Transform It is separable, symmetric and unitary It results in a sequence of two 1-D DFT operations (prove this)

Visualizing DFT The dynamic range of F(u,v) is typically very large Small values are not distinguishable We apply a logarithmic transformation to enhance small values. original image before transformation after transformation

Amplitude and Log of the Amplitude

Amplitude and Log of the Amplitude

Original Image and Log of the Amplitude

DFT properties: Separability

DFT properties: Separability

DFT properties: Separability

DFT properties: Separability The DFT and its inverse are periodic.

DFT properties: Conjugate Symmetry  

DFT properties: Translation Translation in spatial domain: Translation in frequency domain:

DFT properties: Translation Warning: to show a full period, we need to translate the origin of the transform at

DFT properties: Translation

DFT properties: Translation without translation after translation

DFT properties: Rotation

DFT properties: Addition and Multiplication

DFT properties: Average value of the signal

Original Image Fourier Amplitude Fourier Phase

Magnitude and Phase of DFT What is more important? Hint: use inverse DFT to reconstruct the image using magnitude or phase only information magnitude phase

Magnitude and Phase of DFT Reconstructed image using magnitude only (i.e., magnitude determines the contribution of each component!) Reconstructed image using phase only (i.e., phase determines which components are present!)

Magnitude and Phase of DFT

Low pass filtering using DFT

High pass filtering using DFT

Experiment: Verify the importance of phase in images

Reconstruction from phase of one image and amplitude of the other phase of cameraman phase of grasshopper amplitude of grasshopper amplitude of cameraman

Experiment: Verify the importance of phase in images

Reconstruction from phase of one image and amplitude of the other phase of buffalo phase of rocks amplitude of rocks amplitude of buffalo

DFT of a single edge Consider DFT of image with single edge. For display, DC component is shifted to the centre. Log of magnitude of Fourier Transform is displayed

DFT of a box

DFT of rotated box

DFT computation: Extended image DFT computation assumes image repeated horizontally and vertically. Large intensity transition at edges = vertical and horizontal line in middle of spectrum after shifting.

Windowing Can multiply image by windowing function before DFT to reduce sharp transitions between borders of repeated images. Ideally, causes image to drop off towards ends, reducing transitions