Abstract
Image inpainting is the process of restoring damaged areas in an image using information available from neighboring regions. In this paper, we present a novel, efficient, and simple local image inpainting algorithm based on the Allen–Cahn (AC) equation with a fidelity term. We utilize the phase separation property of the AC equation and introduce a new phase-dependent fidelity parameter to preserve the original values in the neighboring regions of an inpainting region. The governing partial differential equation is solved using the finite difference method, with the values of the neighboring cells serving as the Dirichlet boundary condition. The proposed algorithm is both local and explicit, making it is fast and easy to implement. We demonstrate the performance of the proposed model through several numerical experiments. Furthermore, comparing this method to other image inpainting methods demonstrates its superiority in image inpainting.
Original language | English |
---|---|
Article number | 44 |
Journal | Zeitschrift fur Angewandte Mathematik und Physik |
Volume | 75 |
Issue number | 2 |
DOIs | |
Publication status | Published - 2024 Apr |
Bibliographical note
Publisher Copyright:© The Author(s), under exclusive licence to Springer Nature Switzerland AG 2024.
Keywords
- Allen–Cahn equation
- Image inpainting
- Phase separation
ASJC Scopus subject areas
- General Mathematics
- General Physics and Astronomy
- Applied Mathematics