In this activity, restoration via filtering in the Fourier domain is being investigated. In particular, we make use of the Weiner filter. Let us use the following image for our study.

figure 1. Image taken from http://emeagwali.com/images/website/ebony-magazine-cover-april-2008.jpg
figure 2. This is the red channel in grayscale.
Let f be the image in figure 2. Then its FT is F. Blurring may be modeled in Fourier space by multiplying F point by point to a function, H, which is an exponential function multiplied by a sine function. H depends on the quantities a and b, where these constants represent the velocity of the camera along the horizontal and the vertical respectively as the image is being taken. This product will be called G. If we take inverse Fourier transform of G, we will get g, which is the blurred version of f. Then, let us add different types of noise into this image.
The Weiner filter involves calculations of H and G. If we know the power spectrum of the added noise, then we can include it in the expression for the Weiner filter and then multiply this by G. Its inverse transform will yield a somewhat good restoration. However, we usually don't know the power spectrum of the noise. We may opt to replace the power spectrum by a constant, K. We need to vary K and observe which value yields the best visual result.
Below are the results. In the first set, we added Gaussian noise with mean and variance of 0.5 and 0.1 respectively. The first image is the blurred version. The next image results upon noise addition. The third image is the restoration with a knowledge of the power spectrum of the Gaussian noise. Below, we have restorations for K=-.5, 0, 1.

figure 3. Gaussian noise restoration
Second, we added exponential noise with a mean of .5. The images in the second row made use of the following values K=-1, 0, 0.1, 1.

figure 4. Exponential noise restoration
Then, we have uniform noise that spans 0-1. We use K=0, 0.2, 1.

figure 5. Uniform noise spanning 0-1
Finally, we have uniform noise that spans 0.5-1. K=-0.2, 0, 0.2.

figure 6. Uniform noise, 0.5-1
We obtain the best restoration when the power spectrum is known. For certain types of noise, a certain constant K will suffice as we have seen above. In others, this estimate is not enough. Further investigation is needed on replacing the power spectrum by a suitable estimate.
Rating: 10 for proper execution
Note: imwrite causes my laptop to hang. I opted to use imshow to obtain the blurred images, which shows an incorrect "blurred" version. Apologies to readers.


























