Matlab implementation of Possion image editing.
Gradient domain is used instead of intensity of pixels in image cloning to blend two images by solving Poisson equations with a predefined boundary condition. Based on this idea, this presents two options:
1- seamless cloning
2- mixing gradients
For more information read Readme.pdf
1- Open Demo.m
2-change the filenames as you want:
This is an implementation of the following paper:
Pérez, Patrick, Michel Gangnet, and Andrew Blake. "Poisson image editing." ACM Transactions on Graphics (TOG). Vol. 22. No. 3. ACM, 2003.
Mahmoud Afifi (2023). Poisson image editing (https://www.mathworks.com/matlabcentral/fileexchange/62287-poisson-image-editing), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!