CS 194-26 Final Project

Light Fields

Depth Refocusing

I actually had a lot of fun seeing this work. For this part you basically just average all of the images after you shift them varying amounts to focus different depths. I included some still images focus at different depth, and a gif because I feel like you cant really focus on too much at one time when looking at a single image.

Aperture Adjustment

In this part, I just got rid of some of the images that I was using to average. I took every third, fifth, seventh, and tenth image so I could have a variety of different apertures. The more pictures you use, the bigger the aperture that we are trying to replicate. I used alpha = 0.2 for this because the lwo legos in front are mostly in focus at this time.

Every third image(biggest apeture)
Every fifth image(second biggest aperture)
Every seventh image(second smallest aperture)
Every tenth image(smallest aperture)

Summary

I learned what aperture is and how it can change what an image looks like. I also learned that we can adjust the focus depth of an image if you have a lot of images that are slight shifts of a single image, and I think that is pretty cool.

Image Quilting

Woooo Let's Make Some Textures

Randomly Sampled Textures

Here is the image I got from randomly sampling from the bricks picture. You can see that this does not give great results.

Overlapping Patches

Next we have patches that overlap. Here I tried to find patches so that the overlap region in patches are similar so you can't really tell where a patch starts or ends, but this method is not perfect.

Seam Finding

In this part, I tried to make it so that the patches get patched together at custom edges which should minimize the edge effect of the patches. Unfortunately, I couldn't figure out what was the issue with my ssd function since I copied it from the spec, but I don't think it was giving correct values, so my texture did not have much improvement from the previous part.

Texture Transfer

This part was the most fun becuase you can make people into toast. Makes me wonder if that Jesus toast pic was fabricated. Anyways, I transfered this texture by including the similarity between the brightness of the target image and the brightness of the proposed patch into the calculation of the ssd. I think I might have made my patch size too small, so you can kind of tell that it is supposed to be toast, but not really. I think this is also part of Bells and Whistles, kind of.

Joshua Bassett as toast