Poisson Image Editing

Here is a MATLAB implementation of the Poisson Image editing algorithm from [1]. It allows to seamless clone a source region (from image 1) into a destination region (in image 2).

poisson_image_editing

E.g, you can place a bird in to the sky…

 

or put a cow in a soccer field!

Download the code here, and run the two demos to obtain the above results!

[1] Pérez, Patrick, Michel Gangnet, and Andrew Blake. “Poisson image editing”ACM Transactions on Graphics, 2003.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s