16311 HW3 Young Woong Park

<Lab 2>

- Thresholding (source code)

mona.pgm - Original Image

mona.pgm - Thresholded Image (50)

mona.pgm - Thresholded Image (150)

letterA.pgm - Original Image

letterA.pgm - Thresholded Image (50)

letterA.pgm - Thresholded Image (150)

gil.pgm - Original Image

gil.pgm - Thresholded Image (50)

gil.pgm - Thresholded Image (150)

- Contrasting (source code)

mona.pgm - Contrasted Image

letterA.pgm - Contrasted Image

gil.pgm - Contrasted Image

- Histogram (source code)

mona.pgm - Histogram

letterA.pgm - Histogram

gil.pgm - Histogram

 

<HW3>

1.

a.

1/9 1/9 1/9
1/9 1/9 1/9
1/9 1/9 1/9

b. we have applied blur or blending operator

c. Yes, we have lost information. We cannot recreate the original image from the mean image since we have lost our original information (mean values are not enough to determine unique original values).

d.

1/16 1/16 1/16
1/16 1/2 1/16
1/16 1/16 1/16

2.

Let w = width of the Martian and d = distance from pathfinder to Martian

(30 / 72) * d = 0.5 * w and (50 / 72) * d = 0.5 * (w + 12.5)

(20 / 72) * d = 0.5 * 12.5

Therefore, d = 22.5in