Course Outline. ECE 178: Image Processing REVIEW. Relationship between pixels. Connected components. Distance Measures. Linear systems-review

Similar documents
Absolute Specifications: A typical absolute specification of a lowpass filter is shown in figure 1 where:

Basic Gray Level Transformations (2) Negative

3.1 Random variables

Fast DCT-based image convolution algorithms and application to image resampling and hologram reconstruction

Chapter 3 Optical Systems with Annular Pupils

MAGNETIC FIELD AROUND TWO SEPARATED MAGNETIZING COILS

A STUDY OF HAMMING CODES AS ERROR CORRECTING CODES

Stanford University CS259Q: Quantum Computing Handout 8 Luca Trevisan October 18, 2012

EEO 401 Digital Signal Processing Prof. Mark Fowler

MATH 417 Homework 3 Instructor: D. Cabrera Due June 30. sin θ v x = v r cos θ v θ r. (b) Then use the Cauchy-Riemann equations in polar coordinates

Elementary Statistics and Inference. Elementary Statistics and Inference. 11. Regression (cont.) 22S:025 or 7P:025. Lecture 14.

2. Electrostatics. Dr. Rakhesh Singh Kshetrimayum 8/11/ Electromagnetic Field Theory by R. S. Kshetrimayum

Information Retrieval Advanced IR models. Luca Bondi

MODULE 5a and 5b (Stewart, Sections 12.2, 12.3) INTRO: In MATH 1114 vectors were written either as rows (a1, a2,..., an) or as columns a 1 a. ...

8 Separation of Variables in Other Coordinate Systems

PROBLEM SET #1 SOLUTIONS by Robert A. DiStasio Jr.

Right-handed screw dislocation in an isotropic solid

Contact impedance of grounded and capacitive electrodes

ON THE TWO-BODY PROBLEM IN QUANTUM MECHANICS

This is a very simple sampling mode, and this article propose an algorithm about how to recover x from y in this condition.

Applied Aerodynamics

MATH 220: SECOND ORDER CONSTANT COEFFICIENT PDE. We consider second order constant coefficient scalar linear PDEs on R n. These have the form

HOW TO TEACH THE FUNDAMENTALS OF INFORMATION SCIENCE, CODING, DECODING AND NUMBER SYSTEMS?

Gaussian Distortion-Rate Function under Sub-Nyquist Nonuniform Sampling

Lecture 04: HFK Propagation Physical Optics II (Optical Sciences 330) (Updated: Friday, April 29, 2005, 8:05 PM) W.J. Dallas

Physics 235 Chapter 5. Chapter 5 Gravitation

An Exact Solution of Navier Stokes Equation

Graphs of Sine and Cosine Functions

4/18/2005. Statistical Learning Theory

&& && F( u)! "{ f (x)} = f (x)e # j 2$ u x. f (x)! " #1. F(u,v) = f (x, y) e. f (x, y) = 2D Fourier Transform. Fourier Transform - review.

6 PROBABILITY GENERATING FUNCTIONS

Math 124B February 02, 2012

TheWaveandHelmholtzEquations

School of Electrical and Computer Engineering, Cornell University. ECE 303: Electromagnetic Fields and Waves. Fall 2007

IMAGE COMPRESSION-II. Week IX. 03/6/2003 Image Compression-II 1

Topic 4a Introduction to Root Finding & Bracketing Methods

Random Variables and Probability Distribution Random Variable

Fresnel Diffraction. monchromatic light source

6 Matrix Concentration Bounds

15 Solving the Laplace equation by Fourier method

(A) 2log( tan cot ) [ ], 2 MATHEMATICS. 1. Which of the following is correct?

Physics 181. Assignment 4

{ } ( ) ( ) ( 1 ( ) π 2. Trapezoidal rule: a ( ) ( ) Simpson rule: 3/8 Simpson rule: Boole's rule a ( ) ( ) ( ) ( + ) 45 Weddle's Rule Hardy's rule:

Physics 111 Lecture 5 (Walker: 3.3-6) Vectors & Vector Math Motion Vectors Sept. 11, 2009

The Schwartzchild Geometry

1.2 Differential cross section

New problems in universal algebraic geometry illustrated by boolean equations

2. Plane Elasticity Problems

Review: Electrostatics and Magnetostatics

Numerical Inversion of the Abel Integral Equation using Homotopy Perturbation Method

Circuit Synthesizable Guaranteed Passive Modeling for Multiport Structures

Chapter 5 Linear Equations: Basic Theory and Practice

PHYS 705: Classical Mechanics. Small Oscillations

Brightness Preserving Histogram Equalization with Maximum Entropy: A Variational Perspective Chao Wang and Zhongfu Ye

PHYS 1114, Lecture 21, March 6 Contents:

Fields and Waves I Spring 2005 Homework 8. Due: 3 May 2005

Anyone who can contemplate quantum mechanics without getting dizzy hasn t understood it. --Niels Bohr. Lecture 17, p 1

Phys 201A. Homework 5 Solutions

Qualifying Examination Electricity and Magnetism Solutions January 12, 2006

PISCES II : 2.5-D RF Cavity Code

Pearson s Chi-Square Test Modifications for Comparison of Unweighted and Weighted Histograms and Two Weighted Histograms

AH Mechanics Checklist (Unit 2) AH Mechanics Checklist (Unit 2) Circular Motion

Lecture 8 - Gauss s Law

As is natural, our Aerospace Structures will be described in a Euclidean three-dimensional space R 3.

Revision of Lecture Eight

Multi-Objective Optimization Algorithms for Finite Element Model Updating

A New Hybrid DWT-SVD Image-Coding System for Color Images

, the tangent line is an approximation of the curve (and easier to deal with than the curve).

Surveillance Points in High Dimensional Spaces

Gauss Law. Physics 231 Lecture 2-1

Temporal-Difference Learning

HW Solutions # MIT - Prof. Please study example 12.5 "from the earth to the moon". 2GmA v esc

PHYS Summer Professor Caillault Homework Solutions. Chapter 9

Analytical calculation of the power dissipated in the LHC liner. Stefano De Santis - LBNL and Andrea Mostacci - CERN

DonnishJournals

Dymore User s Manual Two- and three dimensional dynamic inflow models

SMT 2013 Team Test Solutions February 2, 2013

18.06 Problem Set 4 Solution

What Form of Gravitation Ensures Weakened Kepler s Third Law?

On asymptotically optimal methods of prediction and adaptive coding for Markov sources

3D-Central Force Problems I

Fields and Waves I Spring 2005 Homework 4. Due 8 March 2005

Fluid flow in curved geometries: Mathematical Modeling and Applications

Geometry of the homogeneous and isotropic spaces

COUPLED MODELS OF ROLLING, SLIDING AND WHIRLING FRICTION

Amplitude and Phase Fluctuations for Gravitational Waves Propagating through Inhomogeneous Mass Distribution in the Universe

Question Bank. Section A. is skew-hermitian matrix. is diagonalizable. (, ) , Evaluate (, ) 12 about = 1 and = Find, if

Goodness-of-fit for composite hypotheses.

Research Design - - Topic 17 Multiple Regression & Multiple Correlation: Two Predictors 2009 R.C. Gardner, Ph.D.

AE301 Aerodynamics I UNIT B: Theory of Aerodynamics

Math 2263 Solutions for Spring 2003 Final Exam

Quasi-Randomness and the Distribution of Copies of a Fixed Graph

EELE 3331 Electromagnetic I Chapter 4. Electrostatic fields. Islamic University of Gaza Electrical Engineering Department Dr.

VECTOR MECHANICS FOR ENGINEERS: STATICS

Deconvolution: A Wavelet Frame Approach

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Physics Department Physics 8.07: Electromagnetism II September 15, 2012 Prof. Alan Guth PROBLEM SET 2

Scattering in Three Dimensions

INTRODUCTION. 2. Vectors in Physics 1

COMP Parallel Computing SMM (3) OpenMP Case Study: The Barnes-Hut N-body Algorithm

2 Governing Equations

Transcription:

ECE 78: Image Pocessing REVIEW Lectue #2 Mach 3, 23 Couse Outline! Intoduction! Digital Images! Image Tansfoms! Sampling and Quantization! Image Enhancement! Image/Video Coding JPEG MPEG Mach 3, 23 Mach 3, 23 2 Relationship between pixels! eighbohoods 4-neighbos (,S,W,E pixels) == 4 (p). Diagonal neighbos == D (p). 8-neighbos: include diagonal pixels == 8 (p).! Connectivity -> to tace contous, define object boundaies, segmentation. V: Set of gay level values used to define connectivity; e.g., V={}. Connected components! If p and q ae in S, p is connected to q in S if thee is a path fom p to q entiely in S.! Connected component: Set of pixels in S that ae connected; Thee can be moe than one such set within a given S.! Labelling of connected components. Mach 3, 23 3 Mach 3, 23 4 Distance Measues! What is a Distance Metic? Fo pixels p,q, and z, with coodinates (x,y), (s,t), and (u,v), espectively: Dpq (, ) ( Dpq (, ) = iff p= q) Dpq (, ) = Dqp (, ) Dpz (, ) Dpq (, ) + Dqz (, ) Linea systems-eview 2D impulse function Line function Step function Linea systems and Shift invaiance Impulse Response of LSI Systems 2-D Convolution Mach 3, 23 5 Mach 3, 23 6

2D FT: Popeties 2-D Digital Tansfoms Week II-III Lineaity: a f(x,y) + b g(x,y) Convolution: f(x,y) g(x,y) = F(u,v) G(u,v) Multiplicationn: f(x,y) g(x,y) = F(u,v) G(u,v) Sepaable functions: Suppose f(x,y) = g(x) h(y), Then F(u,v)=G(u)H(v) Shifting: f(x+x, y+y ) a F(u,v) + b G(u,v) exp[2π (x u + y v)] F(u,v) Mach 3, 23 7 Mach 3, 23 8 2-D DFT Often it is convenient to conside a symmetic tansfom: In 2-D: conside a X image - vk ( ) = ÂunW ( ) n= - un ( ) = Â vkw ( ) n= kn -kn and - - km ln vkl (,) = Â Â umn (, ) W W, m= n= - - umn (, ) = Â Â vkl (, ) W k= l= -km-ln Mach 3, 23 9 2D DFT Popeties: Peiodicity & Conjugate Symmety F u(m,n) v(k,l) v(k,l) = v(k+, l) = v(k, l+) = v(k+, l+) If u(m,n) is eal, v(k,l) also exhibits conjugate symmety v(k,l) = v* (-k, -l) o v(k,l) = v(-k, -l) Mach 3, 23 Rotation Linea Convolution using DFT Extended sequences Cicula convolution Mach 3, 23 Mach 3, 23 2

Discete Cosine Tansfom Conside - D fist; Let x(n) be a point sequence n -. 2 - point x(n) y(n) DFT 2 point point Y(u) C(u) xn ( ), n yn ( ) = xn ( ) + x( 2 n) = x( 2 n), n 2 x(n) y(n) Why DCT?! Blocking atifacts less ponounced in DCT than in DFT.! Good appoximation to the Kahunen- Loeve Tansfom (KLT) but with basis vectos fixed.! DCT is used in JPEG image compession standad. 2 3 4 2 3 4 5 6 7 8 Mach 3, 23 3 Mach 3, 23 4 Sampling and Quantization Sampling and Quantization 2D sampling theoem Optimal quantize Unifom quantize WEEK IV Mach 3, 23 5 Mach 3, 23 6 Sampled Spectum: Example Reconstuction R 2 R δr Mach 3, 23 7 Mach 3, 23 8

Image Quantization Quantization u (continuous ) Quantize u u ε {, 2, 3,..., L } k!optimal quantize! Unifom Quantize t t k t k+ t L+ u Mach 3, 23 9 Mach 3, 23 2 MMSE Quantize Minimise the mean squaed eo, MSE = Expected value of (u-u ) 2 given the numbe of quantization levels L. Assume that the density function p u (u) is known (o can be appoximated by a nomalised histogam). ote that fo images, u==image intensity. p u (u) is the image intensity ditibution. Mach 3, 23 2 Optimum tansition/econst. () Optimal tansition levels lie halfway between the optimum econstuction levels. (2) Optimum econstuction levels lie at the cente of mass of the pobabality density in between the tansition levels. (3) A and B ae simultaneous non-linea equations (in geneal) Closed fom solutions nomally dont exist use numeical techniques Mach 3, 23 22 Image Enhancement Image Enhancement WEEK V-VI! Point Opeations! Histogam Modification! Aveage and Median Filteing! Fequency domain opeations! Homomophic Filteing! Edge enhancement Mach 3, 23 23 Mach 3, 23 24

Equalization (contd.) Histogam Modification We ae inteested in obtaining a tansfomation function T( ) which tansfoms an abitay p.d.f. to an unifom distibution! Histogam Equalization! Histogam Specification p () p s (s) s Mach 3, 23 25 Mach 3, 23 26 Histogam specification z Suppose s= T() = p ( w) dw p () Oiginal histogam ; p () z Desied histogam z Let v= G() z = p ( w) dw and z= G () v But s and v ae identical p.d.f. z= G () v = G () s = G ( T()) z z Steps: () Equalize the levels of oiginal image (2) Specify the desied p z (z) and obtain G(z) (3) Apply z=g - (s) to the levels s obtained in step Example Poblem Which tansfomation should be applied in ode to change the 3 π histogam hb ( ) = b into tb ( ) = sin( πb)? 2 2 Mach 3, 23 27 Mach 3, 23 28 Median filteing Replace f (x,y) with median [ f (x, y ) ] (x, y ) E neighbouhood Useful in eliminating intensity spikes. ( salt & peppe noise) Bette at peseving edges. Invaiant Signals Invaiant signals to a median filte: Constant Monotonically inceasing deceasing Example: 2 2 (,5,2,2,2,2,2,25,) 2 5 2 Median=2 25 2 So eplace (5) with (2) Mach 3, 23 29 length? Mach 3, 23 3

Homomophic filteing (not discussed duing class lectue) Conside f (x,y) = i (x,y). (x,y) Illumination Reflectance ow I{ f( x, y)} I{. i } So cannot opeate on individual components diectly Let zxy (, ) = ln f( xy, ) = ln ixy (, ) + ln xy (, ) I { zxy (, )} = I {ln i} + I{ln } Z(, u v) = I + R; Let S(, u v) = HZ = HI + HR sxy (, ) =I { HI} +I { HR} Let i ( x, y) =I { HI} ; ( x, y) =I { HR} Mach 3, 23 3 IMAGE COMPRESSIO Week VIII-IX Mach 3, 23 32 Image compession Objective: To educe the amount of data equied to epesent an image. Impotant in data stoage and tansmission Pogessive tansmission of images (intenet, www) Video coding (HDTV, Teleconfeencing) Digital libaies and image databases Medical imaging Satellite images IMAGE COMPRESSIO! Data edundancy! Self-infomation and Entopy! Eo-fee and lossy compession! Huffman coding, Aithmetic coding! Pedictive coding! Tansfom coding Mach 3, 23 33 Mach 3, 23 34 Video Coding! Motion compensation! H.26, MPEG- and MPEG-2 The End Mach 3, 23 35 Mach 3, 23 36