frequency domain processing

27
02/07/2002 Frequency Domain Processing 1 Frequency Domain Processing Frequency domain processing Homomorphic filtering

Upload: others

Post on 03-Feb-2022

4 views

Category:

Documents


0 download

TRANSCRIPT

02/07/2002 Frequency Domain Processing 1

Frequency Domain Processing

Frequency domain processing�Homomorphic filtering

02/07/2002 Frequency Domain Processing 2

Recap: Fig 4.1

02/07/2002 Frequency Domain Processing 3

An example: Fig 4.2

02/07/2002 Frequency Domain Processing 4

Basic Scheme

02/07/2002 Frequency Domain Processing 5

An image and its DFT: Fig 4.4

02/07/2002 Frequency Domain Processing 6

filtering

02/07/2002 Frequency Domain Processing 7

Ideal Low Pass Filter

02/07/2002 Frequency Domain Processing 8

An image: Fig 4.11

02/07/2002 Frequency Domain Processing 9

LPF at different cut-off frequencies

Notice the�ringing�in b-f.

02/07/2002 Frequency Domain Processing 10

Butterworth LPF

LPF : 1H(u,v)

D0 D(u,v)

Butterworth filter:1

H (u,v)

D(u,v)/D0

G u v H u v F u v

H u vD u v DD u v D

D u v u v

( , ) ( , ) ( , )

( , )( , )( , )

( , )

=

=≤>

RST= +

10

0

0

2 2

ifif

(Circularly symmetric)

H u vD u v D n( , )

[ ( , ) / ]=

+1

1 02

02/07/2002 Frequency Domain Processing 11

�Ringing�: Fig 4.13

02/07/2002 Frequency Domain Processing 12

Butterworth filter: Fig 4.14

02/07/2002 Frequency Domain Processing 13

LPF example again

02/07/2002 Frequency Domain Processing 14

Spatial representation of BWF

02/07/2002 Frequency Domain Processing 15

Gaussian LPF

2 2( , ) exp( ( , ) / 2 )H u v D u v σ= −

02/07/2002 Frequency Domain Processing 16

Filtering using GLPF

02/07/2002 Frequency Domain Processing 17

Another example

02/07/2002 Frequency Domain Processing 18

Frequency domain processingHPF

HPF :

Butterworth filter:

H u vD u v DD u v D

( , )( , )( , )

=≤>

RST01

0

0

ifif

H u vD D u v n( , )

[ / ( , )]=

+1

1 02

02/07/2002 Frequency Domain Processing 19

HPF: Fig 4.22

02/07/2002 Frequency Domain Processing 20

Spatial representation of HPF

02/07/2002 Frequency Domain Processing 21

Ideal HPF

02/07/2002 Frequency Domain Processing 22

BWF

02/07/2002 Frequency Domain Processing 23

GHPF

02/07/2002 Frequency Domain Processing 24

Homomorphic filtering

Consider f (x,y) = i (x,y) . r (x,y)

Illumination Reflectance

Now So cannot operate on individual components directlyLet

Let

Let

ℑ ≠ ℑ

= = +ℑ = ℑ + ℑ

= + = = += ℑ + ℑ

′ = ℑ ′ = ℑ

− −

− −

{ ( , )} { . }

( , ) ln ( , ) ln ( , ) ln ( , ){ ( , )} {ln } {ln }( , ) ; ( , )( , ) { } { }

( , ) { } ; ( , ) { }

f x y i r

z x y f x y i x y r x yz x y i r

Z u v I R S u v HZ HI HRs x y HI HR

i x y HI r x y HR

1 1

1 1

02/07/2002 Frequency Domain Processing 25

Homomorphic filtering (contd.)

In practice: i slowly varying => LFr fast varying => HF

f(x,y)

ln i

ln

LPF

HPFln r

α<1

ρ>1

X expg(x,y)

∴ = ′ + ′== ′ + ′=

s x y i rg x y s x y

i ri x y r x yo o

( , )( , ) exp ( ( , ) )

exp exp( , ) ( , )

02/07/2002 Frequency Domain Processing 26

Homomorphic filtering (cont.)

02/07/2002 Frequency Domain Processing 27

An example