Final Project

Part1: Focus on Miniatures

Jiana Huang

Overview

In this project, we post-process the photos by redefining the focus line. We do this by selecting the depth of field line and blurring around this line. As we move farther away from the focus line, the image should applear blurrier (which can be done by convolving it with a gaussian with a larger kernel). To give the minature effect, we also over-saturate the colors in the image

Implementation

Using ginput, the user first selects the depth of field line in the image. I chose the fake DOF as 100 pixels below and above this line. This is the part of the image that isn't blurred. For the pixels farther and farther from the DOF, I blurred the image with a gaussian with an even larger kernel, creating a more blurred effect Finally, I increased the saturation by 40% to give the image a more "fake" effect. However, one artifact of this was that it was obvious where the sections convolved with different guassians were. The lines were quite obvious between these sections. Therefore I blurred the entire image one more time in order to blur these sections. This is why the final image is still slightly more blurred in the original image, even in the DOF.

Homography Matrix

Original Image

Homography Matrix

Naive Segmented Blurring

Example Homography Matrix

After Saturating the Image

Example Homography Matrix

Final Image: After Re-Blurring Image

More Images

Homography Matrix

Munich

Homography Matrix

Minaturized Munich

Homography Matrix

Seattle Skyline

Homography Matrix

Minature Seattle

Homography Matrix

Coffee Shop

Homography Matrix

Minature Coffee Shop


Part 2: Dolly Zoom: Vertigo Shot

Overview

We recreate a dolly zoom using a digital camera with a zoom lense. I borrowed my friend's Canon DSLR with EF-S18-55mm zoom lens. By focusing on the same object but changing the focal distance, the depth of the background seems to change. As you zoom in more and step farther away, the background seems to be more distant and the object in focus becomes more prominent. This creates a disorienting effect that movies use to create a vertigo shot.

Coffee

Harris Corners

1

Harris Corners

2

Harris Corners

3

Harris Corners

4

Harris Corners

5

Harris Corners

GIF

Pineapple

Harris Corners

1

Harris Corners

2

Harris Corners

3

Harris Corners

4

Harris Corners

GIF

Water Bottle

Harris Corners

1

Harris Corners

2

Harris Corners

3

Harris Corners

4

Harris Corners

5

Harris Corners

GIF

Reflections

The hardest part of the dolly zoom was keeping the object in focus at the same angle and the same size to make the gif seem more realistic.