You are on page 1of 2

3.

Adaptive Median Filtering

Repeat Project 5.2 using adaptive median filtering and compare the results by
generating difference images of the results. Select the size of filter window to give the best
(in your opinion) visual results.

Solution:
The best visual results for both images were obtained using a window of size 9 x 9. The
results are slightly noisier than the best results in Problem 5.2, but the images are sharper.
Figure 1: Original Image corrupted by salt noise

Figure 2: Adpmedian applied to image in figure 1 with window size of 9.

Figure 3: Original Image corrupted by pepper noise.

Figure 4: Adpmedian filter applied to figure 3 with window size of 9.

You might also like