Project 02

Due Thursday, September 22

Problem 1

Find the horizontal edges of a grayscale image (of your choice).   Hint : For vertical edges this is done in Notebook 031.

Problem 2

Pick a small grayscale image (your choice) and use only matrix transposition and multiplication with suitable matrices to produce the following six images :

Problem 3

In Notebook 031  a "resampling" algorithm is shown that cuts the number of rows and columns of an image in half.  Suppose you want to reduce the number of rows and columns of an image by 20%. One  idea is to delete every fifth row and column, but this leads to unsatisfactory results (see example below). Can you come up with an idea for an improved algorithm that may lead to better results? Briefly describe such an algorithm. (No coding in Mathematica is required.) It may be advantageous to first think about this problem in one dimension (for a vector).

Problem 4 (for extra credit)

Use an image of your choice to Implement your idea for Problem 3.