Image (and Video) Coding and Processing Lecture 2: Basic Filtering Wade Trappe.

Slides:



Advertisements
Similar presentations
ECON 397 Macroeconometrics Cunningham
Advertisements

Signal Processing in the Discrete Time Domain Microprocessor Applications (MEE4033) Sogang University Department of Mechanical Engineering.
Signal and System I Causality ROC for n < 0 causal All z -n terms, not include any z terms If and only if ROC is exterior of a circle and include.
AMI 4622 Digital Signal Processing
Chapter 8: The Discrete Fourier Transform
EECS 20 Chapter 12 Part 11 Stability and Z Transforms Last time we Explored sampling and reconstruction of signals Saw examples of the phenomenon known.
Lecture 19: Discrete-Time Transfer Functions
EE-2027 SaS, L11 1/13 Lecture 11: Discrete Fourier Transform 4 Sampling Discrete-time systems (2 lectures): Sampling theorem, discrete Fourier transform.
EE-2027 SaS, L18 1/12 Lecture 18: Discrete-Time Transfer Functions 7 Transfer Function of a Discrete-Time Systems (2 lectures): Impulse sampler, Laplace.
Frequency Response of Discrete-time LTI Systems Prof. Siripong Potisuk.
Z-Transform Fourier Transform z-transform. Z-transform operator: The z-transform operator is seen to transform the sequence x[n] into the function X{z},
Discrete-Time Convolution Linear Systems and Signals Lecture 8 Spring 2008.
Lecture 9 FIR and IIR Filter design using Matlab
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
The sampling of continuous-time signals is an important topic It is required by many important technologies such as: Digital Communication Systems ( Wireless.
Discrete-Time and System (A Review)
1 7.1 Discrete Fourier Transform (DFT) 7.2 DFT Properties 7.3 Cyclic Convolution 7.4 Linear Convolution via DFT Chapter 7 Discrete Fourier Transform Section.
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.
UNIT - 4 ANALYSIS OF DISCRETE TIME SIGNALS. Sampling Frequency Harry Nyquist, working at Bell Labs developed what has become known as the Nyquist Sampling.
Chapter 2 Discrete-Time Signals and Systems
1 Signals & Systems Spring 2009 Week 3 Instructor: Mariam Shafqat UET Taxila.
Chapter 2: Discrete time signals and systems
10.0 Z-Transform 10.1 General Principles of Z-Transform linear, time-invariant Z-Transform Eigenfunction Property y[n] = H(z)z n h[n]h[n] x[n] = z n.
CE Digital Signal Processing Fall 1992 Z Transform
(Lecture #08)1 Digital Signal Processing Lecture# 8 Chapter 5.
1 1 Chapter 3 The z-Transform 2 2  Consider a sequence x[n] = u[n]. Its Fourier transform does not converge.  Consider that, instead of e j , we use.
System Function of discrete-time systems
Z Transform Chapter 6 Z Transform. z-Transform The DTFT provides a frequency-domain representation of discrete-time signals and LTI discrete-time systems.
1 Z-Transform. CHAPTER 5 School of Electrical System Engineering, UniMAP School of Electrical System Engineering, UniMAP NORSHAFINASH BT SAUDIN
Zhongguo Liu_Biomedical Engineering_Shandong Univ. Chapter 8 The Discrete Fourier Transform Zhongguo Liu Biomedical Engineering School of Control.
Concepts of Multimedia Processing and Transmission IT 481, Lecture 2 Dennis McCaughey, Ph.D. 29 January, 2007.
Department of Computer Eng. Sharif University of Technology Discrete-time signal processing Chapter 3: THE Z-TRANSFORM Content and Figures are from Discrete-Time.
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
Fourier Analysis of Discrete Time Signals
Z TRANSFORM AND DFT Z Transform
Fourier Analysis of Signals and Systems
EEE 503 Digital Signal Processing Lecture #2 : EEE 503 Digital Signal Processing Lecture #2 : Discrete-Time Signals & Systems Dr. Panuthat Boonpramuk Department.
1 Digital Signal Processing Lecture 3 – 4 By Dileep kumar
ES97H Biomedical Signal Processing
Technological Educational Institute Of Crete Department Of Applied Informatics and Multimedia Neural Networks Laboratory Slide 1 FOURIER TRANSFORMATION.
Digital Signal Processing
Transform Analysis of LTI Systems Quote of the Day Any sufficiently advanced technology is indistinguishable from magic. Arthur C. Clarke Content and Figures.
Digital Signal Processing
Chapter 4 LTI Discrete-Time Systems in the Transform Domain
Technological Educational Institute Of Crete Department Of Applied Informatics and Multimedia Neural Networks Laboratory Slide 1 DISCRETE SIGNALS AND SYSTEMS.
EE313 Linear Systems and Signals Fall 2010 Initial conversion of content to PowerPoint by Dr. Wade C. Schwartzkopf Prof. Brian L. Evans Dept. of Electrical.
Sampling and Reconstruction The impulse response of an continuous-time ideal low pass filter is the inverse continuous Fourier transform of its frequency.
Topics 1 Specific topics to be covered are: Discrete-time signals Z-transforms Sampling and reconstruction Aliasing and anti-aliasing filters Sampled-data.
DISP 2003 Lecture 5 – Part 1 Digital Filters 1 Frequency Response Difference Equations FIR versus IIR FIR Filters Properties and Design Philippe Baudrenghien,
1 Discrete-Time signals and systems. 2 Introduction Signal: A signal can be defined as a function that conveys information, generally about the state.
بسم الله الرحمن الرحيم Digital Signal Processing Lecture 3 Review of Discerete time Fourier Transform (DTFT) University of Khartoum Department of Electrical.
Chapter 2 The z-transform and Fourier Transforms The Z Transform The Inverse of Z Transform The Prosperity of Z Transform System Function System Function.
In summary If x[n] is a finite-length sequence (n  0 only when |n|
Review of DSP.
1 Chapter 8 The Discrete Fourier Transform (cont.)
Discrete Time Signal Processing Chu-Song Chen (陳祝嵩) Institute of Information Science Academia Sinica 中央研究院 資訊科學研究所.
Review of DSP.
CHAPTER 5 Z-Transform. EKT 230.
EE Audio Signals and Systems
LAPLACE TRANSFORMS PART-A UNIT-V.
Quick Review of LTI Systems
Prof. Vishal P. Jethava EC Dept. SVBIT,Gandhinagar
Research Methods in Acoustics Lecture 9: Laplace Transform and z-Transform Jonas Braasch.
Chapter 5 DT System Analysis : Z Transform Basil Hamed
Z TRANSFORM AND DFT Z Transform
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer.
Discrete-Time Signal processing Chapter 3 the Z-transform
Concept of frequency in Discrete Signals & Introduction to LTI Systems
10.0 Z-Transform 10.1 General Principles of Z-Transform Z-Transform
Review of DSP.
Presentation transcript:

Image (and Video) Coding and Processing Lecture 2: Basic Filtering Wade Trappe

Lecture Overview Today’s lecture will focus on: –Review of 1-D Signals –Multidimensional signals –Fourier analysis –Multidimensional Z-transforms –Multidimensional Filters

1-D Discrete Time Signals A one-dimensional discrete time signal is a function x(n) The Z-transform of x(n) is given by The Z-transform is not guaranteed to exist because the summation may not converge for arbitrary values of z. The region where the summation converges is the Region of Convergence Example: If U(n) is the unit step sequence, an x(n)=a n U(n), then

1-D Discrete Time Signals, pg. 2 If the ROC includes the unit circle, then there is a discrete Fourier transform (found by evaluating at z=e j  ): The inverse transform is given by: Observe: The DFT is defined in terms of radians! It is therefore periodic with period 2  ! Parseval/Plancherel Relationship:

1-D Discrete Time Signals, pg. 3 Discrete time linear, time-invariant systems are characterized by the impulse response h(n), which define the relationship between input x(n) and output y(n) This is convolution, and is expressed in the transform domain as: Causality: A discrete-time system is causal if the output at time n does not depend on any future values of the input sequence. This requires that

1-D Filters The impulse response for a system is also called the system’s transfer function. In general, transfer functions are of the form A system is a finite impulse response (FIR) system if H(z)=A(z), i.e. we can remove the denominator B(z) –That is, the impulse response has a finite amount of terms. An infinite impulse response system is one where H(z) has an infinite amount of non-zero terms. Example of an IIR system:

1-D Filters, pg. 2 A discrete-time system is said to be bounded input bounded output (BIBO stable), if every input sequence that is bounded produces an output sequence that is bounded. For LTI systems, BIBO stability is equivalent to Stability in terms of the poles of H(z): –If H(z) is rational, and h(n) is causal, then stability is equivalent to all of the poles of H(z) lying inside of the unit circle

Sampling: From Continuity to Discrete The real world is a world of continuous (analog) signals, whether it is sound or light. To process signals we will need “sampled” discrete-time signals Analog signals x a (t) have Fourier transform pairs Let us define the sampled function x(n)=x a (nT). The Fourier transforms are related as: (Note: This is a good, little homework problem… will be assigned!)

Sampling: From Continuity to Discrete The effect of the sampling in the frequency domain is essentially –Duplication of X a (  ) at intervals of 2  /T –Addition of these “copies” Pictorially, we have something like the following: Note: If the shifted copies overlap, then its “impossible” to recover the original signal from X(  ). 0 2  /T 4  /T-2  /T-4  /T … … 1/T X a (  ) Aliasing Shifted Copies

Sampling: From Continuity to Discrete, pg. 2 Aliasing occurs when there is overlap between the shifted copies To prevent aliasing, and ensure recoverability, we can apply an “anti-aliasing” filter to ensure there is no overlap. The overlap-free condition amounts to ensuring that If, then we say that x a (t) is W-bandlimited. As a consequence of the overlap-free condition, if we sample at a rate at least W, then we can avoid aliasing. This is, essentially, Shannon’s sampling theorem.

Multidimensional signals A D-dimensional signal x a (t 0,t 1,…,t D-1 ) is a function of D real variables. We will often denote this as x a (t), where the bold-faced t denotes the column vector t=[t 0, t 1, …, t D-1 ] T. The subscript “a” is just used to denote the analog signal. Later, we shall use the subscript “s” to denote the sampled signal, or no subscript at all. The Fourier transform of x a (t) is defined by

Multidimensional signals, pg. 2 The Fourier transform is thus a scalar function of D variables. The Fourier transform is (in general) complex! The Inverse Fourier transform of X a (  ) is defined by Define the column vector of frequencies We get these relationships Note the difference that D-dimensions introduces compared to 1-d Fourier Transform!

Example 2D Fourier Transform Image example from Gonzalez-Woods 2/e online slides. Note: Ringing artifacts, just like 1-D case when we Fourier Transform a square wave

Bandlimited Signals The notion of a bandlimited multidimensional signal is a straight-forward extension of the one-dimensional case: –x a (t) is bandlimited if X a (  ) is zero everywhere except over a region with finite area. 00 11 BandlimitedNot Bandlimited 00 11

Multidimensional Sampled Signals We will use n=[n 0,n 1,…,n D-1 ] T to denote an arbitrary D- dimensional vector of integer values A signal x(n) is just a function of D integer values The Fourier transform of x(n) and the inverse transform are given by Key point: X(  ) is periodic in each variable  i with period 2 

Multidimensional Z transform The Z transform of x(n) is Plugging in gives X(  ). We will often use the notation This notation will be useful later as it allows us to represent things in a way similar to the 1-dimensional Z-transform

Properties of Fourier and Z transforms Linearity Shift: Hence, the multidimensional Z-transform is analogous to the one-dimensional delay operator Convolution:

Multidimensional Filters The basic scenario for multidimensional digital filters is: Convolution: Here, the transfer function is If x(n) has finite support, then y(n) will generally have larger support than x(n) H(z) x(n) y(n)

Multidimensional Filter Response Just as in 1-D, the filter H can be characterized in terms of its frequency response. In this case, the frequency response is 00 11 00 11 00 11 Rectangular Lowpass Circular Lowpass Diamond Lowpass

Multidimensional Filters Multidimensional filters can be built by applying 1-D filters to each dimension separately These types of filters are separable. A separable filter is one for which the frequency response can be represented as: 00 11 00 11 Rectangular LowpassNot Separable

2-D Convolution, by hand… 1.Rotate the impulse response array h( ,  ) around the original by 180 degree 2.Shift by (m, n) and overlay on the input array x(m’,n’) 3.Sum up the element-wise product of the above two arrays 4.The result is the output value at location (m, n) From Jain’s book Example 2.1

For Next Time… Next time we will focus on multidimensional sampling. –This lecture will be a blackboard/whiteboard style lecture. To prepare, read paper provided on website, and the discussion on lattices in the textbook