Question: Write a script that does the following: (a) Reads in and displays cameraman.tif (b) Downsamples the image, extracting the centre pixels of a tiling of

Write a script that does the following: (a) Reads in and displays cameraman.tif (b) Downsamples the image, extracting the centre pixels of a tiling of the image by 3x3 tiles. (see Matlab's 2:2:n). (c) Downsamples the image after using your average and median filters prior to downsam- pling. Show the three images and discuss the difference. (ie. (Downsampled original], [Averaged then downsampled], [Median filtered then downsampled).) (d) Repeat the downsampling comparison on the three images of the previous section so the first image has no averaging, the second is averaged before downsampling and the third is median filtered before downsampling. (e) Discuss the results of the three procedures and suggest the relevance to how our own vision processes the images of distant objects
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
