Project 3

Paul Davis
pauldavi@andrew.cmu.edu

Overview

For this project, I used Poisson blending to put an object from an image into a different image. The basic approach was to set up an optimization problem that attemped to minimize the difference between the border along the target image and the border along the source image, as well as minimize the pixel gradient difference between the source image and the pixels implanted into the target.

Results for Toy

Here are the results for the toy image:
Original Result



Results Poisson Blending

This is my favorite image. The swan matches nicely into the grass.
Original Source Original Target
Naive Final Blending



Original Source Original Target
Naive Final Blending



This example of putting a swan into the pool has bad results. You can see that the reflections in the pool are not well maintained, the texture of the pool is broken up, and the swan has turned blue. The texture of the water in the pool has trouble blending because the ripples around the swan are very different. The swan also turns blue because the water around the swan is so much darker than the pool water.
Original Source Original Target
Naive Final Blending



Results Mixed Gradient

Mixed gradient is well suited for text onto a different background.
Original Source Original Target
Naive Poisson Blending Mixed Blending