16-311 Lab 2: Vision

Jay Kim

Letter I: normal, contrasted, threshed, histogram
Lolcat: normal, contrasted, threshed, histogram
Mona: normal, contrasted, threshed, histogram
*images were thresholded at t = 80
Source code for lab 2

16-311 HW3

1.a 3x3 mask:
1/9 1/9 1/9
1/9 1/9 1/9
1/9 1/9 1/9

1.b The image processing operator we just applied is blurring.

1.c Once we blur an image, we have lost information. Since the values in each cell are simply averaged numbers of the surrounding pixels, and have no additional information, there is not enough information to recreate the original image.

1.d Weighted 3x3 mask:
1/18 1/18 1/18
1/18 5/9 1/18
1/18 1/18 1/18

2. Using the relationship h/h' = d/f where h = 12.5in, h' = 20pixels, f = 0.5 in, and d = distance between martian and Pathfinder, we can calculate d.
d = 22.5in; the martian is 22.5 inches away from Pathfinder