CS194-26 Project 5: LightFields

Swapnil Thombre [aez]

Background

The purpose of this project was to play with images taken from plenoptic cameras and learn about the lightfield. A lightfield is a way to see how different amounts of light flow in space, and the parts of that light that we see or capture in the camera is what we use. We can take samples of the lightfield on in image and simulate things like aperture changing and depth refocusing.

Depth Refocusing

In this part, we took several images of the same scene from slightly different positions. By averaging these images, we would get an image where the focus is on objects that are farther from the camera. If we shifted the images, and then averaged select shifted images, we can see a focus on a specific part of the image. Below is a gif of the camera focusing on different parts of the image.

Lego Bulldozer Depth Focus

Aperature

In this part, we took a center image and then increased aperture size by averaging in more images.

Lego Bulldozer Aperature