J4 ›› 2012, Vol. 39 ›› Issue (6): 84-91.doi: 10.3969/j.issn.1001-2400.2012.06.014

• Original Articles • Previous Articles     Next Articles

Image inpainting algorithm based on the weighted fractal under the structure-measurement constraint

YANG Xiuhong;GUO Baolong;YAN Chunman   

  1. (School of Mechano-electronic Engineering, Xidian Univ., Xi'an  710071, China)
  • Received:2012-03-04 Online:2012-12-20 Published:2013-01-17
  • Contact: YANG Xiuhong E-mail:yangxiuhong0814@yahoo.com.cn

Abstract:

Aiming at enlarging the searching scope and moderately raising the weights of structure pixels during searching and matching in the process of calculating the best repairing patch for each damaged patch, an image inpainting algorithm based on the weighted fractal under the structure-measurement constraint is presented. First, selected domain blocks are transformed by geometrical transform and isomorphic transform. Using the resulting blocks, the codebook is constructed and serves as the enlarged searching scope. By computing the anisotropic nonlinear structure tensor, the local structure measurement is obtained, in accordance with which the normalized weight map is constructed. The luminance transform is performed, in which we derive its new parameter formulas by minimizing the weighted error between the damaged patch and each domain block in the codebook under the structure-measurement constraint. Lastly, we search in the codebook for the best repairing patch with the minimal weighted error, and then the best repairing patch is used to fill in the damaged patch. Experimental results show that the proposed method can restore damaged structures well and simultaneously make the newly filled region maintain good consistency with the source region. The subjective quality and objective evaluation of the inpainted image are both improved greatly.

Key words: image inpainting, anisotropic, structure tensor, local structure measurement, weighted, fractal

CLC Number: 

  • TP317.4