ISSN 1000-1239 CN 11-1777/TP

Journal of Computer Research and Development ›› 2014, Vol. 51 ›› Issue (9): 2081-2093.doi: 10.7544/issn1000-1239.2014.20130071

Previous Articles     Next Articles

A Sparsity Image Inpainting Algorithm Combining Color with Gradient Information

Li Zhidan, He Hongjie, Yin Zhongke, Chen Fan   

  1. (Sichuan Key Laboratory of Signal and Information Processing, Southwest Jiaotong University, Chengdu 610031)
  • Online:2014-09-01

Abstract: In the existing sparsity-based image inpainting algorithms, only color information is used to measure the similarity between the exemplar to be filled and other exemplars, and the match patches of the exemplar to be filled are searched in the whole image. These decrease the structure connectivity and the neighborhood consistence of texture region, and increase the time complexity of these algorithm. To address these problems, the color-gradient distance between two exemplars is defined by the color and gradient norm information of them. Using the color-gradient distance, the new patch structure sparsity is constructed to determine the filling order, and the new match criterion is obtained to find the most similar patch. Furthermore, the size of local search region is adaptively decided by the patch structure sparsity values to decrease the time complexity of this algorithm. Also the weighting coefficients of color information and gradient information are different in different images, which is verified through experiments. Experimental results demonstrate that the proposed method has better ability to maintain the structure connectivity and the neighborhood consistence of texture area. The PSNR of repaired image by the proposed scheme is 1dB higher than that by the existing algorithms. Additionally, the speed of the proposed scheme is about 4 to 11 times of that of the existing algorithms.

Key words: image inpainting, gradient norm, structure sparsity, similarity, local search strategy

CLC Number: