BRIEF RESEARCH REPORT article

Front. Artif. Intell.

Sec. Pattern Recognition

Volume 8 - 2025 | doi: 10.3389/frai.2025.1614608

High-Resolution Image Inpainting using a Probabilistic Framework for Diverse Images with Large Arbitrary Masks

Provisionally accepted
  • Department of Computing Technologies, SRM Institute of Science and Technology, Kattankulathur, Chengalpattu, India

The final, formatted version of the article will be published soon.

Addressing inpainting challenges in high-resolution images remains a complex task. The most recent image inpainting techniques rely on machine learning models, however, a major limitation of supervised methods is their dependence on end-to-end training. Even minor changes to the input often necessitate retraining, making the process inefficient. As a result, unsupervised learning approaches have gained prominence in image inpainting. State-of-the-art methods, particularly those using Generative Adversarial Networks (GANs), have achieved promising results. However, generating photorealistic outputs for high-resolution images with arbitrary large-region masks remains difficult. Inpainted images often suffer from deformed structures and blurry textures, compromising quality. Additionally, building a model capable of handling a diverse range of images presents further challenges. These challenges are addressed by proposing a novel probabilistic model that utilizes picture priors to learn prominent features within StyleGAN3. The priors are constructed using cosine similarity, mean, and intensity, where intensity is computed using the improved Papoulis-Gerchberg algorithm. The image is reconstructed through the probabilistic Maximum A-Posteriori (MAP) estimate. Variational inference is then applied to obtain the optimal solution using a modified Bayes by Backprop approach. The model is evaluated on 70,000 images from the Flickr Faces HQ, DIV2K, and brain datasets and surpasses state-of-the-art techniques in reconstruction quality.

Keywords: Image inpainting, Probabilistic framework, generative adversarial network, Prior estimation, Papoulis_Gerchberg algorithm, MAP estimation

Received: 19 Apr 2025; Accepted: 12 Jun 2025.

Copyright: © 2025 G and M. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence: Sumathi G, Department of Computing Technologies, SRM Institute of Science and Technology, Kattankulathur, Chengalpattu, India

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.