CS194-26

Image Manipulation and Computational Photography

Final Project 2: Fake Miniatures

Morad Shefa

Parsa Fereydouni



Overview

For this project we implement creating fake miniatures. The algorithm finds seams of low enerrgy, defined by an energy function, and removes them horizontally or vertically one by one until a desired size is reached.

Process

This is a rough overview of the image processing done :

  1. Pick 2 points that define beginning and end of a line segment
  2. Pick a radius around the line that should be the subject in focus
  3. For every pixel in the image find the shortest distance to the defined line segment
  4. Blur areas further from the line more to create a fake miniature effect

Results on images from the internet


Bus
Bus fake miniature

Jodhpur
Jodhpur fake miniature

Results on images we took


View from Campanile
View from Campanile fake miniature

View of Frankfurt am Main, Germany
View of Frankfurt am Main, Germany fake miniature

Our favorite part about this project was playing with different field of views and what effect they have on perception.