Professional Documents
Culture Documents
Image Processing Assignment II (Appu) PDF
Image Processing Assignment II (Appu) PDF
Image Processing Assignment II (Appu) PDF
M.Apuroop
110113044
1|Page
Homomorphic Filtering
Homomorphic filtering is a generalized technique for signal and image processing,
involving a nonlinear mapping to a different domain in which linear filter
techniques are applied, followed by mapping back to the original domain. This
concept was developed in the 1960s by Thomas Stockham, Alan V. Oppenheim,
and Ronald W. Schafer at MIT.
An image can be characterized by two components,
(1) the amount of source illumination incident and
(2) amount of illumination reflected by the object.
A simple image model
f(x,y): the intensity is called the gray level for monochrome image
f(x, y) = i(x, y).r(x, y)
0 < i(x, y) < inf, the illumination
0< r(x, y) < 1, the reflectance
The Process :-
2|Page
Explanation:
An image as a function can be expressed as the product of illumination and
reflectance components as follows:
F(x,y) = I(x,y) * R(x,y)
(1)
(2)
(3)
The fourier transformed signal is processed by means of a filter function H(u,v) and
the resulting function is inverse fourier transformed. Finally, inverse exponential
operation yields an enhanced image. This enhancement approach is termed as
homomorphic filtering.
3|Page
4|Page
Program :
I = imread('willowtree.jpg');
figure, imshow(I);
Contd.
5|Page
imshow(H,'InitialMagnification',25)
H = fftshift(H);
If = fft2(I, M, N);
Iout = real(ifft2(H.*If));
Iout = Iout(1:size(I,1),1:size(I,2));
Ihmf = exp(Iout) - 1;
6|Page
Output :
Original Image
7|Page