Docsity

Image Operations - Multimedia Signal Processing - Lecture Slides, Slides of Electronics engineering

Toggle sidebar
bg1
050 100 150 200 250
0
500
1000
1500
2000
2500
3000
3500
050 100 150 200 250
0
500
1000
1500
2000
2500
3000
3500
Original histogram Equalized histogram
Image Operations in Different Domains
1) Gray value (histogram) domain
2) Spatial (image) domain
3) Frequency (Fourier) domain
- Histogram stretching, equalization, specification, etc...
- Average filter, median filter, gradient, laplacian, etc…
Original image Gradient magnitude
22 yx fff
f
Blurry Image Laplacian
+ =
Sharpened Image
Noisy image
(Salt & Pepper noise)
3 X 3 Average 5 X 5 Average
7 X 7 Average Median
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15

Partial preview of the text

Download Image Operations - Multimedia Signal Processing - Lecture Slides and more Slides Electronics engineering in PDF only on Docsity!

(^00 50 100 150 200 )

(^1000500) 15002000

25003000

3500

(^00 50 100 150 200 )

(^1000500) 15002000

25003000

3500

Original histogram Equalized histogram

Image Operations in Different Domains

  1. Gray value (histogram) domain

  2. Spatial (image) domain

  3. Frequency (Fourier) domain

  • Histogram stretching, equalization, specification, etc...
  • Average filter, median filter, gradient, laplacian, etc…

Original image Gradient magnitude

Blurry Image Laplacian ff^  fx^2  fy^2

  • =

Sharpened Image

Noisy image

(Salt & Pepper noise)

3 X 3 Average 5 X 5 Average

7 X 7 Average Median Docsity.com

=

3 sin(x) A

  • 1 sin(3x) B^ A+B

  • 0.8 sin(5x) (^) C (^) A+B+C

  • 0.4 sin(7x) D A+B+C+D

A sum of sines and cosines

sin(x) A

The Continuous Fourier Transform

 (^) 



u

f ( x ) F(u)e^2  iuxdu

e^2 ^ iux^  cos ( 2  ux )  i sin( 2  ux )

Complex Numbers

Real

Imaginary

Z=(a,b)

a

b

(conjugate)

(phase)

(Fourier spectrum)

(aunit vector)

 

i

i

Z Z a ib Z e

tg b a

Z a b

e i

i i

   

 

 

   

( / )

cos sin

1 ( 1 )

Z ei

a ib

Z Z i Z

 

 Re( ) Im( )

The Fourier Transform

 (^)   (^ f ( x ) )



x

F ( u ) f(x)e^2  iuxdx

1D Continuous Fourier Transform:

 ^1 ( F ( u ))

The Inverse Fourier Transform

The Continuous Fourier Transform

 (^)  





  x y

F ( u , v ) f(x, y)e^2  i^ ( ux vy) dxdy

2D Continuous Fourier Transform:

 (^)  





  u v

f ( x , y ) F(u, v)e^2  i^ ( ux vy) dudv

 (^) 



u

f ( x ) F(u)e^2  iuxdu

The Inverse Transform

The Transform Docsity.com

The wavelength is 1 / u^2  v^2. The direction is u/v.

The 2D Basis Functions

u=-2, v=0 u=-1, v=0^ u=0, v=0^ u=1, v=0 u=2, v=

u=-2, v=1 u=-1, v=1 u=0, v=1 u=1, v=1 u=2, v=

u=-2, v=2 u=-1, v=2 u=0, v=2 u=1, v=2 u=2, v=

u=-2, v=-1 u=-1, v=-1 u=0, v=-1 u=1, v=-1 u=2, v=-

u=-2, v=-2 u=-1, v=-2 u=0, v=-2 u=1, v=-2 u=2, v=-

U

V

e^2 ^ i ( ux  vy )

 

 

1 0

2 ( ) ( )

N u

N

iux f x F u e

( )^1 ( )

N

x

N

iux F u N f x e

(u = 0,..., N-1)

(x = 0,..., N-1)

1D Discrete Fourier Transform:

The Discrete Fourier Transform

 

 1   0

( , )^11 N ( , )^2 ( ) x

M

y

M

vy N i ux F u v N M f x y e^ 

2D Discrete Fourier Transform:

 

 1   0

( , ) N ( , )^2 ( ) u

M

v

M

vy N i ux f x y F u v e^  (x = 0,..., N-1; y = 0,…,M-1)

(u = 0,..., N-1; v = 0,…,M-1)

Image f Fourier spectrum log(1 + |F(u,v)|)

The Fourier Image

Fourier spectrum |F(u,v)|

Low pass Filtering

99.5% 99.9% Docsity.com

Noise Removal

Noisy image

Fourier Spectrum Noise-cleaned imageDocsity.com

High Frequency Emphasis

Original (^) + High Pass Filtered

High Frequency Emphasis

Original High Frequency Emphasis

Original

High Frequency

Emphasis Docsity.com

2D Image 2D Image - Rotated

Fourier Spectrum Fourier Spectrum

Rotation

Image

Domain Frequency Domain

Fourier Transform -- Examples