Recent deep learning based image inpainting methods which utilize contextual information and two-stage architecture have exhibited remarkable performance. However, the two-stage architecture is time-consuming, the contextual information lack high-level semantics and ignores both the semantic relevance and distance information of hole's feature patches, these limitations result in blurry textures and distorted structures of final result. Motivated by these observations, we propose a new deep generative model-based approach, which trains a shared network twice with different targets and utilizes a single network during the testing phase, so that we can effectively save inference time. Specifically, the targets of two training steps are structure reconstruction and texture generation respectively. During the second training, we first propose a Pyramid Filling Block (PF-block) to utilize the high-level features that the hole regions has been filled to guide the filling process of low-level features progressively, the missing content can be filled from deep to shallow in a pyramid fashion. Then, inspired by the classical bilateral filter [30], we propose the Bilateral Attention layer (BA-layer) to optimize filled feature map, which synthesizes feature patches at each position by computing weighted sums of the surrounding feature patches, these weights are derived by considering both distance and value relationships between feature patches, thus making the visually plausible inpainting results. Finally, experiments on multiple publicly available datasets show the superior performance of our approach.
TextDoctor: Unified Document Image Inpainting via Patch Pyramid Diffusion Models
College of Computer Science and Artificial Intelligence, Wenzhou University(温州大学计算机与人工智能学院);University of British Columbia(不列颠哥伦比亚大学);Nasdaq(纳斯达克);Memorial University of Newfoundland(纽芬兰纪念大学)
Dense Feature Interaction Network for Image Inpainting Localization
School of Cyberspace, Hangzhou Dianzi University(电子信息学院,杭州电子大学);Department of Computer Science and Engineering, University at Buffalo, State University of New York(计算机科学与工程系,布法罗大学,纽约州立大学)
BEVANet: Bilateral Efficient Visual Attention Network for Real-Time Semantic Segmentation
Graduate Institute of Networking and Multimedia, National Taiwan University(网络与多媒体研究所,国立台湾大学);Department of Computer Science and Information Engineering, National Taiwan University(计算机科学与信息工程系,国立台湾大学)
An I2I Inpainting Approach for Efficient Channel Knowledge Map Construction
Southeast University(东南大学);Purple Mountain Laboratories(紫金山实验室);Nantong University(南通大学);Nantong Research Institute for Advanced Communication Technologies(南通先进通信技术研究院);University of Delaware(特拉华大学)