CS194-26 Lightfield Camera

Refocusing

The first part of this project involved refocusing images using images taken from a light field camera. To do this, I shifted the images by how much their uv positions differed from the central position of 8, 8 scaled by a constant c. Some examples of different shifts are listed below.

Image missing
c = -3
Image missing
c = -2
Image missing
c = -1
Image missing
c = 0
Image missing
c = 1
Image missing
c = 2
Image missing
c = 3

Aperture Size

The second part of the project involved modifying the aperture size of the camera. To do this, I defined a radius, then used all the pictures within a radius r square of the center to create refocus the images.

Image missing
r = 1
Image missing
r = 2
Image missing
r = 4
Image missing
r = 8

CS194-26 Image Quilting

Randomly Sampled Textures

For this part, I put together a texture with randomly selected patches and no other processing

Image missing

Overlapping Patches

For this part, I put together a texture that calculated the ssd between overlapping patches to find the best match for every patch.

Image missing

Seam Finding

For this part, I did the same thing as overlapping patches but stiched together the seams to create a better image.

Image missing
Image missing
Image missing
Image missing
Image missing

Texture Transfer

For this part, I added an additional cost to the ssd that was the difference between the reference image and the sample image.

Image missing
Spaghetti
Image missing
Face image 1 for texture transfer
Image missing
Face image 2 for texture transfer
Image missing
Combined image 1 and spaghetti
Image missing
Combined image 2 and spaghetti