Text-Guided Neural Image Inpainting
Lisai Zhang, Qingcai Chen, Baotian Hu, Shuoran Jiang
Abstract
Image inpainting task requires filling the corrupted image with contents coherent with the context. This research field has achieved promising progress by using neural image inpainting methods. Nevertheless, there is still a critical challenge in guessing the missed content with only the context pixels. The goal of this paper is to fill the semantic information in corrupted images according to the provided descriptive text. Unique from existing text-guided image generation works, the inpainting models are required to compare the semantic content of the given text and the remaining part of the image, then find out the semantic content that should be filled for missing part. To fulfill such a task, we propose a novel inpainting model named Text-Guided Dual Attention Inpainting Network (TDANet). Firstly, a dual multimodal attention mechanism is designed to extract the explicit semantic information about the corrupted regions, which is done by comparing the descriptive text and complementary image areas through reciprocal attention. Secondly, an image-text matching loss is applied to maximize the semantic similarity of the generated image and the text. Experiments are conducted on two open datasets. Results show that the proposed TDANet model reaches new state-of-the-art on both quantitative and qualitative measures. Result analysis suggests that the generated images are consistent with the guidance text, enabling the generation of various results by providing different descriptions. Codes are available at https://github.com/idealwhite/TDANet
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext aeb50aec-8770-41be-9567-fca9eafa7b68Cited by top-tier papers12
- GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion ModelsAlexander Quinn Nichol, Prafulla Dhariwal, Aditya Ramesh, Pranav Shyam et al.ICML 2022 · 4,691 citations
- PanoGen: Text-Conditioned Panoramic Environment Generation for Vision-and-Language NavigationJialu Li, Mohit BansalNeurIPS 2023 · 110 citations
- L-CAD: Language-based Colorization with Any-level Descriptions using Diffusion PriorsZheng Chang, Shuchen Weng, Peixuan Zhang, Yu Li et al.NeurIPS 2023 · 42 citations
- Text as Neural Operator: Image Manipulation by Text InstructionTianhao Zhang, Hung-Yu Tseng, Lu Jiang, Weilong Yang et al.ACM MM 2021 · 28 citations
- From Posterior Sampling to Meaningful Diversity in Image RestorationNoa Cohen, Hila Manor, Yuval Bahat, Tomer MichaeliICLR 2024 · 13 citations
Builds on3
- Free-Form Image Inpainting With Gated ConvolutionJiahui Yu, Zhe Lin, Jimei Yang, Xiaohui Shen et al.ICCV 2019 · 1,990 citations
- Coherent Semantic Attention for Image InpaintingHongyu Liu, Bin Jiang, Yi Xiao, Chao YangICCV 2019 · 395 citations
- ManiGAN: Text-Guided Image ManipulationBowen Li, Xiaojuan Qi, Thomas Lukasiewicz, Philip H. S. TorrCVPR 2020
Related papers
- Text-Guided Image InpaintingZijian Zhang, Zhou Zhao, Zhu Zhang, Baoxing Huai et al.ACM MM 2020 · 17 citations
- MMFL: Multimodal Fusion Learning for Text-Guided Image InpaintingQing Lin, Bo Yan, Jichun Li, Weimin TanACM MM 2020 · 22 citations
- DAFT-GAN: Dual Affine Transformation Generative Adversarial Network for Text-Guided Image InpaintingJihoon Lee, Yunhong Min, Hwidong Kim, Sangtae AhnACM MM 2024 · 3 citations
- SmartBrush: Text and Shape Guided Object Inpainting with Diffusion ModelShaoan Xie, Zhifei Zhang, Zhe Lin, Tobias Hinz et al.CVPR 2023
- Adversarial Learning with Mask Reconstruction for Text-Guided Image InpaintingXingcai Wu, Yucheng Xie, Jiaqi Zeng, Zhenguo Yang et al.ACM MM 2021 · 5 citations
