(a) Use bilinear interpolation discussed in class to resize the image so that it is 0.75 times narrower (horizontally) and 1.5 times taller (vertically). Submit the result as image 1.
(b) Linearly stretch the contrast of paolina.pgm so that its histogram covers the entire dynamic range 0--255. Use 3% cut-off point at both the low and high ends of the histogram to do the stretching. Submit the linearly stretched image as image 2, and its histogram as images 3. (The unix command for changing filename is "mv oldname newname".)
(a) Do a 3-point piecewise linear mapping to stretch the object and suppress the background. Submit the images before and after the linear mapping as 4 and 5, and the corresponding histograms as 6 and 7.
(b) Do a background clipping on the original images (stretching the grey levels of the object and compress the background to a single grey level). Submit the resultant image and its histogram as 8 and 9.
(c) Now threshold the images used so that the object is white and the background is black. Submit the result as 10.