Professional Documents
Culture Documents
HW05V3Extras EEDIP Sp2018
HW05V3Extras EEDIP Sp2018
#NOTE: This DSFT is different from these alternative definitions that we will use:
j (1n1 2 n2 )
X (1 , 2 ) x(n1 , n2 ) e period 2x2 ; 1, 2 continuous variables
n 2 n1
j (2ux 2vy )
F (u , v) f ( x, y ) e
y x
period 1x1 ; u, v continuous variables
j ( Fx x Fy y )
W ( Fx , Fy ) w( x, y ) e
y x
period 2x2 ; Fx, Fy continuous variables
4.27; You may use Matlab’s freqz2 command to illustrate the frequency responses which is the DSFT
of the impulse reponse associated with the mask.
4.28; You may use Matlab’s freqz2 command to illustrate the frequency responses. Clarification:
assume you will be computing the SUM of the two discrete derivatives.
4.29; You may use Matlab’s freqz2 command to illustrate the frequency responses
1
4.32
4.35
Lim 1.2;
2
Lim1.20
Lim1.21
1.25; Note: Problem 1.24 derives the inverse of an ideal low-pass circularly symmetric 2-D filter (also
given in Eq. (1.36) of Lim), which produces this impulse response:
3
Problem 5-A
Consider the short 2-D signal x(n1,n2) given below (this is Lim’s notation, the hollow circles have zero value an
all other values not shown are also zero).
a) Determine if this signal is separable, yes or no. If yes, plot the two contributions f(n1) and g(n2) to the
separable signal. If no, prove it. n
-1 1 -1 1
n
1 -1 1 -1
b) Determine expression for its DSFT X(1,2) using as many sines and cosines as possible!
4.12 Try downsampling it using Matlab starting with a high-resolution checkerboard, add
to Part II if you use Matlab.
Problem 5-B Using the definition of the 1-D continuous Fourier transform or its Inverse:
j 2ux j 2ux
H (u ) h( x)e dx ; h( x) H (u)e du
Determine the validity of the 1-D Gaussian Fourier transform pair (derive one from the other, your choice)
4.37
4.36 Using Matlab would be better, add this to Part II. Original image available on book
Web site (see it below)
4
Part II; Do Matlab Exercises:
A- Change (and re-name) the Matlab script in file Direct_DFTFilteringV2_EE5372.m to be able to perform
Direct DFT-domain filtering to re-do the example in Figs. 4.54 (ideal high-pass), and 4.56 (Gaussian high-pass
filter) on the image with letter “a” (Fig. 4.48 (a)). The textbook images are available on the textbook URL.