Reproducd famous paper "Poisson Image Editing" in SIGGRAPH 2003.
This paper is very useful for copying and pasting between images.
Based on OpenCV(2.4.9) and Eigen.
Developed under Visual Stdio 2015, WIN 10 64 bits.
- Two same size image. A source and a destination.
- A mask of editing region (if no mask exists, the program can generate one).
- An image which clones masked region of source image to destination image.
// TO DO ...
- Actually it's no need to restrict two images in same size, but it's not the key of algorithm.