To generate a fake minature, a vertical or horizontal line is chosen to define a fake depth of field, and things further away from the line should look less in focus (blurry in other words). To generate this effect, a guassian stack (with guassian filter of std 0.7) is implemented. Note that a replicated padding scheme is used to avoid black edges artifacts caused by zero-padding. The returning image comes from vertical or horizontal strips from different level of guassian stack to have a gradual blurring effect. The strips closer to the line will use lower level of guassian stack to have clearer view, and vice versa. Using this trick, we can create the fake DOF effect. Note that the saturation of the fake minatures is raised by 50% to have a better visual effect. The following are the results, which looks pretty good as the subjects had been made more "in focus" while others were not so.
Vertigo shots are basically playing around the effect of changing FOV. By taking photos of an object of the same size with different zooms with a digital camera, each photos will have different FOV, which creates different depth of field, projective perspective, etc. The photos can be created by taking photos while gradually moving away from the object and keeping object in focus and at the same size. By putting the images in an ordered sequence in gif, a perpective distortion effect can be clearly seen, especially in the glass bottle example. Although it's a rather simple project, it creates a pretty cool effect with objects staying still while background moving/distorting. The door example is also pretty good, although it has less feel of the FOV changing effect. The FOV changes less as camera moves forward, since door is still pretty far away from the camera. Note that the shoe case is a little failed. The difficulty encountered is that it is hard to select the right sequence of distances of camera to generate a great effect. Also, the shoe size, unfortunately, is not pretty consistent.