Abstract

In this work, we propose MIGT, a novel framework for multi-modal image inpainting that introduces textual description as guidance. We divide MIGT into three components: Coarse-to-Fine Image Inpainting Module (CFIM), Visual-Textual modalities Fusion Module (VTFM), and Multi-modal Semantic Alignment Module (MSAM). CFIM is a Unet-based inpainting model in a coarse-to-fine manner. The coarse inpainting stage produces images of rough shape and color according to the source corrupted images and the corresponding textual descriptions. The fine inpainting stage generates the final high-quality images with fine-grained textures. VTFM aims to reasonably fuse visual-textual modalities. First, we feed visual and textual features into the proposed visual-aware textual filtering mechanism to adaptively focus on desired words related to the missing areas. Then the filtered visual-aware textual features pass through an Attentional Generative Network (AGN) to obtain fusion features that are fed into the middle layers of the coarse stage for subsequent image inpainting. MSAM takes the generated image as input, reconstructing a textual description that semantically aligns the given one to guarantee the semantic consistency between the generated image and the input textual description. Extension experiments conducted on Oxford-102 flower and CUB-200–2011 bird datasets demonstrate the effectiveness of our proposed method.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.