Information and Communications Security: Encryption and Information Hiding

Similar documents
SEISMIC WAVE PROPAGATION. Lecture 2: Fourier Analysis

PART 1. Review of DSP. f (t)e iωt dt. F(ω) = f (t) = 1 2π. F(ω)e iωt dω. f (t) F (ω) The Fourier Transform. Fourier Transform.

Computational Data Analysis!

Continuous Time Signal Analysis: the Fourier Transform. Lathi Chapter 4

EA2.3 - Electronics 2 1

E2.5 Signals & Linear Systems. Tutorial Sheet 1 Introduction to Signals & Systems (Lectures 1 & 2)

Syllabus for IMGS-616 Fourier Methods in Imaging (RIT #11857) Week 1: 8/26, 8/28 Week 2: 9/2, 9/4

EE482: Digital Signal Processing Applications

The Discrete Fourier Transform. Signal Processing PSYCH 711/712 Lecture 3

ECG782: Multidimensional Digital Signal Processing

Fourier Series and Transform KEEE343 Communication Theory Lecture #7, March 24, Prof. Young-Chai Ko

Time and Spatial Series and Transforms

Chapter 4 Discrete Fourier Transform (DFT) And Signal Spectrum

Index. p, lip, 78 8 function, 107 v, 7-8 w, 7-8 i,7-8 sine, 43 Bo,94-96

26. The Fourier Transform in optics

Correlator I. Basics. Chapter Introduction. 8.2 Digitization Sampling. D. Anish Roshi

Fourier transform. Stefano Ferrari. Università degli Studi di Milano Methods for Image Processing. academic year


19. The Fourier Transform in optics

Ch.11 The Discrete-Time Fourier Transform (DTFT)

CHAPTER 4 FOURIER SERIES S A B A R I N A I S M A I L

The Discrete Fourier Transform

L6: Short-time Fourier analysis and synthesis

SNR Calculation and Spectral Estimation [S&T Appendix A]

Communication Signals (Haykin Sec. 2.4 and Ziemer Sec Sec. 2.4) KECE321 Communication Systems I

Lecture 4 Filtering in the Frequency Domain. Lin ZHANG, PhD School of Software Engineering Tongji University Spring 2016

Fourier Series & The Fourier Transform

Experimental Fourier Transforms

Department of Electrical and Telecommunications Engineering Technology TEL (718) FAX: (718) Courses Description:

ECG782: Multidimensional Digital Signal Processing

Correlation, discrete Fourier transforms and the power spectral density

Fourier Analysis of Signals Using the DFT

9.4 Enhancing the SNR of Digitized Signals

The Discrete Fourier transform

Fourier Transform 2D

26. The Fourier Transform in optics

A523 Signal Modeling, Statistical Inference and Data Mining in Astrophysics Spring 2011

In many diverse fields physical data is collected or analysed as Fourier components.

The Fourier Transform

CS711008Z Algorithm Design and Analysis

Summary of lecture 1. E x = E x =T. X T (e i!t ) which motivates us to define the energy spectrum Φ xx (!) = jx (i!)j 2 Z 1 Z =T. 2 d!

Lecture # 06. Image Processing in Frequency Domain

G52IVG, School of Computer Science, University of Nottingham

Signal Processing Signal and System Classifications. Chapter 13

INTRODUCTION TO DELTA-SIGMA ADCS

Tutorial Sheet #2 discrete vs. continuous functions, periodicity, sampling

Introduction to Signal Analysis Parts I and II

Definition. A signal is a sequence of numbers. sequence is also referred to as being in l 1 (Z), or just in l 1. A sequence {x(n)} satisfying

Elec4621 Advanced Digital Signal Processing Chapter 11: Time-Frequency Analysis

EE303: Communication Systems

Chapter 2: The Fourier Transform

DFT and FFT. C. Kankelborg. Rev. January 28, The Fourier transform is a powerful tool in the solution of linear systems, including:

Theory and Problems of Signals and Systems

2A1H Time-Frequency Analysis II

Review: Continuous Fourier Transform

The Discrete Fourier Transform (DFT) Properties of the DFT DFT-Specic Properties Power spectrum estimate. Alex Sheremet.

Representation of Signals and Systems. Lecturer: David Shiung

Each of these functions represents a signal in terms of its spectral components in the frequency domain.

Fourier Transform. sin(n# x)), where! = 2" / L and

12.1 Fourier Transform of Discretely Sampled Data

ENSC327 Communications Systems 2: Fourier Representations. Jie Liang School of Engineering Science Simon Fraser University

The Discrete Fourier Transform

Today s lecture. The Fourier transform. Sampling, aliasing, interpolation The Fast Fourier Transform (FFT) algorithm

Continuous Fourier transform of a Gaussian Function

EEL3135: Homework #3 Solutions

Sistemas de Aquisição de Dados. Mestrado Integrado em Eng. Física Tecnológica 2016/17 Aula 3, 3rd September

Lab Fourier Analysis Do prelab before lab starts. PHSX 262 Spring 2011 Lecture 5 Page 1. Based with permission on lectures by John Getty

Mathematics for Chemists 2 Lecture 14: Fourier analysis. Fourier series, Fourier transform, DFT/FFT

!Sketch f(t) over one period. Show that the Fourier Series for f(t) is as given below. What is θ 1?

3. Lecture. Fourier Transformation Sampling

FOURIER TRANSFORMS. At, is sometimes taken as 0.5 or it may not have any specific value. Shifting at

Fourier Optics - Exam #1 Review

Computational Methods for Astrophysics: Fourier Transforms

3 rd class Mech. Eng. Dept. hamdiahmed.weebly.com Fourier Series

Sound & Vibration Magazine March, Fundamentals of the Discrete Fourier Transform

DOING PHYSICS WITH MATLAB FOURIER ANALYSIS FOURIER TRANSFORMS

ESS Finite Impulse Response Filters and the Z-transform

ESS Dirac Comb and Flavors of Fourier Transforms

V(t) = Total Power = Calculating the Power Spectral Density (PSD) in IDL. Thomas Ferree, Ph.D. August 23, 1999

Problem Sheet 1 Examples of Random Processes

Topic 7. Convolution, Filters, Correlation, Representation. Bryan Pardo, 2008, Northwestern University EECS 352: Machine Perception of Music and Audio

Other Optimization Techniques. Similar to steepest descent, but slightly different way of choosing direction of next step: x r +1 = x.

DCSP-2: Fourier Transform

Fourier Transform in Image Processing. CS/BIOEN 6640 U of Utah Guido Gerig (slides modified from Marcel Prastawa 2012)

Contents. Digital Signal Processing, Part II: Power Spectrum Estimation

ECE 425. Image Science and Engineering

Notes 07 largely plagiarized by %khc

Fourier Sampling. Fourier Sampling. Bioengineering 280A Principles of Biomedical Imaging. Fall Quarter 2005 Linear Systems Lecture 3.

1 Mathematical Preliminaries

Fourier Transform for Continuous Functions

Biomedical Engineering Image Formation II

ENT 315 Medical Signal Processing CHAPTER 2 DISCRETE FOURIER TRANSFORM. Dr. Lim Chee Chin

Linear Operators and Fourier Transform

Images have structure at various scales

6. Advanced Numerical Methods. Monte Carlo Methods

ω 0 = 2π/T 0 is called the fundamental angular frequency and ω 2 = 2ω 0 is called the

IB Paper 6: Signal and Data Analysis

Basics about Fourier analysis

Lecture 27 Frequency Response 2

System Modeling and Identification CHBE 702 Korea University Prof. Dae Ryook Yang

Transcription:

Short Course on Information and Communications Security: Encryption and Information Hiding Tuesday, 10 March Friday, 13 March, 2015 Lecture 5: Signal Analysis

Contents The complex exponential The complex Fourier series The Fourier transform The delta function Fourier transform of important functions Important properties The convolution theorem The sampling theorem

Contents (continued) The DFT Time-frequency sampling relation The Fast Fourier Transform (FFT) Data windowing Spectral leakage Example windows Summary

The complex exponential Fundamental result Euler s equation: i to the power of i:

The complex Fourier series (CFS) Let a function f(t) with period 2T be given by Then

The CFS (continued) Evaluation of the RHS integral gives Complex coefficients given by

The Fourier transform For a signal with period 2T the CFS is given by (with )

Fourier transform (continued) Let Then and

Fourier transform (continued) In the limit as function i.e. for a non-periodic

Lord Kelvin The Fourier transform (Fourier s theorem) is not only one of the most beautiful results of modern analysis, but it may be said to furnish an indispensable instrument in the treatment of nearly every recondite question in modern physics

The (Dirac) delta function First introduced by Paul Dirac in the 1930s for use in quantum mechanics Dirac referred to it as an improper function, i.e. a strictly hypothetical (abstract) function or generalisation Dirac also first introduced the hypothetical idea of anti-matter (a positively charged electron or positron) and won the Nobel prize for Physics in 1933 after experimental verification of his idea

What is d(x) d(x) is not a function of x according to the usual definition, of a function, which requires a function to have a definite value for each point in its domain, but is something more general, which we may call an improper function. Paul Dirac (1902-1984) in The Principles of Quantum Mechanics

Basic definition

Integral representation

Sampling property

The Green s function Suppose a system can be modelled in terms of the linear differential equation The Green s function is the solution of

Green s function solution The Green s function provides a general solution (transformation) of the form The Green s function is the Impulse Response Function (IRF) of the system characterised by the differential operator, e.g. the surface waves produced on a pond when a small stone disturbs it, producing an impulse

George Green: A scientific enigma

The comb function Defines a sequence of delta functions and is used in proving the sampling theorem, i.e. the sample rate required for A-to-D without loss of information

The Kronecker delta The discrete equivalent of the delta function with the following analogous properties:

The Fourier operator Basic definition Real space and Fourier space

Physical interpretation The Fourier transform provides a quantitative statement on the frequency content of a function. The variable w has dimensions that are reciprocal to those of the variable t. If t is time in seconds then w is the temporal (angular) frequency in cycles per second or Hertz (Hz). N.B. w =2pf where f is the frequency proper

Spatial frequency x is length and k is the wave-number given by where l is the wavelength and c is the wave speed

DC value The DC (Direct Current) value is the value of the Fourier transform at zero frequency

Differentiation

Integration

Fourier transform of important functions The Tophat or Square wave function

Fourier transform of important functions (continued) The cosine and sine functions

Fourier transform of important functions (continued) The Gaussian function

Fourier transform of important functions (continued) The sign or sgn function and related functions

Important properties Addition theorem Similarity theorem Shift theorem

Parseval s theorem Important properties (continued) Rayleigh s (the energy) theorem

Band-limited functions A band-limited function is one whose Fourier transform is of limited extent, i.e. of compact support : A band-limited function is given by

The convolution theorem One of the single most important theorems of Fourier analysis Used routinely to process signals in Fourier space The convolution of two function in real space is equivalent to the product of their Fourier transforms in Fourier (frequency) space

The convolution theorem expressed mathematically

The product theorem The product of two function in real space is equivalent to the convolution of their Fourier transforms in Fourier (frequency) space

The correlation and autocorrelation theorems Correlation theorem Autocorrelation theorem

The sampling theorem Used to determine the rate at which an analogue signals need to be sampled into digital form without loss of information. Underpins all A-to-D (& D-to-A) conversion

The comb function Consider a comb function of period T Let a digital function g(t) be written in terms of an analogue function f(t) as

The sampling problem

CFS of the comb function The comb function is a periodic function and can therefore be written as Coefficients are given by

Fourier transform of comb(t) CFS of a comb function is Fourier transform is therefore

Fundamental result

Basic result Sampling a signal at regular interval dt: From the product theorem

Interpretation Sampling a function f(t) creates a new spectrum G(w) which is a periodic replica of the spectrum F(w) spaced at regular intervals If f(t) has a bandwidth W then the total width of the spectrum is W-(-W)=2W and the replicated spectra will overlap if (aliasing)

Sampling intervals To ensure that replicated spectra do not overlap causing aliasing we require that This is equivalent to a sampling rate of

Aliasing

The Nyquist frequency A signal that is sampled according to the condition is known as a Nyquist sampled signal The Nyquist frequency is given by

Nyquist sampling

Derivation of the DFT The CFS is Consider f(t) to be uniformly sampled by Dt so that

Derivation of the DFT (continued) Let Then

DFT and the Fourier transform DFT pair is Discretizing the Fourier transform pair:

Time-frequency sampling relation Let Then, by inspection, i.e. comparing the DFT with the discretized Fourier transform

Example of the discrete time-frequency relation Consider a digital signal composed of 1000 element and a sampling interval of 0.001s Frequency sampling interval is then 2p The more precisely time is determined the less precisely the frequency is known

Discrete spatial frequency relationship x is length and k = w/c = 2p/l is the wave-number where l is the wavelength and c is the wave-speed The more precisely position is determined the less precisely the spatial frequency is known

Standard and Optical versions of the DFT The DFT is usually written in standard form with n=0,1,2,,n-1 where the DC term occurs at n=0, i.e. The optical form sets the DC term in the middle of the array and is compatible with the Fourier transform, i.e.

The Fast Fourier Transform (FFT) Consider the DFT (in standard form) writing it in the form In matrix form

Computational issues Written in matrix form, the DFT is computed by multiplying an N-point vector by a matrix of complex elements This requires N x N multiplications To compute the DFT of a 1000 point digital signal requires 1000 000 multiplications!

Basic idea

Fundamental property Basic result is With e & o representing even and odd component respectively, we have Computation of arrays is now over N/2 elements and not N elements.

Successive doubling We can repeat the trick to obtain 4 arrays Can continue sub-divding the data into odd and even component until we get to the DFT of just 2 points

Base 2 condition Because the data is subdivided into odd and even components, we require to start with a array size of (with k=1,2,3, ) Computing the DFT in this way reduces the number of multiplication to the order of

Example Consider the 4-point array FFT is

Array order Consider 8-point array Decomposition in to odd and even components gives

Bit reversal To obtain output in correct order, original array must be input as Reordering by bit reversing the index:

Computational efficiency FFT reduces number of multiplication from to Can consider decomposition into 3, 4, arrays instead of 2 arrays but reordering of I/O is more complex than bit reversal

MATAB FFT Based on the function FFT output_array=fft(input_array) The inverse transform is IFFT output_array=ifft(input_array) FFT is based on standard form (DC occurs at the first element of the array) MATLAB function for producing output in optical form is FFTSHIFT output_array=fftshift(input_array) DC component occurs at 1+N/2 for array size of N

Data windowing Unlike the Fourier transform the DFT operates on a discrete array of finite length Computing the DFT of a signal consisting of N samples is equivalent to computing the DFT of an infinite run of samples multiplied by a square window function (tophat function) This result allows us to evaluate the effect of operating on a array of finite size

Effect of windowing If then

Effect of windowing (continued) Using the product theorem The discrete spectrum F m is not given by F(w m ) but by F(w m ) convolved with a sinc function Note that

Spectral leakage Each computed sample F m depends on the influence of the sinc function associated with one sample bin on the next The sinc function leaks from one bin to the next producing errors in the values of neighbouring spectral components This is due to the discontinuous nature of the window function

Window functions The larger the size of the array, the less effect spectral leakage has on the output For small arrays, spectral leakage can be reduced by application of a window that approaches zero at the end of the array Many window have been invented for this purpose. They are based on trade-offs between the narrowness and peakedness of the spectral leakage function

Some example window functions Parzan window Welch window Hanning window (cosine taper)

Summary The Fourier transform pair:

Summary (continued) The convolution theorem The product theorem

Summary (continued) Sampling theorem (fundamental result)

Summary (continued) DFT pair Time frequency sampling relation

Summary (continued) Principle of the (base-2) FFT Bit reversal: Reversal of the binary number representation of the position of an element in an array which is used to reorder the data before repeated application of the principle above

Summary (continued) MATLAB FFT function y=fft(x); Inverse FFT function y=ifft(x); Shifting function (to compute spectrum in optical form ) y=fftshift(x);

Summary (continued) DFT approximation to F(w m ) Data windows: Function with edge tapers that reduce the spectral leakage generated by the sinc function in the equation above