Simulating analogue film damage to analyse and improve artefact restoration on high-resolution scans

Daniela Ivanova, John Williamson, Paul Henderson · OpenReview

Abstract

Digital scans of analogue photographic film typically contain artefacts such as dust and scratches. Automated removal of these is an important part of preservation and dissemination of photographs of historical and cultural importance. While state-of-the-art deep learning models have shown impressive results in general image inpainting and denoising, film artefact removal is an understudied problem. It has particularly challenging requirements, due to the complex nature of analogue damage, the high resolution of film scans, and potential ambiguities in the restoration. We address the lack of ground-truth data for evaluation by collecting a dataset of 4K damaged analogue film scans paired with manually-restored versions produced by a human expert, allowing quantitative evaluation of restoration performance. We construct a larger synthetic dataset of damaged images with paired clean versions using a statistical model of artefact shape and occurrence learnt from real, heavily-damaged images. We carefully validate the realism of the simulated damage via a human perceptual study, showing that even expert users find our synthetic damage indistinguishable from real. In addition, we demonstrate that training with our synthetically damaged dataset leads to improved artefact segmentation performance when compared to previously proposed synthetic analogue damage. Finally, we use these datasets to train and analyse the performance of eight state-of-the-art image restoration methods on high-resolution scans.

Introduction

Analogue film remains a vital medium for cultural and historical documentation. However, physical film is susceptible to "mechanical" damage—dust, scratches, and hair—that accumulates over decades. While digitizing these archives into 4K scans preserves the content, the resulting digital files are often marred by these artifacts. Manual restoration is a painstaking, expensive process requiring expert intervention.

Deep learning has revolutionized image processing, yet film restoration remains a significant challenge. Most existing models are designed for low-resolution images and lack the specific training data required to handle the unique characteristics of physical film damage. This paper addresses these gaps by introducing a sophisticated statistical model for damage simulation and the first public dataset of paired 4K damaged/restored scans.

Methodology: Simulating the Scars of Time

To overcome the scarcity of ground-truth data, we developed a data-driven simulator that mimics real-world film degradation.

Statistical Modeling of Artifacts

We manually annotated over 12,000 individual artifacts from heavily damaged, empty film frames. By analyzing these samples, we modeled the probability distributions of artifact counts, sizes, and shapes using Gamma distributions. This ensures that the simulated dust and scratches reflect the geometric complexity of real-world debris rather than simple geometric primitives.

Spatial Distribution and Realism

Physical debris does not settle uniformly across a film strip; it often clusters due to static electricity or handling. We employed Perlin noise to simulate these spatial distributions, creating realistic "clumping" effects. This statistical approach allows us to generate an infinite variety of training pairs that maintain high fidelity to physical reality.

High-Resolution Processing

Processing 4K images presents a significant computational hurdle for modern GPUs. To address this, we implemented a patch-wise processing pipeline. Images are divided into 256x256 patches with a 50% overlap. After processing, these patches are stitched back together using smooth blending techniques to prevent boundary artifacts, allowing models trained on smaller dimensions to scale to professional archival resolutions.

New Resources for the Research Community

We introduce three critical resources to facilitate future research in this field:

  1. Authentic Damage Dataset: 44 high-resolution 4K scans of various film emulsions, paired with manual restorations performed by a human expert.
  2. Synthetic Damage Dataset: Over 6,000 clean 4K images from the Documerica collection, augmented with our realistic damage overlays.
  3. Artefact Bank: A library of 12,135 annotated real-world artifacts, including dust, dirt, and various hair types.

Experimental Results

Perceptual Validation

A human perceptual study was conducted to validate the realism of our simulator. Participants, including expert film restorers, were asked to distinguish between real and synthetic damage. The results showed that even experts could not reliably tell the difference, with accuracy hovering around 50% (equivalent to random guessing). Furthermore, in 73% of cases, participants rated our synthetic damage as more realistic than previous state-of-the-art simulation methods.

Restoration Performance

We benchmarked eight state-of-the-art restoration methods. Our findings highlight a clear distinction between "end-to-end" models and "two-stage" pipelines.

  • The Winner: LaMa (Resolution-robust Large Mask Inpainting) emerged as the top performer, achieving a PSNR of 39.6 dB and an LPIPS score of 0.042.
  • The Importance of Data: Training a standard U-Net on our realistic synthetic data resulted in a massive performance boost. A model trained on older, "naïve" synthetic data (e.g., DeepRemaster) failed almost entirely on real 4K scans with an Intersection over Union (IoU) of 0.003, whereas our data-driven approach achieved an IoU of 0.256.

Discussion and Limitations

While our results are promising, several challenges remain. High-performing diffusion-based models like RePaint offer excellent quality but are computationally expensive, sometimes requiring up to 40 hours to process a single 4K image patch-by-patch. Additionally, while our model excels at mechanical damage (dust and hair), "chemical" degradations such as mold or vinegar syndrome present different structural challenges that were not the focus of this study.

Conclusion

By bridging the gap between low-resolution AI and high-resolution archival needs, this work provides a foundation for automated, high-quality film restoration. The release of our datasets and simulator allows the community to move beyond naïve simulations and tackle the complexities of real-world analogue preservation. Future work will explore multi-scale architectures to better incorporate global image context while maintaining the fine-grained detail necessary for 4K restoration.

Summary updated

Abstract

Digital scans of analogue photographic film typically contain artefacts such as dust and scratches. Automated removal of these is an important part of preservation and dissemination of photographs of historical and cultural importance. While state-of-the-art deep learning models have shown impressive results in general image inpainting and denoising, film artefact removal is an understudied problem. It has particularly challenging requirements, due to the complex nature of analogue damage, the high resolution of film scans, and potential ambiguities in the restoration. There are no publicly available high-quality datasets of real-world analogue film damage for training and evaluation, making quantitative studies impossible. We address the lack of ground-truth data for evaluation by collecting a dataset of 4K damaged analogue film scans paired with manually-restored versions produced by a human expert, allowing quantitative evaluation of restoration performance. We construct a larger synthetic dataset of damaged images with paired clean versions using a statistical model of artefact shape and occurrence learnt from real, heavily-damaged images. We carefully validate the realism of the simulated damage via a human perceptual study, showing that even expert users find our synthetic damage indistinguishable from real. In addition, we demonstrate that training with our synthetically damaged dataset leads to improved artefact segmentation performance when compared to previously proposed synthetic analogue damage. Finally, we use these datasets to train and analyse the performance of eight state-of-the-art image restoration methods on high-resolution scans. We compare both methods which directly perform the restoration task on scans with artefacts, and methods which require a damage mask to be provided for the inpainting of artefacts.
BibTeX
@article{ivanova2023simulating,
  author = {Daniela Ivanova and John Williamson and Paul Henderson},
  title = {{Simulating analogue film damage to analyse and improve artefact restoration on high-resolution scans}},
  journal = {Computer Graphics Forum},
  year = {2023},
  url = {https://openreview.net/forum?id=K0mYKF1hXM},
}
Figure