Project 5: Lightfield Camera

Brian Kooperberg

Depth Refocussing

In this part of the project, I used the shift and add algorithm. To do this we select one image as the base image. I chose the middle image (8,8). We then calculate the offset between each image and the base image then multiply it by a factor and shift it. Since the pictures are taken from slightly different positions depending on the scalar we focus on a specific depth.

Chessboard: scalar 0.0 through 0.7

Chessboard: scalar = 0.0

Chessboard: scalar = 0.5

Cards: scalar -0.6 through 0.6

Cards: scalar = -0.5

Cards: scalar = 0.0

Chessboard: scalar = 0.5

Aperture Adjustment

In this part of the project, we can simulate different aperture sizes by combining different amounts of pictures (to combine images we need to grow as a box in all directions i.e. 1x1 --> 3x3). If we combine more pictures in simulates a wider aperture, while if we use fewer images it simulates a narrower aperture. As we widen the aperture we can see that the parts focused on when the scalar is 0.0 in part1 tend to remain sharper than the other parts because that is the part each picture focusses on the most.

Chessboard

Cards

Summary

In this project, I learned how we can use light fields to simulate different photograph effects. I saw how using small angle changes in the light fields can be combined to make change where we focussed or the size of the aperture.