All systems operational
Q1 2026

SAIN:structure-aware image inpainting for large missing areas

Dong Wang · Yaowen Kang · Yibin Chen · Yuefang Gao · Songhua Xu
10.1007/s44443-026-00545-5 397 Views 2 Citations
2
Citations
397
Views
Abstract

Abstract
Image inpainting is crucial for restoring missing or corrupted regions in images, with diverse applications in computer vision and digital content creation. Existing deep learning-based methods, however, often struggle with large or irregular missing regions due to limited contextual cues, leading to structural inconsistencies and semantic misalignment. To address these challenges, we propose Structure-Aware Image Inpainting (SAIN), a novel two-stage framework that integrates multi-scale structural priors and a mask-aware gated attention mechanism to guide the inpainting process. A structured encoder-decoder architecture is designed to extract multi-scale structural features of the complete edge maps generated by the edge generation network. These features from decoder-side reconstructions, rich in semantic and geometric information, are adaptively injected as structural priors into the content inpainting network, helping the model to balance fine detail restoration with global shape consistency. Both stages of SAIN are enhanced with a mask-aware gated attention module that explicitly encodes the geometry of missing regions and applies gated attention. This mechanism enables the network to focus on reliable contextual features while suppressing misleading signals near hole boundaries caused by corruption. This combination allows for the effective handling of large missing regions, ensuring robust inpainting while maintaining spatial and semantic coherence, even under complex mask conditions. We evaluate SAIN on multiple datasets and conduct extensive experiments, demonstrating its superior performance in inpainting complex structures. The proposed method significantly enhances geometric consistency, semantic fidelity, and robustness across a variety of degradation scenarios.

Cite this Article (APA)
Dong, W., Yaowen, K., Yibin, C., Yuefang, G., Songhua, X. (2026). SAIN:structure-aware image inpainting for large missing areas. Journal of King Saud University - Computer and Information Sciences. https://doi.org/10.1007/s44443-026-00545-5
Related Papers
A lightweight model for indoor object detection in unstructured scenes based on joint attention and …
Zhizhong Xing; Leping Li; Ying Yang; Wei Zhou; Guolan Ma; Shaochun Chen; Lechun · 2026
13
cites
424
DDM-YOLO: A lightweight oriented detection model for mature daylily fruits in complex environments
Minqiu Kuang; Xuejie Zou; Fangping Xie; Xiaojian Li; Shang Chen; Dawei Liu; Yuxu · 2026
8
cites
430
Information guided Levy flight for robot search in unknown environments
Weitao Zhao; Zati Hakim Azizul; Xin Lyu; Weijie Kuang · 2026
4
cites
411
3
cites
504
Bridging the gap: A comprehensive survey on AI-driven digital twin networks for future wireless syst…
Yousef Sanjalawe; Salam Fraihat; Salam Al-E’mari; Sharif Naser Makhadmeh · 2026
3
cites
417
Access
View Full Text via DOI
Published in
ISSN 1319-1578
Quartile Q1
AMS Score 100
Field Computer Science & AI
Publisher Elsevier / King Saud University
Country 🇸🇦 Saudi Arabia
View Journal Profile →
Authors
Publication Details
Year 2026
Language English
Added 06 Jul 2026