BMI II SS06 – Class 2 “Linear Systems 2” Slide 1 Biomedical Imaging II Class 2 – Mathematical Preliminaries: Signal Transfer and Linear Systems Theory.

Slides:



Advertisements
Similar presentations
ECON 397 Macroeconometrics Cunningham
Advertisements

Symmetry and the DTFT If we know a few things about the symmetry properties of the DTFT, it can make life simpler. First, for a real-valued sequence x(n),
Lecture 7: Basis Functions & Fourier Series
Fourier Transform (Chapter 4)
Review of Frequency Domain
Properties of continuous Fourier Transforms
EE-2027 SaS 06-07, L11 1/12 Lecture 11: Fourier Transform Properties and Examples 3. Basis functions (3 lectures): Concept of basis function. Fourier series.
Autumn Analog and Digital Communications Autumn
Lecture 9: Fourier Transform Properties and Examples
Image (and Video) Coding and Processing Lecture 2: Basic Filtering Wade Trappe.
EE D Fourier Transform.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 4 Image Enhancement in the Frequency Domain Chapter.
SAMPLING & ALIASING. OVERVIEW Periodic sampling, the process of representing a continuous signal with a sequence of discrete data values, pervades the.
CELLULAR COMMUNICATIONS DSP Intro. Signals: quantization and sampling.
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
… Representation of a CT Signal Using Impulse Functions
G52IIP, School of Computer Science, University of Nottingham 1 Image Transforms Fourier Transform Basic idea.
Topic 7 - Fourier Transforms DIGITAL IMAGE PROCESSING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
Integral Transform Dongsup Kim Department of Biosystems, KAIST Fall, 2004.
Discrete-Time and System (A Review)
EE421, Fall 1998 Michigan Technological University Timothy J. Schulz 08-Sept, 98EE421, Lecture 11 Digital Signal Processing (DSP) Systems l Digital processing.
ELEC ENG 4035 Communications IV1 School of Electrical & Electronic Engineering 1 Section 2: Frequency Domain Analysis Contents 2.1 Fourier Series 2.2 Fourier.
DTFT And Fourier Transform
1 Chapter 8 The Discrete Fourier Transform 2 Introduction  In Chapters 2 and 3 we discussed the representation of sequences and LTI systems in terms.
BMI I FS05 – Class 2 “Linear Systems” Slide 1 Biomedical Imaging I Class 2 – Mathematical Preliminaries: Signal Transfer and Linear Systems Theory 9/21/05.
Fourier Series Summary (From Salivahanan et al, 2002)
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 2. Fourier Representation of Signals and Systems
Image Processing © 2002 R. C. Gonzalez & R. E. Woods Lecture 4 Image Enhancement in the Frequency Domain Lecture 4 Image Enhancement.
Module 2 SPECTRAL ANALYSIS OF COMMUNICATION SIGNAL.
Fourier Series. Introduction Decompose a periodic input signal into primitive periodic components. A periodic sequence T2T3T t f(t)f(t)
lecture 4, Convolution and Fourier Convolution Convolution Fourier Convolution Outline  Review linear imaging model  Instrument response function.
Fundamentals of Electric Circuits Chapter 18 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
Basic Operation on Signals Continuous-Time Signals.
Chapter 2 Signals and Spectra (All sections, except Section 8, are covered.)
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
Chapter 2. Signals and Linear Systems
CH#3 Fourier Series and Transform
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.
2D Sampling Goal: Represent a 2D function by a finite set of points.
INTRODUCTION TO SIGNALS
Fourier Transform.
DTFT continue (c.f. Shenoi, 2006)  We have introduced DTFT and showed some of its properties. We will investigate them in more detail by showing the associated.
Lecture 3: The Sampling Process and Aliasing 1. Introduction A digital or sampled-data control system operates on discrete- time rather than continuous-time.
2D Fourier Transform.
Frequency domain analysis and Fourier Transform
Oh-Jin Kwon, EE dept., Sejong Univ., Seoul, Korea: 2.3 Fourier Transform: From Fourier Series to Fourier Transforms.
Chapter 2. Signals and Linear Systems
The Fourier Transform.
CH#3 Fourier Series and Transform 1 st semester King Saud University College of Applied studies and Community Service 1301CT By: Nour Alhariqi.
Math for CS Fourier Transforms
Linear systems: University of Illinois at Chicago ECE 427, Dr. D. Erricolo University of Illinois at Chicago ECE 427, Dr. D. Erricolo Consider two complex.
Fourier Transform (Chapter 4) CS474/674 – Prof. Bebis.
Digital Image Processing Lecture 8: Fourier Transform Prof. Charlene Tsai.
Jean Baptiste Joseph Fourier
Spectral Analysis Spectral analysis is concerned with the determination of the energy or power spectrum of a continuous-time signal It is assumed that.
SAMPLING & ALIASING.
Image Enhancement in the
Dr. Nikos Desypris, Oct Lecture 3
Description and Analysis of Systems
Fourier Transform.
Chapter 2. Fourier Representation of Signals and Systems
UNIT II Analysis of Continuous Time signal
CT-321 Digital Signal Processing
4. Image Enhancement in Frequency Domain
Advanced Digital Signal Processing
Fundamentals of Electric Circuits Chapter 18
HKN ECE 210 Exam 3 Review Session
Chapter 3 Sampling.
Presentation transcript:

BMI II SS06 – Class 2 “Linear Systems 2” Slide 1 Biomedical Imaging II Class 2 – Mathematical Preliminaries: Signal Transfer and Linear Systems Theory 2/6/06

BMI II SS06 – Class 2 “Linear Systems 2” Slide 2 Class objectives Topics you should be familiar with after lecture: Impulse response function (irf) of a linear system (LS) Convolutions Fourier transform (FT)

BMI II SS06 – Class 2 “Linear Systems 2” Slide 3 Overview of topic Goal: To describe a physical system with a mathematical model Example : medical imaging Energy sourcedetector(s)human body "system" quantum image energy conversion analog / digital image detection, storage "system" imaging algorithm ………

BMI II SS06 – Class 2 “Linear Systems 2” Slide 4 Signal transfer by a physical system Signal transferred by a system System input is a function h(x) System operates on input function (system can be described by a mathematical operator) System output is function S{h(x)} Objective: To come up with operators that accurately model systems of interest S h(x)h(x)S{h(x)} InputSystemOutput

BMI II SS06 – Class 2 “Linear Systems 2” Slide 5 Linear systems Additivity Homogeneity Preceding two can be combined into a single property, which is actually a definition of linearity:

BMI II SS06 – Class 2 “Linear Systems 2” Slide 6 LS significance and validity Why is it desirable to deal with LS? Decomposition (analysis) and superposition (synthesis) of signals System acts individually on signal components No signal “mixing” Simplifies qualitative and quantitative measurements Lets us separate S{h(x)} into two independent factors: the source, or driving, term, and the system’s impulse response function (irf)

BMI II SS06 – Class 2 “Linear Systems 2” Slide 7 Rectangular input function (Rectangular pulse) S h(x)h(x)S{h(x)} InputSystemOutput h(x), h(t) x, t 0

BMI II SS06 – Class 2 “Linear Systems 2” Slide 8 Important rectangular pulse special cases H(x-x 0 ), H(t-t 0 ) x, t 0 Step function, Heaviside function (1) x 0, t 0 u(x), u(t) x, t 0 x 1, t 1 x 2, t 2 (x 2 -x 1 ) -1, (t 2 -t 1 ) -1 Unit rectangular (or square) pulse

BMI II SS06 – Class 2 “Linear Systems 2” Slide 9 Limiting case of unit pulse x, t 0 As the pulse narrows we also make it higher, such that the area under the pulse is constant. (Variable power, constant energy.) We can imagine making the pulse steadily narrower (briefer) until it has zero width but still has unit area! A pulse of that type (zero width, unit area) is called an impulse.

BMI II SS06 – Class 2 “Linear Systems 2” Slide 10 Impulse response function (irf) S h(x)h(x)S{h(x)} InputSystemOutput impulse function goes in…impulse response function (irf) comes out! Note: irf has finite duration. Any input function whose width/duration is << that of the irf is effectively an impulse with respect to that system. But the same input might not be an impulse wrt a different system.

BMI II SS06 – Class 2 “Linear Systems 2” Slide 11 Properties of impulse function Mathematical description of impulse function by delta (or Dirac) function: Definition: Sifting property:

BMI II SS06 – Class 2 “Linear Systems 2” Slide 12 Properties of impulse function Mathematical description of impulse function by delta (or Dirac) function: Definition: Sifting property: Equivalently if a < b, then: Note that no true function can have the properties given in the definition of . It is more proper to call  a functional or a generalized function.

BMI II SS06 – Class 2 “Linear Systems 2” Slide 13 Relation between impulse and step functions H(x-x 0 ), H(t-t 0 ) x, t 0 Step function, Heaviside function (1) x 0, t 0

BMI II SS06 – Class 2 “Linear Systems 2” Slide 14 Filter function = irf of the system System (= filter) response: Square pulse smearing out an impulse function evenly over N time points: N = t s System (Filter) t s

BMI II SS06 – Class 2 “Linear Systems 2” Slide 15 Output for arbitrary input signals is given by superposition principle (Linearity!) Think of an arbitrary input function as a sequence of impulse functions, of varying strengths (areas), tightly packed together Then the defining property of an LS, (S{a·h 1 + b·h 2 } = a·S{h 1 } + b·S{h 2 }) tells us that the overall system response is the sum of the corresponding irfs, properly scaled and shifted. Significance of the irf of a LS =

BMI II SS06 – Class 2 “Linear Systems 2” Slide 16 Significance of the irf of a LS To state the same idea mathematically, LS output given by convolution of input signal and irf: Notice that the sum of these two arguments is a constant or t

BMI II SS06 – Class 2 “Linear Systems 2” Slide 17 1/ / Real-world convolution example

BMI II SS06 – Class 2 “Linear Systems 2” Slide 18 Convolution Example Moving – average filter to smooth noisy data Corresponds to convolution of signal with a rectangular pulse of height 1/N and length N t s 1/5[s(1) + s(2) + s(3) + s(4) + s(5)] 1/5[s(2) + s(3) + s(4) + s(5) + s(6)] 1/5[s(7) + s(8) + s(9) + s(10) + s(11)]

BMI II SS06 – Class 2 “Linear Systems 2” Slide 19 Signal with added noise

BMI II SS06 – Class 2 “Linear Systems 2” Slide 20 Result of smoothing

BMI II SS06 – Class 2 “Linear Systems 2” Slide 21 Analytic convolution example I

BMI II SS06 – Class 2 “Linear Systems 2” Slide 22 Analytic convolution example II

BMI II SS06 – Class 2 “Linear Systems 2” Slide 23 Analytic convolution example III

BMI II SS06 – Class 2 “Linear Systems 2” Slide 24 Analytic convolution example III

BMI II SS06 – Class 2 “Linear Systems 2” Slide 25 Analytic convolution example III

BMI II SS06 – Class 2 “Linear Systems 2” Slide 26 f(t)*g(t)f(t)*g(t) Analytic convolution example IV

BMI II SS06 – Class 2 “Linear Systems 2” Slide 27 Analytic convolution example I

BMI II SS06 – Class 2 “Linear Systems 2” Slide 28 Mathematical footnote Imaginary numbers: Any number ki, where k is real, is an imaginary number Complex numbers: any number of the form a + bi, where a and b are real numbers Each complex number has an equivalent representation as a complex exponential (same thing as converting from rectangular to polar coordinates): Euler’s theorem: e ix = cosx + isinx.

BMI II SS06 – Class 2 “Linear Systems 2” Slide 29 System response to a sinusoidal input Frequency domain description: sinusoids as input functions Evaluation by convolution: Sinusoids are eigenfunctions of LS (i.e. are multiplied by complex, frequency dependent factor  amplitude scaling, phase shift) Convolution theorem gives:

BMI II SS06 – Class 2 “Linear Systems 2” Slide 30 Excursion: Fourier Transform (FT) The one-dimensional Fourier Transform is given by F (  ) is in general a complex number, with real and imaginary parts Mostly interested in magnitude or power ( = M (  ) 2 = | F (  )| 2 ) of FT (the spectrum of f(t) )

BMI II SS06 – Class 2 “Linear Systems 2” Slide 31 Inverse FT The one-dimensional inverse Fourier Transform (IFT) is given by The Fourier transform and its inverse can be interpreted as a mathematical technique for converting time–domain data to frequency–domain data, and vice versa.

BMI II SS06 – Class 2 “Linear Systems 2” Slide 32 Detailed FT example 1 t f(t)f(t) t=at=a t=bt=b K 0 Fourier transform ?

BMI II SS06 – Class 2 “Linear Systems 2” Slide 33 a = 0.9, b = 1.1, K = 2 a = 0.4, b = 0.6, K = 2 M M M(F)M(F) M(F)M(F) ω ω Detailed FT example 1

BMI II SS06 – Class 2 “Linear Systems 2” Slide 34 Instructive special cases A) K = 1, a = 0, b = 1: M M ω

BMI II SS06 – Class 2 “Linear Systems 2” Slide 35 Result of smoothing

BMI II SS06 – Class 2 “Linear Systems 2” Slide 36 Result of smoothing (freq. domain) I Original signal

BMI II SS06 – Class 2 “Linear Systems 2” Slide 37 Original signal vs. filtered signal Result of smoothing (freq. domain) II

BMI II SS06 – Class 2 “Linear Systems 2” Slide 38 Properties of Fourier Transform Linearity ö[af(x) + bg(x)] = aö[f(x)] + bö[g(x)] Scaling Shifting ö[f(x-a)] = ö[f(x)]e -iau Convolution theorem ö[f(x)g(x)] = ö[f(x)]  ö[g(x)], ö[f(x)  g(x)] = ö[f(x)]ö[g(x)] Parseval’s theorem

BMI II SS06 – Class 2 “Linear Systems 2” Slide 39 Parseval’s Theorem The total energy in the time domain is the same as the total energy in the frequency domain. (area under curves is the same)

BMI II SS06 – Class 2 “Linear Systems 2” Slide 40 FT Energy or Power H2OH2O Wave generation tank Each H 2 O molecule at the water surface travels up and down a distance of 4A during time T. Its average speed during this time is v avg = 4A/T. Wave amplitude = A. Wave period = T. Let’s increase the force with which we strike the water until the wave amplitude doubles. By what factor does its average speed change? What about its average kinetic energy?

BMI II SS06 – Class 2 “Linear Systems 2” Slide 41 Class objectives Topics you should be familiar with after lecture: FT of an impulse (delta) function FT of a sequence of impulses Equivalence of a discrete (or sampled) function to the product of a continuous function and a “comb” of impulses Relationship between FT of a discrete function and the continuous function from which it is obtained Formulas for discrete Fourier transform (DFT) Essential properties of DFT, and differences between DFT and continuous FT What aliasing is What a band-limited function is Definition of correlation Relationships/differences between correlation and convolution

BMI II SS06 – Class 2 “Linear Systems 2” Slide 42 Impulse function FT

BMI II SS06 – Class 2 “Linear Systems 2” Slide 43 FT of multiple impulse functions But what does an FT of this sort look like? Comb function t 0 = 0 t 0 = 1 t 0 = -1 t 0 = 2 t 0 = -2

BMI II SS06 – Class 2 “Linear Systems 2” Slide 44 Partial sums of comb function FT

BMI II SS06 – Class 2 “Linear Systems 2” Slide 45 Comb function FT Time Domain: Comb of  -functions separated by T. Frequency Domain: Comb of  -functions with separation 1/T. f

BMI II SS06 – Class 2 “Linear Systems 2” Slide 46 Analytic, continuous-function FT example FT

BMI II SS06 – Class 2 “Linear Systems 2” Slide 47 f * Discrete-function FT example FT

BMI II SS06 – Class 2 “Linear Systems 2” Slide 48 Convolution of comb and non-periodic FT

BMI II SS06 – Class 2 “Linear Systems 2” Slide 49 Discrete Fourier Transform (DFT) In real life, data are typically sampled at N evenly spaced time intervals Δt. To take Fourier Transform of discretely sampled signals, we need the DFT of a sequence {u(n), n = 0, 1,...., N-1} The inverse discrete Fourier Transform is given by

BMI II SS06 – Class 2 “Linear Systems 2” Slide 50 DFT – What happens when k = 0 or N/2 ?

BMI II SS06 – Class 2 “Linear Systems 2” Slide 51 Discrete Fourier Transform – Periodicity I

BMI II SS06 – Class 2 “Linear Systems 2” Slide 52 Discrete Fourier Transform – Periodicity II But 2mk is an even integer, and therefore e 2  imk = 1 Accordingly, e 2  ink/N is periodic with period N

BMI II SS06 – Class 2 “Linear Systems 2” Slide 53 Discrete functions and aliasing I

BMI II SS06 – Class 2 “Linear Systems 2” Slide 54 Discrete functions and aliasing II

BMI II SS06 – Class 2 “Linear Systems 2” Slide 55 Discrete functions and aliasing III

BMI II SS06 – Class 2 “Linear Systems 2” Slide 56 Discrete functions and aliasing IV

BMI II SS06 – Class 2 “Linear Systems 2” Slide 57 Discrete functions and aliasing V When the sampling interval is Δt, the highest frequency that can be accurately reproduced by the samples is f t = 1/(2Δt) (or ω t =  /Δt). (Nyquist) When the sampling interval is Δt, the limiting frequency corresponds to exactly two samples per wavelength or period. Note, however, that some loss of information occurs at the Nyquist frequency. We get a real value in the DFT, while the continuous function being sampled might well have had a non–zero imaginary part at that frequency. Another way of saying the same thing: the DFT gets the amplitude right at the Nyquist frequency, but loses the phase.

BMI II SS06 – Class 2 “Linear Systems 2” Slide 58 Discrete functions and aliasing VI What can we do to get the correct phase information at (or above) ω c  ω Nyquist ? Suggestion: Increase the number of samples, but how? (Smaller Δ t? Larger number of samples? Both?)

BMI II SS06 – Class 2 “Linear Systems 2” Slide 59 Discrete functions and aliasing VII When a continuous function is sampled at rate Δt, the DFT contains all frequencies above ω c aliased down to apparent frequencies less than ω c. The only good (I said good, not easy) preventives for aliasing are: 1. increase sampling rate until ω c reaches a value above which it is known a priori that the continuous signal contains negligible spectral energy; 2. have the continuous signal pass through a low–pass filter, with a frequency cutoff less than ω c, before the signal is sampled. If either of the above is successfully carried out, then the continuous signal is said to be band–limited.

BMI II SS06 – Class 2 “Linear Systems 2” Slide 60 Modulation Transfer Function (MTF) FT of irf / psf is called the system transfer function T(  ) / T(u,v) T yields the (spatial) frequency components transmitted by the linear system (amplitude and phase) The normalized expression T(u,v) / T(0,0) is the optical transfer function O(u,v) The magnitude of T can be thought of as a filter function The magnitude of the normalized function O(u,v) is called the modulation transfer function MTF used to describe resolution frequency-depending contrast frequency-depending sensitivity

BMI II SS06 – Class 2 “Linear Systems 2” Slide 61 Convolution vs. Correlation Sum is a constant Difference is a constant Correlation is a measure of the similarity between f and g. t is a variable to account for the possibility that it might look as though f and g are very different, but it turns out that g is simply displaced in time relative to f.

BMI II SS06 – Class 2 “Linear Systems 2” Slide 62 Correlation example

BMI II SS06 – Class 2 “Linear Systems 2” Slide 63 Convolution vs. correlation: frequency domain