Exemplar Based Image Inpainting Algorithm Using Direction Features of Curvelet Transform
LI Zhi-dan1, HE Hong-jie1, YIN Zhong-ke2, CHEN Fan1
1. Sichuan Key Laboratory of Signal and Information Processing, Southwest Jiaotong University, Chengdu, Sichuan 610031, China;
2. Institute of Remote Sensing Information, Beijing 100192, China
Whether the structure coherence and neighborhood consistency can be well maintained directly determines the performance of an inpainting algorithm.To achieve a better inpainting performance, this paper proposes an exemplar based image inpainting algorithm based on direction features extracted by Curvelet transform.Firstly, the super-wavelet transform is applied to extract four direction features of the corrupted image.Then the color and direction information are utilized to measure the similarities between patches.Subsequently, a color-direction structure sparsity function is defined.Afterwards, multiple suitable candidate patches are searched based on the weighted color-direction distance and these candidate patches are applied to sparsely represent target patch under the local neighborhood consistence constraints both in color and direction spaces.Moreover, in searching candidate patches, the error tolerance is adaptively decided according to the feature of target patch.Experiment results show that the proposed method can achieve better inpainted results than the state-of-the-art algorithms, especially when dealing with structure and texture images.
李志丹, 和红杰, 尹忠科, 陈帆. 基于Curvelet方向特征的样本块图像修复算法[J]. 电子学报, 2016, 44(1): 150-154.
LI Zhi-dan, HE Hong-jie, YIN Zhong-ke, CHEN Fan. Exemplar Based Image Inpainting Algorithm Using Direction Features of Curvelet Transform. Chinese Journal of Electronics, 2016, 44(1): 150-154.
[1] Bertalmio M, Sapiro G, Caselles V, et al.Image inpainting[A].Proceedings of the 27th Annual Conference on Computer Graphics and Interactive Techniques[C].New Orleans:ACM Press, 2000.417-424.
[2] Elad M, Starck J L, Querre P, et al.Simultaneous cartoon and texture image inpainting using morphological component analysis (MCA)[J].Applied and Computational Harmonic Analysis, 2005, 19(3):340-358.
[3] Mairal J, et al.Non-local sparse models for image restoration[A].Proceedings of 12th IEEE International Conference on Computer Vision[C].Kyoto:IEEE Press, 2009.2272-2279.
[4] Dong W S, Shi G M, Li X.Nonlocal image restoration with bilateral variance estimation:a low-rank approach[J].IEEE Transactions on Image Processing, 2013, 22(2):700-711.
[5] Criminisi A, Perez P, Toyama K.Object removal by exemplar-based inpainting[A].Proceedings of IEEE Computer Society Conference on Computer Vision and Pattern Recognition[C].Madison Wisconsin:IEEE Press, 2003.721-728.
[6] Xu Z B, Sun J.Image inpainting by patch propagation using patch sparsity[J].IEEE Transactions on Image Processing, 2010, 19(5):1153-1165.
[7] 吴晓军, 李功清.基于样本和线性结构信息的大范围图像修复算法[J].电子学报, 2012, 40(8):1509-1514. Wu Xiaojun, Li Gongqing.Large scale image inpainting based on exemplar and structure information[J].Acta Electronica Sinica, 2012, 40(8):1509-1514.(in Chinese)
[8] Hareesh A S, Chandrasekaran V.Exemplar-based color image inpainting:a fractional gradient function approach[J].Pattern Analysis and Applications, 2014, 17:389-399.
[9] 范冠鹏, 和红杰, 陈帆, 等.基于局部特性的图像修复算法[J].光电子·激光, 2012, 23(12):2410-2417. Fan Guanpeng, He Hongjie, Chen Fan, et al.An image inpainting algorithm based on local properties[J].Journal of Optoelectronics·Laser, 2012, 23(12):2410-2417.(in Chinese)
[10] 范冠鹏.基于样本块结构特性的图像修复算法[M].西南交通大学, 2013.32-46. Fan Guanpeng.Image Inpainting Algorithm Based on Exemplar Structure Characteristics[M].Southwest Jiaotong University, 2013.32-46.(in Chinese)
[11] 李志丹, 和红杰, 尹忠科, 等.基于块结构稀疏度的自适应图像修复算法[J].电子学报, 2013, 41(3):549-554. Li Zhidan, He Hongjie, Yin Zhongke, et al.Adaptive image inpainting algorithm based on patch structure sparsity[J].Acta Electronica Sinica, 2013, 41(3):549-554.(in Chinese)
[12] Wang Y X, Zhang Y J.Image inpainting via weighted sparse non-negative matrix factorization[A].Proceedings of 18th IEEE International Conference on Image Processing[C].Barcelona:IEEE Press, 2011.3409-3412.
[13] Ogawa T, Haseyama M.Missing texture reconstruction method based on error reduction algorithm using Fourier transform magnitude estimation scheme[J].IEEE Transactions on Image Processing, 2013, 22(3):1252-1257.
[14] Starck J, E Candes, D Donoho.The curvelet transform for image denoising[J].IEEE Transactions on Image Processing, 2002, 11(6):670-684.
[15] 赵亮, 等.基于Curvelet的纹理方向自适应图像插值[J].光电子·激光, 2012, 23(4):798-804. Zhao Liang, et al.Texture direction adaptive image interpolation based on Curvelet transform[J].Journal of Optoelectronics·Laser, 2012, 23(4):798-804.(in Chinese)
[16] Goldman D, Shechtman E, Barnes C, et al.Content-aware fill[OL].http://www.adobe.com/technology/projects/content-aware-fill.html, 2009.