IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v13y2025i15p2370-d1708789.html
   My bibliography  Save this article

Image Inpainting Algorithm Based on Structure-Guided Generative Adversarial Network

Author

Listed:
  • Li Zhao

    (School of Computer Science and Engineering, Xi’an Technological University, Xi’an 710064, China)

  • Tongyang Zhu

    (School of Computer Science and Engineering, Xi’an Technological University, Xi’an 710064, China)

  • Chuang Wang

    (School of Computer Science and Engineering, Xi’an Technological University, Xi’an 710064, China)

  • Feng Tian

    (Division of Natural and Applied Sciences, Duke Kunshan University, Kunshan 215316, China)

  • Hongge Yao

    (School of Computer Science and Engineering, Xi’an Technological University, Xi’an 710064, China)

Abstract

To address the challenges of image inpainting in scenarios with extensive or irregular missing regions—particularly detail oversmoothing, structural ambiguity, and textural incoherence—this paper proposes an Image Structure-Guided (ISG) framework that hierarchically integrates structural priors with semantic-aware texture synthesis. The proposed methodology advances a two-stage restoration paradigm: (1) Structural Prior Extraction, where adaptive edge detection algorithms identify residual contours in corrupted regions, and a transformer-enhanced network reconstructs globally consistent structural maps through contextual feature propagation; (2) Structure-Constrained Texture Synthesis, wherein a multi-scale generator with hybrid dilated convolutions and channel attention mechanisms iteratively refines high-fidelity textures under explicit structural guidance. The framework introduces three innovations: (1) a hierarchical feature fusion architecture that synergizes multi-scale receptive fields with spatial-channel attention to preserve long-range dependencies and local details simultaneously; (2) spectral-normalized Markovian discriminator with gradient-penalty regularization, enabling adversarial training stability while enforcing patch-level structural consistency; and (3) dual-branch loss formulation combining perceptual similarity metrics with edge-aware constraints to align synthesized content with both semantic coherence and geometric fidelity. Our experiments on the two benchmark datasets (Places2 and CelebA) have demonstrated that our framework achieves more unified textures and structures, bringing the restored images closer to their original semantic content.

Suggested Citation

  • Li Zhao & Tongyang Zhu & Chuang Wang & Feng Tian & Hongge Yao, 2025. "Image Inpainting Algorithm Based on Structure-Guided Generative Adversarial Network," Mathematics, MDPI, vol. 13(15), pages 1-25, July.
  • Handle: RePEc:gam:jmathe:v:13:y:2025:i:15:p:2370-:d:1708789
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/13/15/2370/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/13/15/2370/
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:13:y:2025:i:15:p:2370-:d:1708789. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.