Open Access Open Access  Restricted Access Subscription or Fee Access

Implementation of Image in Painting Technique using Different Types of PDEs

Hardik Modi, Dr. Mandar Sahasrabudhe


The objective of this paper is to implement image inpainting technique using different types of PDEs. Image Inpainting is a technique of modifying an image in an undetectable form. Its most often used to repair an image, although it can easily be used to remove unwanted objects. The modification of images in a way that is non-detectable for an observer who does not know the original image is a practice as old as artistic creation itself. An effective technique for image inpainting has been developed based on partial differential equation (PDE). Instead of solving the problem in frequency domain, this rather new approach evaluates images in time domain. The basic concept starts from the impression of diffusion as a physical process and draws an analogy between the image inpainting process and the diffusion. Images can be comparable to heat, fluid, and gas which spontaneously move from the area of high concentration to the area of lower concentration. The PDEs operate in much the same way that trained restorers do: They propagate information from the structure around a hole into the hole to fill it in. We have implemented image inpainting technique using Heat Equation, Perona-Malik Equation and Cahn-Hillard Equation and compared generated results.


Image In Painting, Partial Differential Equation (PDE) ,Laplacian Operator, Heat Equation, Perona- Malik Equation, Cahn-Hilliard Equation, Matlab

Full Text:



Guillermo Sapiro “Image Inpainting” from SIAM News, Volumm35,Number 4.

M. Bertalmío, G. Sapiro, V. Caselles, and C. Ballester, “Image inpainting,” in Proc. SIGGRAPH: ACM Special Interest Group on Computer Graphics and Interactive Techniques, New York, 2000, pp.417–424

Aurélie Bugeau, Marcelo Bertalmío, Vicent Caselles, and Guillermo Sapiro “A Comprehensive Framework for Image Inpainting” IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 19, NO. 10, pp.2634-2645 , OCTOBER 2010.

Isik Baris¸ Fidaner “A Survey on Variational Image Inpainting,Texture Synthesis and Image Completion”.

D. Tschumperle and R. Deriche, “Vector-valued image regularization with pdes: A common framework for different applications,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 27, no. 4, pp. 506–517, Apr.2005.

M. Bertalmío, “Strong-continuation, contrast-invariant inpainting with a third-order optimal pde,” IEEE Trans. Image Process., vol. 15, no. 7, pp. 1934–1938, Jul. 2006.

D. Tschumperlé, “Fast anisotropic smoothing of multi-valued images using curvature-preserving pde’s,” Int. J. Comput. Vis., vol. 68, no. 1, pp. 65–82, 2006

M. Bertalmío, L. Vese, G. Sapiro, and S. Osher, “Simultaneous structure and texture image inpainting,” IEEE Trans. Image Process., vol. 12, no. 8, pp. 882–889, Aug. 2003.

A.Bugeau and M. Bertalmío, “Combining texture synthesis and diffusion for image inpainting,” in Proc. Int. Conf. Computer Vision Theory and Applications, 2009, pp. 26–33.

Jianhong (Jackie) Shen “Inpainting and the Fundamental Problem of Image Processing” from SIAM News, Volume 36, Number 5, June 2003

Mohiy M. Hadhoud, Kamel. A. Moustafa and Sameh. Z. Shenoda “Digital Images Inpainting using Modified Convolution Based Method” International Journal of Signal Processing, Image Processing and Pattern Recognition

Anat Levin,Assaf Zomet, Yair Weiss “Learning How to Inpaint from Global Image Statistics”.

Shantanu D. Rane, Guillermo Sapiro, and Marcelo Bertalmio “Structure and Texture Filling-In of Missing Image Blocks in Wireless Transmission and Compression Applications”IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 12, NO. 3, MARCH 2003,pp.296-302

Xiaowei Shao, Zhengkai Liu, Houqiang Li “An Image Inpainting Approach Based on the Poisson Equation” Proceedings of the Second International Conference on Document Image Analysis for Libraries (DIAL’06) 0-7695-2531-8/06 © 2006 IEEE

Hardik P.Modi “Implementation of Image Inpainting using Heat Equation” in CIIT International Journal of Digital Image Processing. DOI: DIP062012021.JUNE12

Carola-Bibiane Schönlieb “Applying Modern PDE Techniques to Digital Image Restoration”

T.F. Chan and J. Shen, "Variational Image Inpainting," Comm. Pure Applied Math, Vol. 58, pp. 579-619 (2005).

F. Bornemann and T. März, "Fast Image Inpainting Based on Coherence Transport," J. Math. Imaging Vis. 28 , pp. 259-278 (2007).

P. Perona, and J. Malik, "Scale-space and Edge Detection Using Anisotropic Diffusion," IEEE Transactions on Pattern Analysis and Machine Intelligence, 12(7), pp.629-639 (1990).

Keyvan Yahya, Jafar Biazar, Hossein Azari, Pouyan Rafiei Fard “Variational Iteration Method for Image Restoration”

A. Bertozzi, S. Esedoglu, and A. Gillette, "Inpainting of Binary Images Using the Cahn-Hilliard Equation," IEEE Trans. Image Proc.16 (1) pp. 285-291 (2007).

M. Burger, L. He, C.-B. Schönlieb, "Cahn-Hilliard inpainting and a generalization for grayvalue images," SIAM J. Imaging Sci. Volume 2, Issue 4, pp. 1129-1167 (2009)


  • There are currently no refbacks.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.