CS194-26 Project 5

John Son

Depth Refocusing

The below is a gif of an image taken with a lightfield being refocused at different points at the image. This was done by shifting all the images from the lightfield to a base image a certain scaled amount, with that scaled amount determining the center of focus of the image created. I ended up using values from -.1 to .3 to acheive the gif below.

Some of the images taken at different focus points

Aperture Adjustment

The below is gif of an image being digitally altered after having been taken with a lightfield by artificially adjusting the aperture of the image. This was done by employing a method similar to the depth refocusing but instead taking a subset of lightfield images that correspond to the middle N amount of images.

Some of the images taken at different aperture sizes

Summary

I learned that although the overall quality of an image taken with a lightfield is worse than the same image taken with a decent digital camera, there is much that can be done digitally to the lightfield image after the picture has been taken. The image can be altered to be focused at different locations within the image, the image can be altered to make it seem like the aperture of the camera that took the picture is changing, and many other things like changing the viewpoint of the observer. Lightfield images sort of follow along the model of there being power in data because since we have so many different pictures taken of the same image from different perspectives/angles, there is so much more we can do with that picture digitally after the picture has been taken.