TL;DR
This paper introduces a novel video scratch removal framework that combines the generative power of diffusion models with a spatiotemporal "guidance map." By fusing optical flow with visual features and employing a "relaxed mask" to handle motion errors, the method effectively distinguishes scratches from fine textures and ensures flicker-free, high-fidelity restoration of archival film.
What Problem Does This Paper Address?
Restoring old films is a race against time. Decades of poor storage lead to "scratches"—slender, irregular artifacts that obscure historical content. While automated tools exist, they face two primary hurdles:
- Texture-Scratch Confusion: In low-quality, grainy film, it is incredibly difficult for an algorithm to tell the difference between a vertical scratch and a legitimate fine texture (like a pinstripe suit or a blade of grass).
- Visual Consistency: If you fix a scratch in Frame A but do it slightly differently in Frame B, the video will "flicker" or show "ghosting" artifacts, which can be more distracting than the original damage.
Current state-of-the-art methods often rely on unreliable motion estimation or process frames in isolation, leading to blurry results or missed scratches in complex scenes.
Methods
The authors propose a Video Scratch Removal Method Based on Guided Diffusion. The architecture is built on three main pillars:
- S-T (Spatiotemporal) Guidance Map: Instead of just looking at one frame, the system looks at the preceding and succeeding frames. It uses optical flow to estimate motion and extracts high-level visual features. These are fused into a "guidance map" ($G_n$) that tells the model what the current frame should look like based on its neighbors.
- The "Relaxed Mask": Motion estimation is rarely perfect. To prevent errors from ruining the restoration, the authors apply a mean filter to the difference between the input and the guidance map. This "relaxes" the mask, creating a more reliable area of interest that captures potential scratches while ignoring minor motion jitters.
- Temporally Conditioned Diffusion: The core "engine" is a diffusion model using a ConvNeXt backbone as a noise predictor. During the reverse diffusion process, the model is conditioned on both the original degraded frame and the spatiotemporal guidance map.
- Local Generation Strategy: During inference, the model doesn't redraw the whole image. It uses the mask to only update the pixels identified as "scratched," ensuring that uncorrupted parts of the original film remain untouched and sharp.
Datasets
Because high-quality datasets for video scratch removal are rare, the authors built their own:
- Custom Scratch Dataset: They collaborated with film restoration experts to manually extract 1,000 real scratch patches from archival material. These real-world patterns were then randomly transformed (rotated, deformed) and blended into clean video.
- Vimeo-90K: The underlying "clean" video data comes from the Vimeo-90K triplet interpolation subset, which provides the necessary frame sequences (preceding, current, succeeding) for training spatiotemporal models.
- Real-World Testing: The models were also evaluated on a public dataset of actual degraded old films to prove practical utility.
Key Insights and Ideas
- Diffusion as a "Hallucinator": While traditional methods try to "patch" holes, diffusion models are excellent at generating realistic textures from noise. This allows the model to reconstruct complex backgrounds behind a scratch that look semantically correct, not just blurry.
- Handling Motion Uncertainty: The "Aha!" moment here is the relaxed mask. By acknowledging that optical flow will have errors and using a mean filter to smooth those errors out, the authors created a system that is much more robust to fast-moving objects or camera shakes.
- Feature-Motion Fusion: Most methods use either motion (flow) or features. This paper argues that you need both: flow provides the "where," and visual features provide the "what," leading to a much more accurate guidance map.
Key Results
The proposed method significantly outperformed existing leaders like RTN, RRTN, and RVRT:
- Quantitative: On synthetic datasets, the method achieved a PSNR of 37.31 (a significant jump from the ~34.7 range of competitors) and a much lower FID of 16.48 (compared to ~22), indicating much higher visual realism.
- Scratch Detection: The "relaxed mask" approach led to an F1 score of 0.6408, outperforming the next best method (0.6110), proving it is better at finding scratches without flagging legitimate textures.
- Qualitative: Visual comparisons show that while other methods often leave "ghost" remnants of scratches or blur out fine background details, this method produces sharp, consistent results that blend seamlessly with the original footage.
Limitations and Future Work
Despite the impressive results, the authors note two main drawbacks:
- Computational Cost: Diffusion models are iterative and "heavy." This makes the method slower than traditional feed-forward neural networks, which might limit its use for real-time restoration without further optimization.
- The "Boundary" Problem: Because the model requires both a preceding and a succeeding frame to work, it currently cannot restore the very first or very last frame of a video sequence.
Future work will likely focus on optimizing the diffusion process for speed and developing strategies to handle the start and end of video clips.
Summary updated