In this portion of the project we implemented the idea to generamte different images focused
at different depths. The approach to this was to pick a point of focus, and then shift your images
the difference of the center coordinates and the image coordinates multiplied by some paramters to get the
overall shift.
I did this for 6 different c values ranging from -.5 to .6..
Gif showing image being focused at different depths (need to reload page CMD R to reload gif)
c=-.2:
c=-.1:
c=-.05
c=.05
c=.1:
c=.2
We can change Aperture size by selecting a radius of different images to average, I used ‘aperture sizes’, r = 1 to r = 8.
This simulates us increasing our aperture size thus we're taking in more images or might "light" that would make our image blurrier.
Gif showing image at different apertures from 1 to 8! Need to reload page CMD R to see gif replay
r=1: Entire image in focus
r=4: Now pixels with raidus of 4 used so image less focused
r=8: Only background in focus as we've increased the images and the background changes less between images
It was super cool to learn how light field data works and it was something I'd never heard of, or seen before this so it was super fun to learn about!