Line Drawing Guided Progressive Inpainting of Mural Damage

Read original: arXiv:2211.06649 - Published 7/8/2024 by Luxi Li, Qin Zou, Fan Zhang, Hongkai Yu, Long Chen, Chengfang Song, Xianfeng Huang, Xiaoguang Wang, Qingquan Li
Total Score

0

🛠️

Sign in to get full access

or

If you already have an account, we'll log you in

Overview

  • Mural image inpainting is an underexplored area compared to natural image inpainting.
  • Existing inpainting methods struggle with murals that have varying subjects and large damaged areas.
  • Murals' discrete colors can lead to color bias issues during inpainting.
  • This paper proposes a line drawing guided progressive mural inpainting method to address these challenges.

Plain English Explanation

The paper focuses on mural image inpainting, which is the process of automatically filling in damaged or missing areas in mural paintings. This is a less explored area compared to natural image inpainting, where the goal is to repair general photographs.

Existing inpainting methods often struggle with murals because they tend to have more complex and varied subject matter, as well as larger damaged regions, compared to natural images. Additionally, the discrete colors used in murals can lead to color bias issues during the inpainting process, where the repaired areas don't match the original colors well.

To address these challenges, the paper proposes a two-step inpainting approach. First, a structure reconstruction network uses the mural's line drawing as a guide to accurately reconstruct the large-scale content and structure. Then, a color correction network performs local color adjustments to the missing pixels, reducing the impact of color bias and inconsistent edges.

The authors evaluate their method against state-of-the-art inpainting techniques and show that their approach outperforms the competition in terms of both visual quality and objective metrics. This highlights the benefits of their line drawing-guided, two-step inpainting strategy for tackling the unique challenges of mural image restoration.

Technical Explanation

The proposed mural inpainting method consists of two main components:

  1. Structure Reconstruction Network (SRN): This network uses the mural's line drawing as an additional input, alongside the damaged mural image, to reconstruct the large-scale content and structural details of the missing regions. By leveraging the line drawing as a guide, the SRN is able to generate more authentic and structurally stable inpainting results, even for murals with diverse subject matter and extensive damage.

  2. Color Correction Network (CCN): After the structure has been reconstructed, the CCN performs local color adjustments to the missing pixels. This helps to mitigate the color bias issues that can arise due to the discrete color palette used in mural paintings. The CCN's color correction step ensures that the repaired areas blend seamlessly with the surrounding mural.

The authors evaluate their approach on a dataset of mural images and compare the results to several state-of-the-art inpainting methods, including content-aware fill, partial convolution, and contextual attention. The qualitative and quantitative results demonstrate the superior performance of the proposed line drawing-guided, two-step inpainting method in terms of both visual quality and structural authenticity.

Critical Analysis

The paper presents a novel approach to mural image inpainting that addresses the unique challenges of this domain, such as varying subject matter, large damaged areas, and color bias issues. The use of line drawings as a structural guide and the two-step inpainting process are key innovations that contribute to the method's strong performance.

However, the paper does not discuss the potential limitations or drawbacks of the proposed approach. For example, the reliance on line drawings may not be practical in scenarios where such drawings are not available. Additionally, the performance of the method on more complex or abstract mural styles is not explored.

Further research could investigate ways to make the inpainting process more robust and generalizable, such as exploring alternative input modalities or developing more sophisticated color correction techniques. Evaluating the method's performance on a broader range of mural datasets, including those with more diverse styles and damage patterns, would also help to better understand its strengths and weaknesses.

Conclusion

This paper presents a line drawing-guided, two-step mural inpainting method that addresses the unique challenges of this domain. By leveraging the line drawing as a structural guide and combining structure reconstruction with color correction, the proposed approach outperforms state-of-the-art inpainting techniques in terms of both visual quality and structural authenticity.

The innovations introduced in this work highlight the importance of tailoring image inpainting methods to the specific characteristics of the target domain, such as the discrete color palette and varied subject matter of mural paintings. As mural image restoration becomes increasingly important for cultural heritage preservation, this research represents a significant step forward in developing more effective and robust inpainting solutions for this underexplored area.



This summary was produced with help from an AI and may contain inaccuracies - check out the links to read the original source documents!

Follow @aimodelsfyi on 𝕏 →

Related Papers

🛠️

Total Score

0

Line Drawing Guided Progressive Inpainting of Mural Damage

Luxi Li, Qin Zou, Fan Zhang, Hongkai Yu, Long Chen, Chengfang Song, Xianfeng Huang, Xiaoguang Wang, Qingquan Li

Mural image inpainting is far less explored compared to its natural image counterpart and remains largely unsolved. Most existing image-inpainting methods tend to take the target image as the only input and directly repair the damage to generate a visually plausible result. These methods obtain high performance in restoration or completion of some pre-defined objects, e.g., human face, fabric texture, and printed texts, etc., however, are not suitable for repairing murals with varying subjects and large damaged areas. Moreover, due to discrete colors in paints, mural inpainting may suffer from apparent color bias. To this end, in this paper, we propose a line drawing guided progressive mural inpainting method. It divides the inpainting process into two steps: structure reconstruction and color correction, implemented by a structure reconstruction network (SRN) and a color correction network (CCN), respectively. In structure reconstruction, SRN utilizes the line drawing as an assistant to achieve large-scale content authenticity and structural stability. In color correction, CCN operates a local color adjustment for missing pixels which reduces the negative effects of color bias and edge jumping. The proposed approach is evaluated against the current state-of-the-art image inpainting methods. Qualitative and quantitative results demonstrate the superiority of the proposed method in mural image inpainting. The codes and data are available at https://github.com/qinnzou/mural-image-inpainting.

Read more

7/8/2024

Sketch-guided Image Inpainting with Partial Discrete Diffusion Process
Total Score

0

Sketch-guided Image Inpainting with Partial Discrete Diffusion Process

Nakul Sharma, Aditay Tripathi, Anirban Chakraborty, Anand Mishra

In this work, we study the task of sketch-guided image inpainting. Unlike the well-explored natural language-guided image inpainting, which excels in capturing semantic details, the relatively less-studied sketch-guided inpainting offers greater user control in specifying the object's shape and pose to be inpainted. As one of the early solutions to this task, we introduce a novel partial discrete diffusion process (PDDP). The forward pass of the PDDP corrupts the masked regions of the image and the backward pass reconstructs these masked regions conditioned on hand-drawn sketches using our proposed sketch-guided bi-directional transformer. The proposed novel transformer module accepts two inputs -- the image containing the masked region to be inpainted and the query sketch to model the reverse diffusion process. This strategy effectively addresses the domain gap between sketches and natural images, thereby, enhancing the quality of inpainting results. In the absence of a large-scale dataset specific to this task, we synthesize a dataset from the MS-COCO to train and extensively evaluate our proposed framework against various competent approaches in the literature. The qualitative and quantitative results and user studies establish that the proposed method inpaints realistic objects that fit the context in terms of the visual appearance of the provided sketch. To aid further research, we have made our code publicly available at https://github.com/vl2g/Sketch-Inpainting .

Read more

4/19/2024

🖼️

Total Score

0

Image Inpainting via Conditional Texture and Structure Dual Generation

Xiefan Guo, Hongyu Yang, Di Huang

Deep generative approaches have recently made considerable progress in image inpainting by introducing structure priors. Due to the lack of proper interaction with image texture during structure reconstruction, however, current solutions are incompetent in handling the cases with large corruptions, and they generally suffer from distorted results. In this paper, we propose a novel two-stream network for image inpainting, which models the structure-constrained texture synthesis and texture-guided structure reconstruction in a coupled manner so that they better leverage each other for more plausible generation. Furthermore, to enhance the global consistency, a Bi-directional Gated Feature Fusion (Bi-GFF) module is designed to exchange and combine the structure and texture information and a Contextual Feature Aggregation (CFA) module is developed to refine the generated contents by region affinity learning and multi-scale feature aggregation. Qualitative and quantitative experiments on the CelebA, Paris StreetView and Places2 datasets demonstrate the superiority of the proposed method. Our code is available at https://github.com/Xiefan-Guo/CTSDG.

Read more

4/9/2024

🖼️

Total Score

0

Text Image Inpainting via Global Structure-Guided Diffusion Models

Shipeng Zhu, Pengfei Fang, Chenjie Zhu, Zuoyan Zhao, Qiang Xu, Hui Xue

Real-world text can be damaged by corrosion issues caused by environmental or human factors, which hinder the preservation of the complete styles of texts, e.g., texture and structure. These corrosion issues, such as graffiti signs and incomplete signatures, bring difficulties in understanding the texts, thereby posing significant challenges to downstream applications, e.g., scene text recognition and signature identification. Notably, current inpainting techniques often fail to adequately address this problem and have difficulties restoring accurate text images along with reasonable and consistent styles. Formulating this as an open problem of text image inpainting, this paper aims to build a benchmark to facilitate its study. In doing so, we establish two specific text inpainting datasets which contain scene text images and handwritten text images, respectively. Each of them includes images revamped by real-life and synthetic datasets, featuring pairs of original images, corrupted images, and other assistant information. On top of the datasets, we further develop a novel neural framework, Global Structure-guided Diffusion Model (GSDM), as a potential solution. Leveraging the global structure of the text as a prior, the proposed GSDM develops an efficient diffusion model to recover clean texts. The efficacy of our approach is demonstrated by thorough empirical study, including a substantial boost in both recognition accuracy and image quality. These findings not only highlight the effectiveness of our method but also underscore its potential to enhance the broader field of text image understanding and processing. Code and datasets are available at: https://github.com/blackprotoss/GSDM.

Read more

8/2/2024