In this project, we were responsible for using lightfield photography to manually focus on different parts of the image. In lightfield photography, "it captures information about the light field emanating from a scene; that is, the intensity of light in a scene, and also the direction that the light rays are traveling in space.". What does this mean? Well, one thing is that we have more information than a normal camera which only records intensity. Since we have directions, we can readjust focus later. The procedure was to take the position of each picture and shift it based on the metadata in the title of the picture. In doing so, we can align the picture to either the foreground, the background, or something in between. The gif is below, notice how the parts in the background are in focus and then the focus changes to the pieces in the foreground.

The second part was to simulate aperture changes with a camera. We did this by averaging images together that came from + or minus the amount of aperture change we wanted. For example, if the aperture we wanted to simulate was 1, taking 8,8 as the starting point, we would average images 7,7 7,8 7,9 8,7 8,8 8,9 9,7 9,8 9,9. The gif is below. Notice how the focus on the background pieces is about constant.