homomorphic filtering

16
HOMOMORPHIC FILTERING

Upload: rraghu

Post on 16-Apr-2015

109 views

Category:

Documents


16 download

TRANSCRIPT

Page 1: Homomorphic Filtering

HOMOMORPHIC FILTERING

Page 2: Homomorphic Filtering

Illumination-Reflection MODEL

Images are denoted by two dimensional light intensity functions of the form f(x,y).

The value of f at spatial coordinates(x,y) gives the intensity of the image at that point.

f(x,y) must be nonzero and finite 0<f(x,y)<∞

The function f(x,y) may be characterized by two components

1) Illumination 2) Reflection

Page 3: Homomorphic Filtering

Homomorphic Filtering

The digital images are created from optical image that consist of two primary components: The lighting component The reflectance component

The lighting component results from the lighting condition present when the image is captured. Can change as the lighting condition change.

Page 4: Homomorphic Filtering

Homomorphic Filtering

The reflectance component results from the way the objects in the image reflect light. Determined by the intrinsic properties of the object

itself. Normally do not change.

In many applications, it is useful to enhance the reflectance component, while reducing the contribution from the lighting component.

Page 5: Homomorphic Filtering

Homomorphic Filtering

Basis: illumination-reflectance model

Homomorphic filtering is a frequency domain filtering process that compresses the brightness (from the lighting condition) while enhancing the contrast (from the reflectance properties of the object).

Page 6: Homomorphic Filtering

Derivation

The two functions combine as a product to form f(x,y):

f(x,y)=i(x,y)r(x,y) 0<i(x,y)<∞and 0<r(x,y)<1

Page 7: Homomorphic Filtering

Cont..

The fourier transform of the product of two functions is not seperable :

Ŧ{f(x,y)} ≠Ŧ {i(x,y)}Ŧ{r(x,y)}

Suppose if we define z(x,y)=ln f(x,y) =ln[ i(x,y) r(x,y)] =ln i(x,y)+ln r(x,y)

Page 8: Homomorphic Filtering

Cont..

Then Ŧ{ z(x,y)} =Ŧ {ln(f(x,y)} = Ŧ{ln i(x,y)}+Ŧ{ln

r(x,y)}

Z(u,v) =I(u,v) +R(u,v)Where I(u,v) = Fourier transform of ln i(x,y) R(u,v)= Fourier transform of ln r(x,y)

Page 9: Homomorphic Filtering

Cont..

Now if we process Z(u,v)by means of a filter function H(u,v) then

S(u,v)= H(u,v)Z(u,v) =H(u,v)[I(u,v) +R(u,v)] = H(u,v) I(u,v) + H(u,v) R(u,v)In time domain, s(x,y) =Ŧ-1{S(u,v)} =Ŧ-1 {H(u,v) I(u,v)} + Ŧ-1{H(u,v)

R(u,v)}

Page 10: Homomorphic Filtering

Cont..

By letting i’(x,y) = Ŧ-1 {H(u,v) I(u,v)} And r’(x,y) = Ŧ-1{H(u,v) R(u,v)},Now s(x,y) can be expressed as s(x,y) = i’(x,y)+r’(x,y)

Page 11: Homomorphic Filtering

Cont..

Enhanced image g(x,y) is g(x,y)=es(x,y)

= e[ i’(x,y)+r’(x,y)]

=e i’(x,y). er’(x,y)

=i(x,y) r(x,y)

Page 12: Homomorphic Filtering

Block Diagram

f(u,v) H(u,v)F(u,v)

f(x,y)

g(x,y)Input image

enhanced image

Pre -processin

g

Post -processin

g

Fourier transform

Filter function H(u,v)

Inverse Fourier

transform

Page 13: Homomorphic Filtering

Homomorphic filtering for image enhancement

f(x,y)

g(x,y)

ln DFT H(u,v)

Inverse DFT exp

Page 14: Homomorphic Filtering

Filter function

Page 15: Homomorphic Filtering

original image image processed by homomorphic

filtering

Page 16: Homomorphic Filtering

Applications

Application of homomorphic filtering results in

Sharper image Increase in contrast Increase in dynamic range

compression