Computer Science ›› 2020, Vol. 47 ›› Issue (4): 131-135.doi: 10.11896/jsjkx.190300149

• Computer Graphics & Multimedia • Previous Articles     Next Articles

Adaptive Image Inpainting Based on Structural Correlation

ZHOU Xian-chun1,2, XU Yan1   

  1. 1 School of Electronic and Information Engineering,Nanjing University of Information Science and Technology,Nanjing 210044,China;
    2 Jiangsu Collaborative Innovation Center of Atmospheric Environment and Equipment Technology,Nanjing University of Information Science andTechnology,Nanjing 210044,China
  • Received:2019-03-27 Online:2020-04-15 Published:2020-04-15
  • Contact: XU Yan,born in 1995,postgraduate.Her main research interests include ima-ge processing and so on.
  • About author:ZHOU Xian-chun,born in 1974,Ph.D,associate professor,postgraduate supervision.His main research interests include signal & information processing,and digital image processing.
  • Supported by:
    This work as supported by the National Natural Science Foundation of China(11202106,61302188),“Information and Communication Engineering” Superiority Discipline Construction Project of Jiangsu Province and Jiangsu Brand Professional Construction Project.

Abstract: This paper proposed an adaptive image inpainting algorithm based on structural correlation to solve the problems of inaccurate priority function and degraded image quality in Criminisi inpainting algorithm.First,the structural correlation is introduced to improve the priority calculation and increase the reliability of the priority calculation.Then,the sample size is adaptively selected to make the repair more accurate and improve the efficiency of repair.Finally,HSV color space is introduced,and according to the chromaticity and brightness of sample,the optimal matching block is searched to reduce the repair error and complete the image restoration.Experimental results show that the proposed algorithmhas obvious improvement in subjective visual compared to Criminisi repair algorithm,its peak signal-to-noise ratio (PSNR) and structural similarity (SSIM) are improved,and repair effect is better.Compared with the traditional Criminisi inpainting algorithm,the peak signal-to-noise ratio of proposed algorithm is improved by 1~3dB and structure similarity is closer to 1.This algorithm uses structure correlation adaptively to select sample block size to repair color broken images,making the priority calculation more reasonable and accurate and the repair effect better,which is helpful to practical application.

Key words: Adaptive sample block, HSV color space, Image inpainting, Structural dependence

CLC Number: 

  • TP391
[1]GUILLEMOT C,LE M O.Image inpainting:overview and recent advances[J].IEEE Signal Processing Magazine,2014,31(1):127-144.
[2]ZHANG H Y,PENG Q Z.Overview of digital image restoration technology[J].Journal of Image and Graphics,2007,12(1):1-10.
[3]BERTALMIO M,SAPIRO G,CASELLES V,et al.Image inpainting[J].Proceedings of Siggraph,2000,4(19):417-424.
[4]YU L J,JING,LI Y W.Double Cross Algorithm of Improved TV Image Inpainting Model [J].IEEE 3rd Advanced Information Technology,Electronic and Automation Control Confe-rence,2018,7(5):1097-1100.
[5]CHEN Q C,LI G Y,LI X,et al.Structure guided image completion using texture synthesis and region segmentation[J].Optik,2019,6(4):896-909.
[6]ZHOU X C,WANG M L,SHI L F.Research on image smoothing model based on the combination of gradient and curvature[J].Acta Physica Sinica,2015,64(4):1-7.
[7]LIU Z X,WAN W G.Image Inpainting Algorithm Based on KSVD and Improved CDD[C]// Conference on International Conference on Audio,Language and Image Processing (ICALIP).Shanghai:2018:413-417.
[8]ZHOU X C,WANG M L,ZHOU L F.The image of quasi-normal distribution diffusion is smooth[J].Journal of Image and Graphics,2015,20(2):169-176.
[9]CRIMINISI A,PEREZ P,TOYAMA K.Region filling and object removal by exemplar-based image inpainting[J].IEEE Transactions on Image Processing,2004,13(9):1200-1212.
[10]ZHOU Y T,LI L.Research on weighted priority of exemplarbased image inpainting[J].Journal of Electronics,2012,29(1):166-170.
[11]LI A J,NIU W L.Image inpainting based on improved Criminisi algorithm[J].Computer Engineering and Applications,2014,50(18):167-170.
[12]WANG S M.An unidirectional Criminisi Algorithm for DIBR-synthesized images[C]// 2nd IEEE International Conference on Computer and Communications (ICCC).Chengdu:2016:574-578.
[13]HE K M,SUN J.Image completion approaches using the statistics of similar patches[J].IEEE Transactions on Pattern Analysis and Machine Intelligence,2014,36(12):2423-2435.
[14]HUANG Y,LI K,YANG M.An Improved Image InpaintingAlgorithm Based on Image Segmentation[J].Procedia Compu-ter Science,2017,107(3):796-801.
[15]ZHI H C,CHAO D,LEI J,et al.Structure-aware image inpainting using patch scale optimization[J].Journal of Visual Communication and Image Representation,2016,40(1):312-323.
[16]WANG P Y,ZHAO D H,LI M F.Target visible light camouflage effect evaluation based on image inpainting technology[J].Advances in laser and optoelectronics,2018,55(3):31011.
[17]ZHANG Q H,SHI P F.Edge extraction method based on HSV space color image[J].Computer Simulation,2000,11(17):25-32.
[18]SIADAT S Z,YAGHMAEE F,MAHDAV P.A new exemplar-based image inpainting algorithm using image structure tensors[C]//Proceeding of the 24th Iranian Conference on Electrical Engineering.Shiraz,Iran:IEEE,2016:995-1001.
[19]DOU L Y,XU D,LI J,et al.Image inpainting based on double tree complex wavelet[J].Computer Science,2017,44(1):179-182,191.
[1] DOU Zhi, WANG Ning, WANG Shi-jie, WANG Zhi-hui, LI Hao-jie. Sketch Colorization Method with Drawing Prior [J]. Computer Science, 2022, 49(4): 195-202.
[2] LIN Zhen-xian, ZHANG Meng-kai, WU Cheng-mao, ZHENG Xing-ning. Face Image Inpainting with Generative Adversarial Network [J]. Computer Science, 2021, 48(9): 174-180.
[3] ZHOU Xin, LIU Shuo-di, PAN Wei, CHEN Yuan-yuan. Vehicle Color Recognition in Natural Traffic Scene [J]. Computer Science, 2021, 48(6A): 15-20.
[4] ZHAO Lu-lu, SHEN Ling, HONG Ri-chang. Survey on Image Inpainting Research Progress [J]. Computer Science, 2021, 48(3): 14-26.
[5] LIU Lang, LI Liang, DAN Yuan-hong. Coherent Semantic Spatial-Temporal Attention Network for Video Inpainting [J]. Computer Science, 2021, 48(10): 239-245.
[6] MENG Li-sha, REN Kun, FAN Chun-qi, HUANG Long. Dense Convolution Generative Adversarial Networks Based Image Inpainting [J]. Computer Science, 2020, 47(8): 202-207.
[7] TANG Hao-feng, DONG Yuan-fang, ZHANG Yi-tong, SUN Juan-juan. Survey of Image Inpainting Algorithms Based on Deep Learning [J]. Computer Science, 2020, 47(11A): 151-164.
[8] WANG Xiao, ZOU Ze-wei, LI Bo-bo, WANG Jing. Target Detection in Colorful Imaging Sonar Based on Multi-feature Fusion [J]. Computer Science, 2019, 46(6A): 177-181.
[9] GAN Ling, ZHAO Fu-chao, YANG Meng. Self-adaptive Group Sparse Representation Method for Image Inpainting [J]. Computer Science, 2018, 45(8): 272-276.
[10] ZHANG Lei and KANG Bao-sheng. Image Inpainting for Object Removal Based on Structure Sparsity and Patch Difference [J]. Computer Science, 2018, 45(5): 255-259.
[11] SUN Quan, ZENG Xiao-qin. Image Inpainting Based on Generative Adversarial Networks [J]. Computer Science, 2018, 45(12): 229-234.
[12] HU Zhi-jun, LIU Guang-hai, SU You. Application of Local Autocorrelation Function in Content-based Image Retrieval [J]. Computer Science, 2018, 45(11A): 259-262.
[13] DOU Li-yun, XU Dan, LI Jie, CHEN Hao and LIU Yi-cheng. Image Inpainting Based on Dual-tree Complex Wavelet Transform [J]. Computer Science, 2017, 44(Z6): 179-182.
[14] ZHU Xuan, ZHANG Xu-feng, LI Qiu-ju, WANG Ning and Tao Ji-yao. Image Inpainting Method Based on Sparse Decomposition [J]. Computer Science, 2016, 43(1): 294-297.
[15] HU Wen-jin,LIU Zhong-min and LI Zhan-ming. Improved Algorithm for Image Inpainting in Wavelet Domains [J]. Computer Science, 2014, 41(5): 299-303.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!