Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Homework 1

Books problems: 2.15, 3.10, 3.12, 4.15 Assigned problem 1: histogram equalization Consider the following 4x4 image with value {0,1,2,7} 0 1 4 4 2 0 1 3 5 2 7 2 3 2 2 1

- find the transformation g(x,y) = T(f(x,y)) that equalize the histogram of f - compute the histogram equalized image g - plot the histogram of f and g Assigned problem 2: Fourier transform An average operator is considered as g(x,y) = 0.5(f(x+1,y) + f(x,y)) - find the mask weight (3x3 local window weight) w(i,j) that works as the average operator above. - find W(u,v) and determine whether W is a lowpass, highpass or bandpass filter Assigned problem 3: Fourier transform The Fourier transform of a operator is considered as W(u,v) = 2cos(2uM)= ej2u/M + e-j2u/M (0<=u<=M-1) - find w(x,y). (Hint: based directly from the equation of FT) - plot W(u,v) and determine whether W is a lowpass, highpass or bandpass filter Assigned problem 4: mask filtering Find the output g(x,y) when applying mask filtering using the mask w(i,j) of problem 2 onto the input of problem 1.

You might also like