cs194-afe & cs194-acj
Vincent Zhu, Stephanie Kim
The algorithm summarized:
Until image has shrunk to the desired dimension:
Find the lowest-importance seam in the image
Remove it.
https://www.photographytalk.com/landscape-photography/9022-why-your-landscape-photos-are-no-good-and-what-to-do-about-it, https://www.nytimes.com/2018/11/05/travel/yosemite-fires.html, https://learn.zoner.com/landscape-photography-landscapes-in-rain-or-shine/
as well as the cs194 spec (images from there)
Picture of ny, lv(las vegas), tea, and campus were taken by us
As you can see in the last yosemite picture, as you insert enough seams the more you notice the "strethches" of inserted seams and it starts to look less natural.
Light field data consists of a series of images of the same subject(s) at different angles. When these images are averaged into a mean image, the objects further away from the camera will remain in focus, but objects closer to the camera will experience blurring. If we appropriately shift each image based on its corresponding camera position and a scalar α, before averaging, we can change the “depth” that is in focus.
We can simulate the effect of a pinhole camera with light field data as well. To simulate an image taken by a pinhole camera with aperture size r, we average the images within a radius of r from the center. Larger aperture sizes do not filter out light rays originating from the same point arriving from multiple angles, causing scattering/blurring.
The simplest but least effective method. This randomly samples square patches of a certain size until you reach the specified output size.
This randomly samples square patches of a certain size and randomly chooses patches whose cost is less than a certain threshold and creates a specified size output. As you sample square patches of a certain patchsize, overlap any newly added patch over the existing ones.
Creating a texture sample that is guided by a pair of sample/target correspondence images. There is an additional cost term based on the difference between the sampled source patch and the target patch at the location to be filled.
There is some resemblance of the image with the texture, but (if we had more time we think) we would need a smaller patch size and/or edit the cost function (alpha value, etc.)