Image Inpainting with Nonsubsampled Contourlet Transform
Computer Vision Group

Department of Computer Science and Artificial Intelligence, University of Granada,
CITIC-UGR, 18071 Granada, Spain

To whom correspondence should be addressed (E-mail): jags,rosa,jfv@decsai.ugr.es

Image inpainting is the process to modify an image in an undetectable form. From this point of view image inpainting is a process to build an image, with the pixels (patch) in source region. The tecnhique most extended consists in to copy patches from the source region to the target region with the objective generating a 'realistic' image. The first problem, with this technique, is to determine the patching priority. In [1] and [2] establish the priority as a trade off between two terms: data term and confidence term. The data term describes how strong the isophote hitting the boundary and the confidence term indicates how many existing pixels are there in a patch. Next, these methods patches the target region by the most similar area in the know image. In [2] the similarity of two regions is computed by the sum of squared differences (SSD) of already filled pixels in them. This searching can not perseve the linear structure of the image, obtaining an image with artifacts. In Figure 1 is show in (A) the Kanizsa Triangle, in which we have to patch the zone green in (B).In this image, only two levels of grey are used, black and white. For it, according to 'The Connectivity Principle' of the human disocclusion process, human mostly seem to prefer the connected result. However, in Figure 1.(A) you have two patches with the same SSD value if you don't have a mechanism which process this ambiguous situation, the election carry out to an image with artifacts. Following to 'The Connective Principle' the system must chose the Ψq2, given the (D) output image.


Fig1: (A) Original image: Ψp target patch and Ψq1 and Ψq2 two source targets.
(B) Target region in green.
(C) Output if the source target selected is Ψq1.
(D) Output if the source target selected is Ψq2

Therefore, a manner image inpainting without artifacts is preserving the linear structure and texture of the original image. A linear structure is associated with transients in the image. Here, transients is refered to coefficients with high values around coefficients with medium and low values. Thus, to distinguish if a patch form part of a linear structure is equivalent to know where are the transients associated to the linear structure. This problem can be resolved with different transforms: Gabor, Wavelet or Contourlet transform. In this work we have used the Nonsubsampled Contourlet Transform (NSCT) [3] to distinguish where are the transients in an image. The main characterists are:

In this work we have focused over two aspects:

Bibliography

  1. M.Bertalmio. G.Spiro, V.Caselles, and C. Ballester. Image inpainting. Proc. ACM Conf. Comp. Graphics (SIGGRAPH), New Orleans, LA. July 2000, pp:417-424
  2. A. Criminisi, P., Perez, and K. Toyama. Object Removal by Exemplar-Based Inpainting. Proceedings of the 2003 IEEE Computer Society Con341 ference on Computer Vision and Pattern Recognition (CVPR’03). pp.342 1-8. (2003)
  3. A.L. da Cunha J.P. Zhou, M.N. Do. Nonsubsampled contourlet trans form: filter design and application in denoising. Proceedings of the IEEE International Conference on Image Processing (ICIP'05), pp. 749-752. (2005)

Acknowledgments. This work was sponsored by the Spanish Board for Science and Technology (MICINN) under grant TIN2010-15157 cofinanced with FEDER funds.