Enhanced Deep Animation Video Interpolation

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

TL;DR

This paper introduces AutoFI, a novel method for automatically generating training data for animation video interpolation by synthesizing realistic frames with linear motion assumptions. They also propose SktFI, a sketch-based post-processing module to refine interpolated frames, significantly improving visual quality for animation.

What Problem Does This Paper Address?

Traditional deep learning models for video frame interpolation are trained on datasets derived from high-speed natural videos. However, these models struggle with animation videos due to their typically low frame rates and, crucially, the non-linear motion between frames. This non-linearity violates the linear motion assumption inherent in many interpolation algorithms, leading to blurry or inaccurate results. Manually creating large-scale animation datasets for training is prohibitively expensive and time-consuming.

Methods

The paper proposes two main contributions:

  • AutoFI (Automatic Frame Interpolation Data Generation): This method generates synthetic training data for animation video interpolation. It employs a layered architecture where a background image and several masked foreground layers are combined. Crucially, AutoFI synthesizes these layers with linear motion assumptions, using homography transformations to generate optical flows. This ensures that the generated training data adheres to the assumptions of existing interpolation algorithms, making them more effective for animation.
  • SktFI (Sketch-based Frame Interpolation): This is a plug-and-play post-processing module designed to refine the output of existing frame interpolation networks. It takes the initially interpolated frame and a user-provided sketch of the intermediate frame as input. By using feature extraction and a correlation module, SktFI leverages the sketch to correct error-prone areas, particularly those with fast motion or occlusions, leading to sharper and more detailed final frames.

Datasets

  • Training Data Generation (AutoFI): AutoFI synthesizes training data using images from the animation film "Spirited Away." They generate 40K triples of frames at a resolution of 512x384.
  • Testing Data: The test set is sampled from the ATD-12K dataset, specifically focusing on frames containing "Spirited Away." This test set consists of 313 triples at a resolution of 960x540.
  • Existing Datasets Mentioned: Vimeo90K and Adobe240 (for natural video training), ATD-12K (for animation video training and testing).

Key Insights and Ideas

  • Linear Motion Assumption is Key: The core insight is that while animation motion is often non-linear, existing interpolation algorithms are built on linear motion assumptions. AutoFI bridges this gap by synthesizing animation data that respects these linear assumptions, making pre-trained models more adaptable.
  • Layered Synthesis for Control: The layered architecture of AutoFI allows for controlled synthesis of frames, enabling the generation of realistic motion without relying on actual video sequences.
  • Sketches as Powerful Refinement Tools: SktFI demonstrates that even simple user-provided sketches can significantly guide and improve the quality of interpolated frames, especially in challenging regions. This highlights the potential of incorporating human guidance into automated processes.
  • Domain Adaptation through Data Synthesis: AutoFI offers a practical solution for domain adaptation, allowing models trained on natural videos to perform better on animation content without requiring extensive manual annotation of animation data.

Key Results

  • AutoFI Improves Existing Models: When used to train existing interpolation networks like DAIN and ANIN, AutoFI-trained models showed improved performance compared to models trained on other datasets. For instance, AutoFI-anin-Lc achieved a PSNR of 30.10 dB, outperforming ANIN [9] by 0.82 dB.
  • SktFI Offers Significant Gains: The SktFI module, when applied as a post-processing step, provided substantial improvements. SktFI-anin achieved a PSNR of 32.22 dB, a gain of approximately 2 dB over AutoFI-anin-Lc.
  • Qualitative Improvements: Visual comparisons show that AutoFI produces sharper and higher-quality interpolated frames. SktFI further refines these frames, restoring details and improving contour accuracy, as evidenced by visual comparisons in Figure 8.

Limitations and Future Work

  • Error-Prone Areas: The paper acknowledges that even with AutoFI, interpolation algorithms can still struggle in areas with fast motion or large occlusions.
  • User Effort for SktFI: While SktFI is effective, it relies on user-provided sketches, which still require some manual effort.
  • Future Work: The authors suggest that AutoFI's ability to generate ground-truth optical flows could be beneficial for future optical flow estimation research. The combination of AutoFI and SktFI is presented as a way to improve the animation production pipeline.

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