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
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.
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.
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.