In this activity, we attempt to restore an image f(x,y) that has been affected by a degradation function for motion blur h(u,v) and additive noise n(u,v) represented. The following equation shows the expression for the blurred image:
.
.The degradation function acts on the image via convolution and plus some common noise (Activity 18). As in many activities before, we simplify things by looking at the frequency domain instead so that the convolution becomes simple multiplication. If we assume that no additive noise is present, we find that the degradation function for motion blur is:
.
.To restore the image, we apply a Weiner filter:
where K is some constant. So from spatial restoration in Activity 18, we now attempt frequency restoration.
where K is some constant. So from spatial restoration in Activity 18, we now attempt frequency restoration.
Figure 2 shows the results of attempts at restoration from different noise types and at different K values. Images we flipped, as expected, from FFT. We find that restoration is better for smaller K. The small text on the image is still not readable at K=1x10-3. It becomes readable at around K=1x10-5. At around K=1x10-10 some increase in contrast and quality but others start to lose these.
| Noise | K = 1E-3 | K = 1E-5 | K = 1E-10 |
| No noise | ![]() | ![]() | ![]() |
| Gaussian | ![]() | ![]() | ![]() |
| Rayleigh | ![]() | ![]() | ![]() |
| Gamma | ![]() | ![]() | ![]() |
| Exponential | ![]() | ![]() | ![]() |
| Uniform | ![]() | ![]() | ![]() |
| Impulse | ![]() | ![]() | ![]() |
I give myself a grade of 9 because restorations were pretty near the original image.
I would like to thank Ms. Kaye Vergel for very useful discussions. :)
I would like to thank Ms. Kaye Vergel for very useful discussions. :)























0 comments:
Post a Comment