Professional Documents
Culture Documents
Page 1/3
a) The first image contains values computed by finding the maximum value of
a 3x3 pixel environment (neighborhood of required pixel) and by setting
the resulting center pixel to this value.
b)The second image contains values computed by finding the minimum value
of 3x3 neighborhood of required pixel and by setting the resulting center
pixel to this value.
Question 3: (15 Marks)
1- Frequency domain filtering is an important image processing technique.
a) Describe how ideal low pass filtering works.
2- Write matlab script code to read a gray scale image named "Best.tif" and apply
the following mathematical function to stretch its contrast levels:
Where: g is the enhanced output image, f is the input image, m and E must be
interactively entered by the user using Matlab input command. Display the original and
the contrast stretched images.
3- Assume that you are given grey scale image with pixel intensities between [37..209]
(a) What point operation is necessary to map the pixels to the [0..255] range?
(b) What point operation is necessary to go from [0..255] back to [37..209]?
Page 2/3
------- with all best wishes ------
Page 3/3