Enhanced Deep Animation Video Interpolation

Wang Shen, Cheng Ming, Wenbo Bao, Guangtao Zhai, Li Chen, Zhiyong Gao

Introduction

Video Frame Interpolation (VFI) is a critical technique in modern video processing, used to generate intermediate frames between existing ones to enhance motion smoothness. While VFI has seen significant success in natural video contexts, applying these techniques to animation remains a formidable challenge. This paper introduces two innovative solutions: AutoFI, a method for generating high-quality synthetic training data, and SktFI, a sketch-based refinement module designed to handle the most complex interpolation scenarios.

The Challenges of Animation Interpolation

The researchers identify two primary hurdles that prevent standard VFI algorithms from performing well on animated content:

  1. The Nonlinearity Gap: In traditional animation, frames are often reused or drawn with highly nonlinear motion to reduce production costs. Most VFI algorithms operate on the assumption of linear motion between frames. When this assumption is violated, the resulting interpolated frames often suffer from blurring, distortion, or "ghosting" artifacts.
  2. Data Scarcity: Training robust deep learning models requires vast amounts of data. Existing animation datasets are often manually curated to find segments that exhibit linear-looking motion, a process that is both labor-intensive and restrictive, limiting the model's ability to generalize to diverse animation styles.

AutoFI: Automatic Frame Interpolation Data Generation

To address the data scarcity and the nonlinearity gap, the authors developed AutoFI. Instead of relying on existing, often messy animation footage, AutoFI synthesizes perfectly linear training data.

Methodology

AutoFI utilizes a layered architecture to create training triplets ($I_1, I_2, I_3$):

  • Layered Synthesis: The system takes a single background image and several foreground "masked layers" representing objects.
  • Linear Motion: By applying random homography transformations—such as rotation, scaling, and translation—to these layers, the system generates motion that is mathematically linear.
  • Training Advantage: This synthetic approach provides a "clean" environment. By training on perfectly linear motion, the interpolation network learns to reconstruct content accurately without being misled by the "stuttery" or inconsistent motion found in low-FPS real-world animation.

SktFI: Sketch-Based Refinement

Even with improved training data, certain sequences—such as fast-moving limbs or complex occlusions—remain difficult for automated systems to resolve. SktFI introduces a "human-in-the-loop" refinement module to bridge this gap.

The Refinement Pipeline

SktFI allows a user to provide a simple sketch ($S_2$) of the desired intermediate frame. The module then:

  1. Extracts features from the surrounding frames and the user-provided sketch.
  2. Uses a correlation module to estimate bidirectional optical flow.
  3. Warps the original frames to synthesize a final, crisp image that adheres to the structural contours defined by the sketch.

Experimental Results

The researchers evaluated their methods using the ATD-12K dataset and sequences from the film Spirited Away. The results demonstrate significant improvements in both quantitative metrics and qualitative visual quality.

  • Quantitative Performance: The AutoFI-trained model (AutoFI-anin) achieved a 30.10 dB PSNR, a notable improvement over the baseline ANIN model's 29.28 dB.
  • The Impact of Sketches: The addition of the SktFI refinement module led to a substantial jump in performance, reaching 32.22 dB PSNR. This nearly 2dB improvement over the AutoFI baseline highlights the power of structural guidance in complex scenes.
  • Qualitative Quality: Visual analysis shows that AutoFI produces sharper edges and fewer artifacts than standard models like DAIN or AdaCoF. SktFI is particularly effective at restoring fine details in areas where automated models typically fail.

Key Insights

The paper offers several vital takeaways for the field of animation AI:

  • Linearity as a Training Feature: Counter-intuitively, training on perfectly linear synthetic data makes a model more effective at handling real-world animation. It prevents the network from learning "blurry" shortcuts caused by the nonlinearities in real training sets.
  • Structural Anchors: In animation, the "shape" and "silhouette" of an object are often more critical than pixel-perfect movement. Sketches serve as structural anchors that resolve ambiguity in fast-moving sequences.
  • Layered Complexity: Treating frames as a stack of independent moving parts allows for the simulation of complex occlusions that are otherwise difficult to source from raw video data.

Conclusion and Future Directions

While AutoFI provides a robust automated pipeline for data generation, SktFI offers a powerful tool for professional production environments where high-fidelity control is required. Future work may focus on reducing the manual effort required for SktFI by exploring how models handle rougher or "off-model" sketches, and improving the realism of AutoFI masks through more semantically meaningful object segmentation.

Summary updated

BibTeX
@inproceedings{shen2022enhanced,
  author = {Wang Shen and Cheng Ming and Wenbo Bao and Guangtao Zhai and Li Chen and Zhiyong Gao},
  title = {{Enhanced Deep Animation Video Interpolation}},
  booktitle = {ICIP},
  year = {2022},
  doi = {10.1109/icip46576.2022.9897279},
}
Figure