Faith Quist

Homework 4

Due Tuesday, February 5th

Source Code


Mask 1

Mask 2

Mask 3

  1. What do these masks do to the input image?

      The masks perform vertical edge detection.

  2. What are the advantages of using a small mask? Why would you want to use a large mask?

      A smaller mask will give sharper edges because it looks at the difference between color in a smaller region. However, if a picture has lots of noise that does not indicate an edge, you may want to use a larger mask so as to pick up on just the strongest borders.

  3. Suppose you wanted to identify the horizon in images at sea. What mask might you use to do this?

      I would use a mask like the following.