

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


EECS 556, 2002 Exam #2 1
Take-Home Exam #
kernel:
otherwise
x
x x x x
x x h x 1 2
2 3
2 3
.
Display the resultant images (and xfull) using imagesc. b. Compare the different interpolation methods in terms of Mean Square Error (MSE) relative to xfull and in terms of computation time. For MSE calculations, be careful of shifts of your interpolated image relative to xfull. Which method is best? Comment on whether or not this is what was expected and why. c. Apply a Sobel gradient-based edge detection algorithm to the interpolated images and xfull. You may need to make small modifications to the thresholding levels and edge thinning algorithms that were used in HW #6. Do not use the Matlab edge function and use exactly the same edge detection parameters/algorithms for each interpolated image. Display the resultant edge maps. Which method is best? d. Using the find command applied to row number 152 (e.g. find(edgemap(152,:))) of the edge maps, determine the width in number of pixels of the object of for xfull and interpolated images. Compare to the theoretical width based on code in the template.
EECS 556, 2002 Exam #2 2
If there are too many edges, you may need to look at the gradient maps to determine the true edge.
a. We will use a signal model with an autocorrelation function 2 2 2 Rs ( n , m ) = σ (^) sa n + m. Give an expression for the autocorrelation function of the noisy image y ( n , m )= s ( n , m )+ w ( n , m ). b. Choose a background (e.g. sky) area and estimate the noise variance σ ˆ^ w^2. Is the close to the theoretical variance derived from the code? c. Since the image is not zero mean, we will want to use the affine form of the Wiener filter. After eliminating the mean, find estimates of R ˆ^ (^) y ( 0 , 0 ), R ˆ^ (^) y ( 1 , 0 ), and R ˆ^ (^) y ( 0 , 1 ). From
these derive an estimate of a ˆ and σ^ ˆ^ s^2 , and thus R ˆ^ s ( n , m ). d. From your empirical estimates, derive the L.S.I. Wiener filter and apply to the image. Determine the MSE of the original noisy image and the filtered image relative to noise- free image. e. Now, we will do similar filtering on 48x48 sized blocks (a total of 150). Repeat steps c. and d. for all blocks. Determine the MSE of the filtered image relative to noise-free image. f. Comment on which approach is better. How might you improve on the results using the method of part e.?
b(n,m)
w
v
g
a. Derive the L.S.I. filter, H ( ω (^) x , ωy ), that you would apply to g ( n , m )to produce an
estimate of f , f ˆ^ ( n , m ) that minimizes the MSE. Assume that w and v are independent white noise processes with variances σ w^2 and σ v^2 , respectively. Also assume that they are independent of f. b. Now consider a case where w and v come from the following functions:
1 2
1 vnm z nm anm B z n m
wnm A z nm = + ⋅
where z 1 and z 2 are independent, white, zero-mean processes, A and B are constants and a is some convolution function. Derive the autocorrelation functions, power spectra, cross correlation functions, and cross power spectral functions: Rw , Rv , Rwv , Pw , Pv , Pwv. Derive, also, expressions for the variances σ w^2 and σ v^2. c. Repeat part a. for the new descriptions of w and v.