Project 5: Lightfield Camera

By: Nikhil Sathe

Depth Refocusing

The goal for this part was to generate several images each with a unique focal distance. The process involved first aligning all images to an arbitrary point and then multiplying that shift by some alpha value to create the depth focus effect. The further the focus point, the smaller the pixel shift required. Results are shown below.

Original Bottom Focus Center Focus Top Focus

Here is the gif version of the results.

Aperture Adjustment

The goal for this part was to simulate different apertures. The aperture could be changed by using photos that were within a certain radius from the center coordinates. Averaging over more photos resulted in a larger aperture and a smaller depth field. Results for different aperture sizes are shown below.

Size 1 Size 3 Size 5 Size 7

Here is a gif version of the results for aperture size 3.

Summary

This project was a great way to learn how to generate depth by using multiple images of the same object taken from different angles as well as the process for changing focus by changing the aperture.