Logo image
Transref: Multi-scale reference embedding transformer for reference-guided image inpainting
期刊文章   同儕審查

Transref: Multi-scale reference embedding transformer for reference-guided image inpainting

Taorong Liu, Liang Liao, Delin Chen, Jing Xiao, Zheng Wang, Chia-Wen Lin 和 Shin’ichi Satoh
Neurocomputing (Amsterdam), 卷.632, 頁.129749
01/06/2025
Web of Science ID: WOS:001436155400001

摘要

Feature alignment Image inpainting Reference embedding
Image inpainting for completing complicated semantic environments and diverse hole patterns of corrupted images is challenging even for state-of-the-art learning-based inpainting methods trained on large-scale data. A reference image capturing the same scene of a corrupted image offers informative guidance for completing the corrupted image as it shares similar texture and structure priors to that of the holes of the corrupted image. In this work, we propose a Transformer-based encoder–decoder network for Reference-guided image inpainting, named TransRef. Specifically, the guidance is conducted progressively through a reference embedding procedure, in which the referencing features are subsequently aligned and fused with the features of the corrupted image. For precise utilization of the reference features for guidance, a reference-patch alignment (Ref-PA) module is proposed to align the patch features of the reference and corrupted images and harmonize their style differences, while a reference-patch transformer (Ref-PT) module is proposed to refine the embedded reference feature. Moreover, to facilitate the research of reference-guided image restoration tasks, we construct a publicly accessible benchmark dataset containing 50K pairs of input and reference images. Both quantitative and qualitative evaluations demonstrate the efficacy of the reference information and the proposed method over the state-of-the-art methods in completing complex holes. Code and dataset can be accessed at: https://github.com/Cameltr/TransRef. •We explored reference-guided image inpainting which introduces a reference image to restore realistic and original scenes.•We proposed the reference embedding procedure to solve the unique feature alignment problem in reference-guided image inpainting locally and globally.•We constructed the DPED50K dataset to provide a benchmark and advance the reference-guided inpainting reseach.•Extensive experiments show the efficacy of the reference images and the superiority of our method.

檔案與連結 (1)

url
https://www.sciencedirect.com/science/article/abs/pii/S0925231225004217檢視
已出版(紀錄版本)

相關連結

指標

1 檢視次數

詳細資料

Logo image