Aiming at the existing depth model that fails to take into account both pixel-level features and semantic-level features at the same time when repairing nurals, resulting in problems such as lack of texture fineness and structural distortion, a progressive mural inpaining algorithm that combines kernel prediction and feature reasoning is proposed. Firstly, the regional progressive module is designed to realize the progressive mapping of mural features through partial convolution. Then, a dual-branch repair module is proposed, in which the kernel predicts the volume integral branch to realize the pixel-level repair of the damaged area. The semantic feature reasoning branch introduces gated deformable convolution and combines the semantic consistency attention mechanism to realize feature reasoning to complete the semantic-level repair of damaged murals. Finally, the two-branch repair results are fused into the output to minimize the reconstruction error and improve the repair accuracy. Through the digital restoration experiment of Dunhuang murals, the results show that the restored murals by the proposed method have better structural texture characteristics, which are better than the comparison algorithm in terms of evaluation indicators.
FUX Y, MAX J, SUNZ J .Digital restoration of damaged murals:based on Dunhuang murals[J].Art & Design,,2019(1):21-27.(in Chinese)
[3]
WANGH, LIQ Q, JIAS. A global and local feature weighted method for ancient murals inpainting[J]. International Journal of Machine Learning and Cybernetics,2020,11(6):1197-1216.
[4]
SHUMBHAMK, WASNIK, SHREYAR, et al. Image inpainting using total variation algorithm[J]. International Journal of Innovative Research in Engineering,2022,3(3):101-105.
WANGH, LIL, LIQ, et al. A global uniform and local continuity repair method for murals inpainting[J].Journal of Hunan University (Natural Sciences), 2022, 49(6): 135-145.(in Chinese)
[7]
YANGT, ZHAOJ H .An improved method of CRIMINISI algorithm[C]//2021 3rd International Conference on Advances in Computer Technology,Information Science and Communication (CTISC).Shanghai,China: IEEE,2021:367-371.
[8]
QINJ, BAIH H, ZHAOY .Multi-scale attention network for image inpainting[J].Computer Vision and Image Understanding,2021,204:103155.
LIY L, GAOY, YANJ L,et al .Image inpainting methods based on deep neural networks:a review[J].Chinese Journal of Computers,2021,44(11):2295-2316.(in Chinese)
[11]
NAZERIK,NG E, JOSEPHT,et al .EdgeConnect:structure guided image inpainting using edge prediction[C]//2019 IEEE/CVF International Conference on Computer Vision Workshop (ICCVW).Seoul,Korea (South): IEEE,2019:3265-3274.
[12]
LIJ Y, HEF X, ZHANGL F,et al .Progressive reconstruction of visual structure for image inpainting[C]//2019 IEEE/CVF International Conference on Computer Vision (ICCV).Seoul,Korea (South): IEEE,2019:5961-5970.
[13]
XIONGW, YUJ H, LINZ,et al .Foreground-aware image inpainting[C]//2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).Long Beach,CA,USA: IEEE,2019:5833-5841.
[14]
GUOZ Y, CHENZ B, YUT,et al .Progressive image inpainting with full-resolution residual network[C]//Proceedings of the 27th ACM International Conference on Multimedia.Nice France:ACM, 2019: 85-100.
[15]
LIJ Y, WANGN, ZHANGL F,et al .Recurrent feature reasoning for image inpainting[C]//2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).Seattle,WA,USA: IEEE,2020:7757-7765.
[16]
WADHWAG, DHALLA, MURALAS,et al .Hyperrealistic image inpainting with hypergraphs[C]//2021 IEEE Winter Conference on Applications of Computer Vision (WACV).Waikoloa, HI, USA: IEEE, 2021:3 911-3920.
[17]
GUOQ, LIX G, JUEFEI-XUF,et al .JPGNet:joint predictive filtering and generative network for image inpainting[C]//Proceedings of the 29th ACM International Conference on Multimedia.October 20 - 24,2021,Virtual Event,China: ACM,2021:386-394.
CHENY, AIY P, GUOH G .Inpainting algorithm for Dunhuang mural based on improved curvature-driven diffusion model[J].Journal of Computer-Aided Design & Computer Graphics,2020,32(5):787-796.(in Chinese)
[22]
LIUG L, REDAF A, SHIHK J,et al .Image inpainting for irregular holes using partial convolutions[C]//European Conference on Computer Vision.Cham:Springer,2018:89-105.
[23]
BAKOS, VOGELST, MCWILLIAMSB,et al .Kernel-predicting convolutional networks for denoising Monte Carlo renderings[J].ACM Transactions on Graphics, 2017,36(4):97-110.