1 0BIntroduction. 2 1BFourier Transform and its inverse. 3 2BFilters BLow Pass Filter

Similar documents
FFT Algorithms. Chapter 6. Contents 6.1

Final Year Project Progress Report. Frequency-Domain Adaptive Filtering. Myles Friel. Supervisor: Dr.Edward Jones

Analysis/resynthesis with the short time Fourier transform

The continuous and discrete Fourier transforms

Auto-Tuning Using Fourier Coefficients

L9: Cepstral analysis

How To Understand The Discrete Fourier Transform

Lecture 14. Point Spread Function (PSF)

Convolution, Correlation, & Fourier Transforms. James R. Graham 10/25/2005

Short-time FFT, Multi-taper analysis & Filtering in SPM12

Introduction to Medical Imaging. Lecture 11: Cone-Beam CT Theory. Introduction. Available cone-beam reconstruction methods: Our discussion:

Introduction to Digital Filters

This document is downloaded from DR-NTU, Nanyang Technological University Library, Singapore.

Matlab GUI for WFB spectral analysis

SOFTWARE FOR GENERATION OF SPECTRUM COMPATIBLE TIME HISTORY

How To Understand The Nyquist Sampling Theorem

SR2000 FREQUENCY MONITOR

Design of FIR Filters

Basics of Digital Recording

CHAPTER 6 Frequency Response, Bode Plots, and Resonance

To determine vertical angular frequency, we need to express vertical viewing angle in terms of and. 2tan. (degree). (1 pt)

Resolution Enhancement of images with Interpolation and DWT-SWT Wavelet Domain Components

Analog signals are those which are naturally occurring. Any analog signal can be converted to a digital signal.

Wavelet analysis. Wavelet requirements. Example signals. Stationary signal 2 Hz + 10 Hz + 20Hz. Zero mean, oscillatory (wave) Fast decay (let)

Introduction to acoustic imaging

SGN-1158 Introduction to Signal Processing Test. Solutions

Filter Comparison. Match #1: Analog vs. Digital Filters

SIGNAL PROCESSING & SIMULATION NEWSLETTER

Jitter in PCIe application on embedded boards with PLL Zero delay Clock buffer

GSM/EDGE Output RF Spectrum on the V93000 Joe Kelly and Max Seminario, Verigy

Project 3: Image Enhancement - Spatial vs. Frequency Domain Filters. Steven Young: ECE 572

Signal to Noise Instrumental Excel Assignment

Frequency Response of Filters

1.4 Fast Fourier Transform (FFT) Algorithm

Lectures 6&7: Image Enhancement

The full wave rectifier consists of two diodes and a resister as shown in Figure

The Fourier Analysis Tool in Microsoft Excel

3D Scanner using Line Laser. 1. Introduction. 2. Theory

Simultaneous Gamma Correction and Registration in the Frequency Domain

A Novel Method to Improve Resolution of Satellite Images Using DWT and Interpolation

Optical Metrology. Third Edition. Kjell J. Gasvik Spectra Vision AS, Trondheim, Norway JOHN WILEY & SONS, LTD

Detection of Leak Holes in Underground Drinking Water Pipelines using Acoustic and Proximity Sensing Systems

SWISS ARMY KNIFE INDICATOR John F. Ehlers

TELECOMMUNICATIONS STANDARDS ADVISORY COMMITTEE WORKING GROUP ON COMMON CONNECTION STANDARDS (CCS)

Image Compression through DCT and Huffman Coding Technique

Ring grave detection in high resolution satellite images of agricultural land

HYBRID FIR-IIR FILTERS By John F. Ehlers

EECS 556 Image Processing W 09. Interpolation. Interpolation techniques B splines

MUSICAL INSTRUMENT FAMILY CLASSIFICATION

Performing the Fast Fourier Transform with Microchip s dspic30f Series Digital Signal Controllers

MATRIX TECHNICAL NOTES

Digital image processing

Speech Signal Processing: An Overview

Composite Video Separation Techniques

The front end of the receiver performs the frequency translation, channel selection and amplification of the signal.

The Whys, Hows and Whats of the Noise Power Spectrum. Helge Pettersen, Haukeland University Hospital, NO

High Quality Integrated Data Reconstruction for Medical Applications

OPERATIONAL AMPLIFIERS. o/p

AM Receiver. Prelab. baseband

Function Guide for the Fourier Transformation Package SPIRE-UOL-DOC

Linear Filtering Part II

1995 Mixed-Signal Products SLAA013

High Quality Image Magnification using Cross-Scale Self-Similarity

Doppler. Doppler. Doppler shift. Doppler Frequency. Doppler shift. Doppler shift. Chapter 19

MATH 4330/5330, Fourier Analysis Section 11, The Discrete Fourier Transform

Superheterodyne Radio Receivers

Medical Image Processing on the GPU. Past, Present and Future. Anders Eklund, PhD Virginia Tech Carilion Research Institute

8 Speed control of Induction Machines

5MD00. Assignment Introduction. Luc Waeijen

PRACTICAL GUIDE TO DATA SMOOTHING AND FILTERING

Time Series Analysis: Introduction to Signal Processing Concepts. Liam Kilmartin Discipline of Electrical & Electronic Engineering, NUI, Galway

AVX EMI SOLUTIONS Ron Demcko, Fellow of AVX Corporation Chris Mello, Principal Engineer, AVX Corporation Brian Ward, Business Manager, AVX Corporation

Computational Foundations of Cognitive Science

The Calculation of G rms

A simple and fast algorithm for computing exponentials of power series

K2 CW Filter Alignment Procedures Using Spectrogram 1 ver. 5 01/17/2002

ELEN E4810: Digital Signal Processing Topic 8: Filter Design: IIR

PeakVue Analysis for Antifriction Bearing Fault Detection

Admin stuff. 4 Image Pyramids. Spatial Domain. Projects. Fourier domain 2/26/2008. Fourier as a change of basis

ANALYZER BASICS WHAT IS AN FFT SPECTRUM ANALYZER? 2-1

LOW COST MOTOR PROTECTION FILTERS FOR PWM DRIVE APPLICATIONS STOPS MOTOR DAMAGE

Precision Diode Rectifiers

Ethernet is Moving out of the Office into Harsh Industrial Environments.

Fermi National Accelerator Laboratory. The Measurements and Analysis of Electromagnetic Interference Arising from the Booster GMPS

AN-007 APPLICATION NOTE MEASURING MAXIMUM SUBWOOFER OUTPUT ACCORDING ANSI/CEA-2010 STANDARD INTRODUCTION CEA-2010 (ANSI) TEST PROCEDURE

High Performance GPU-based Preprocessing for Time-of-Flight Imaging in Medical Applications

Color holographic 3D display unit with aperture field division

5 Signal Design for Bandlimited Channels

Dirac Live & the RS20i

T = 1 f. Phase. Measure of relative position in time within a single period of a signal For a periodic signal f(t), phase is fractional part t p

The Effective Number of Bits (ENOB) of my R&S Digital Oscilloscope Technical Paper

Sachin Patel HOD I.T Department PCST, Indore, India. Parth Bhatt I.T Department, PCST, Indore, India. Ankit Shah CSE Department, KITE, Jaipur, India

Lecture 27: Mixers. Gilbert Cell

Encoders for Linear Motors in the Electronics Industry

Image Normalization for Illumination Compensation in Facial Images

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies

QAM Demodulation. Performance Conclusion. o o o o o. (Nyquist shaping, Clock & Carrier Recovery, AGC, Adaptive Equaliser) o o. Wireless Communications

LOW COST HARDWARE IMPLEMENTATION FOR DIGITAL HEARING AID USING

FTIR Instrumentation

Transcription:

1 0BIntroduction The objective of this assignment is to experiment with Fourier Transforms and to perform filtering operations in the Fourier Domain. We will discuss about the Fourier transform and the inverse Fourier transform, followed by filtering in the Fourier( frequency domain). We will follow this with the results of our experiment on gray scale images, colour images and videos. We did not implement the Fourier Transform. Instead, we were asked to use the rfftw and fftw libraries to generate the Fast Fourier Transform and its inverse. 2 1BFourier Transform and its inverse For a continuous 2D function, the Fourier transform is defined as,, And its inverse is given by:,, However, in the case of digital images, the values are discrete and hence we use the discrete version of the Fourier Transform known as Discrete Fourier Transform. This is given by: 1,, And the Inverse Discrete Fourier Transform is given by:, 1, The discrete Fourier transform can be applied to any function, but takes a considerable long time to compute. The Fast Fourier Transform is a faster implementation of the DFT and can be used when the number of elements is a power of 2. By using FFT, we can reduce the computational complexity from O(N 2 ) to O(N log N). The advantage of the Fourier Transform is that any convolution in the Time domain is converted to multiplication in the Frequency domain thereby simplifying a number of operations. 3 2BFilters There are several filters in the Image domain. However, we will only discuss about three types of filters: 1. Low Pass Filter 2. High Pass Filer 3. Band Pass Filter 3.1 5BLow Pass Filter A low pass filter- as the name indicates, passes all low frequency components and stops high frequency components. The frequency response of a LPF can be given as

Amplitude Fig 1. Frequency Response of 1-D Low Pass Filter In a 2-D case, the Frequency response will be given by, Frequency Fig 2. 2-D frequency response of a Low Pass Filter In the case of images, any region which has a change in contrast is known as high frequency. Sharper the contrast difference, higher the frequency. Simply put, all edges are high frequency and all smooth regions are low frequency. Hence, an ideal low pass filter smoothens all edges in an image. 3.2 6BHigh Pass Filter A high pass filter is exactly opposite in function to a LPF in that it stops low frequency components and passes high frequency edges. The frequency response of a HPF is given by: Amplitude For the 2-D case, it is given by: Frequency Fig 3. 1-D frequency response of High pass filter

A high pass filter acts as an edge detector. Fig.4 2-D Frequency response of High Pass Filter. 3.3 7Band Pass Filter A Band pass filter can be considered to be in between a high pass and a low pass filter. It is used to pass a band of frequencies and stop the rest. The frequency responses in the 1-D and 2-D cases are given by: Amplitude Frequency Fig. 5 1-D frequency response of Band pass Filter. Fig. 6 2-D frequency response of Band pass Filter. 4 3BResults and Discussion 4.1 8BGray Scale Images Following are the results of applying Fourier transform to some gray scale images.

Fig 7a. Input Image Fig 7b. Real FFT of 7a Fig 7c.Reconstructed from IFFT Fig 7d. FT after HP FilterFig 7e. High Pass Filtered and reconstructed. Fig 7f. FT after LP Filtering Fig 7g. Low Pass Filtered and reconstructed. Following is another gray scale image. As can be seen the image is rich in high frequency content. Fig8a. Fig8b Fig8c Fig8d a. Original image. b. FT of ROI c. FT with HPF d. Reconstructed HPF image e. FT with LPF f. Reconstructed LPF image

Fig 8e. Fig 8f 4.2 9BColour Images We now apply the Fourier transform to the Intensity component of Colour Images. Fig 9a Fig 9b Fig 9c Fig 9d Fig 9e a. Original image. b. Intensity image of ROI c. FT of ROI d. FT with HPF e. Reconstructed HPF image f. FT with LPF g. Reconstructed LPF image h. FT with Band Pass Filter i. Reconstructed image after BPF Fig 9f Fig 9g. Fig 9h. Fig 9i Fig 10a Fig 10b Fig 10c.

a. Original Fig 10d image. Fig 10e Fig 10f Fig 10g. b. Intensity image. c. FT of imge d. FT with HPF e. Reconstructed HPF image f. FT with LPF g. Reconstructed LPF image h. FT with Band Pass Filter i. Reconstructed image after BPF Fig 10h Fig 10i 4.3 10BVideo Following is a frame taken out of context from a video of a news reader. The ROI is subjected to Low Pass filtering. 11a. Frame taken out a video 11b. Fourier transform of an ROI in 11a 11c. 11b, subjected to Low Pass Filtering 11d. Low Pass Filtered frame Fig 11a. Fig 11b. Fig 11c. Fig 11d. Following is another frame taken out of context from a video of a news reader. The ROI is subjected to Band Pass filtering. Fig 12a. Frame taken from a video Fig 12b. Band Pass Filter Fig 12c. band Pass Filtered output On FT

We can infer the following from the above results: a. The Fourier transform obtained by rfftw library seems to be the inverse of the actual definition. i.e the high frequency components are at the centre and the low frequency components are at the edges. b. The High Pass and Low pass filters perform as expected. However, the Band Pass Filter s performance was difficult to measure. It seems to have very specific applications and required very specific knowledge to be utilized to its full extent. c. The ringing effects of LPF can be seen in Fig. 10g which has a lot of unwanted artecats. d. Although the High Pass filter is set to pass in very low frequencies, it still does not make a complete picture(fig.10d,e) whereas, a little component of the Low frequencies in 10f,g makes a much more comprehensible image. e. High Pass Filtering can be compared to Edge detection. However, the High pass filter seems to detect too many edges. It will need a lot of fine tuning before it can make meaningful edge detections. f. As the frame size of the video was very small, it did not have a significant impact on performance. Each frame was filtered in approximately the same time as a single image. g. The frequency for the filters is measured as the normalized distance from the centre( 1 is the maximum and zero is the minimum) 5 4BConclusion Thus, we have implemented Low, High and Band pass filters for images in the Fourier Domain. We were able to transform the images into the Frequency domain, Filter them and successfully convert them back to the spatial domain. Most of the filters and transforms performed as desired except that the Fourier transform seemed inverted for some reason and the Band Pass Filter did not really convey any information.