Spatialfitler
Click here to load reader
Transcript of Spatialfitler
![Page 1: Spatialfitler](https://reader037.fdocuments.net/reader037/viewer/2022100604/55986b1b1a28ab1a0b8b4708/html5/thumbnails/1.jpg)
Spatial Smooth Filter
![Page 2: Spatialfitler](https://reader037.fdocuments.net/reader037/viewer/2022100604/55986b1b1a28ab1a0b8b4708/html5/thumbnails/2.jpg)
Summary
• Choose an image (showed in figure 1), and then add noise to the image. The noise must have the following characteristics:– 20% impulse noise (showed in figure 2).– Gaussian noise with mean = 0 and variance = 0.05 (showed in figure
3).
• Simulate a horizontal script in the original image (showed in figure 4).
• Display the resulting image in parts (1) and (2).• Smooth the noisy images using the most suitable filter.
– Filter pepper & salt noisy image (Figure 2) using median filter (showed in figure 5).
– Filter Gaussian noisy image (Figure 3) using average filter (showed in figure 6).
– Filter Scratch noisy image (Figure 4) using vertical median filter (showed in figure 7).
• Display the smoothed images
![Page 3: Spatialfitler](https://reader037.fdocuments.net/reader037/viewer/2022100604/55986b1b1a28ab1a0b8b4708/html5/thumbnails/3.jpg)
Fig 1 original image Fig 2 image with impulse noise
Fig 3 image with Guassian noise Fig 4 image with horizontal scratch
![Page 4: Spatialfitler](https://reader037.fdocuments.net/reader037/viewer/2022100604/55986b1b1a28ab1a0b8b4708/html5/thumbnails/4.jpg)
Fig 5 impulse noisy image with median filter
Fig 6 Guassian noisy image with mean filter
Fig 7 scratch noisy image with vertical median filter