0% found this document useful (0 votes)
87 views

Assignment No - 3

This document contains 9 questions about image filtering techniques: 1. It asks why a mean filter is linear but a median filter is not. 2. It asks to compare median and mean filters and when each would be used. 3. It asks why Gaussian filtering is usually preferred over other averaging methods. 4. It asks about the separability property of Gaussian filtering and why separability is desirable. 5. It asks why an image may be smoothed using Gaussian filters of different sizes.

Uploaded by

Ali Mesbah
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
87 views

Assignment No - 3

This document contains 9 questions about image filtering techniques: 1. It asks why a mean filter is linear but a median filter is not. 2. It asks to compare median and mean filters and when each would be used. 3. It asks why Gaussian filtering is usually preferred over other averaging methods. 4. It asks about the separability property of Gaussian filtering and why separability is desirable. 5. It asks why an image may be smoothed using Gaussian filters of different sizes.

Uploaded by

Ali Mesbah
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment no.

3
1. A mean filter is a linear filter, but a median filter is not. Why?
2. Compare the characteristics of median and mean filters and identify the situations where you
will use them.
3. Gaussian filtering is usually a preferred averaging method. Why?
4. What is the separability property of Gaussian filtering? Why would you want a filtering scheme
to be separable?
5. In many applications, an image is smoothed by applying Gaussian filters of several sizes. Why
would one want to smooth an image using different parameters of the Gaussian?
6. What is the cascading property of Gaussian filters? How is it useful in machine vision?
7. An image contains a thin vertical line one pixel thick. It has a gray level of 50 and lies on a
background of salt and pepper noise having gray values of 0 and 100, where
Probability (gray level = 0) = 0.4
Probability (gray level = 100) = 0.6.
The gray levels of the background pixels are independent of one another. A horizontal 1 x 3
operator given by:
-1 2 -1
is applied to this image. Find the probability distribution of the values of the output when the
operator is centered at a pixel:
a. on the line.
b. adjacent to the line

8. An 8 x 8 image f[i, j] has gray levels given by the following equation:

f[i,j] = Ii- jl; i,j = 0,1,2,3,4,5,6,7.

Find the output image obtained by applying a 3 x 3 median filter on the image f[i, j]; note that the
border pixels remain unchanged.

9. Consider the 16x 16 image shown in following figure. The numbers indicate the gray level of that
"ring" in the image. For example, the outer ring (border) has a gray value of 0, the next ring has a
gray level, and so.

0
1
2
3
4
5
6
7
a. A 3 x 3 median filter operates on this image. Calculate the values of the central 4 x 4
pixels in the output image.
b. Sketch the histogram of an image obtained by adding (pixel by pixel) the original image
and its contrast-reversed image.
c. By applying a 3 x 3 Gaussian filter on the image. Find the output image.

You might also like