P2: Focus on Miniatures by Jackson Davis
Background
The goal of this assignment was to create a program to turn an image into a convincing fake miniature.
The proper way to do this is with (very expensive) tilt-shift lensees. However, a properly edited
picture can still create a convincing effect...
Details
I allowed the user to input an arbitrary polygon by using the roipoly function to
select a region of the image to be in focus. Using matlab's builtin support for binary masks, I create
masks to represent rings around the focused region. The further away the ring is, the more it is blurred.
I also boost saturation since this increases the impression of a miniature scene.
Results
Click to see the full-sized picture
pictures.
Given Images