Poisson-Image-Editing

Introduction

In normal cut and paste algorithms,naive methods like feathering are used which do not completely hide the boundaries between the merged images.Also the saliency of the composite image also gets affected.The algorithms used try minimize the integral of the difference between the gradient of the source Image and a guidance vector field with boundary conditions.The solution to the obtained equation is a poisson equation. # How to use Replace source and destination images in each of the file you are using with the required src and dest images.

Results

Seamless cloning

Mixed gradient cloning

Texture flattening