Improving the Perceptual Quality of 2D Animation Interpolation

Shuhong Chen, Matthias Zwicker

Abstract

Generating intermediate frames for 2D animation is notoriously difficult because of crisp lines, flat colors, and non-linear motion. This paper introduces SoftsplatLite (SSL) and a Distance Transform Module (DTM) to significantly improve the perceptual quality of interpolated frames while using fewer parameters than previous state-of-the-art models. Our approach leverages frozen feature extractors and geometric distance transforms to maintain visual consistency, achieving superior results on both Eastern and Western animation styles.

Introduction

Traditional 2D animation is a grueling, manual process, often requiring 12 hand-drawn illustrations for every second of footage. While frame interpolation could theoretically lighten this load, standard techniques designed for photorealistic video fail on animation. Natural video contains motion blur and complex textures that mask interpolation errors. In contrast, animation consists of crisp lines and large, solid-color regions where "ghosting" artifacts—blurry, transparent overlaps—become immediately apparent. Furthermore, existing datasets often require expensive manual filtering to ensure motion is linear enough for training.

Methodology

The authors propose a three-pronged architectural and algorithmic approach to address these challenges.

SoftsplatLite (SSL)

Building on the "Softsplat" framework, SSL utilizes a frozen, ImageNet-pretrained ResNet-50 as a feature extractor. Freezing the extractor reduces overfitting and memory consumption. A specialized occlusion-mask infilling technique is introduced to prevent the "dots" and gaps typically associated with forward-warping, which previously led to significant ghosting artifacts.

Distance Transform Module (DTM)

Convolutional neural networks often struggle with large, flat-colored areas due to a lack of texture. The DTM extracts line drawings and calculates a Normalized Euclidean Distance Transform (NEDT), providing a map of pixel distances to the nearest line. This serves as a "stand-in texture," helping the model maintain color consistency within enclosed shapes and preventing color bleeding.

The proposed architecture featuring SoftsplatLite (a) and the Distance Transform Module (b).

Restricted Relative Linear Discrepancy (RRLD)

To overcome data bottlenecks, the authors developed RRLD, a mathematical metric quantifying the "even spacing" of frame triplets. This allows for the automatic harvesting of high-quality training data from raw animation files, replacing manual human sorting.

Datasets and Evaluation

The models were trained on the ATD12k dataset and a new RRLD-filtered dataset comprising 95 hours of video (8.24M frames) from 14 anime franchises. Evaluation was conducted on both Eastern (Anime) and Western (Disney-style) animation subsets to ensure generalization. The authors emphasize perceptual metrics like LPIPS and Chamfer Distance (CD) over traditional PSNR/SSIM, as the latter often fail to capture the visual impact of blurred lines in animation.

Results

SSL+DTM outperformed all baselines, including DAIN, RIFE, and AnimeInterp, across all test sets. Qualitatively, the new infilling method successfully removes patchy ghosting artifacts.

Qualitative comparison showing the reduction in ghosting artifacts compared to previous methods like AnimeInterp.

Key findings include:

  • User Preference: In a human study, participants preferred SSL+DTM outputs over AnimeInterp 81% of the time.
  • Efficiency: SSL achieves superior results with only 1.28M trainable parameters, significantly fewer than predecessors like AnimeInterp (2.01M) or DAIN (24M).
  • Geometric Anchors: By explicitly modeling the distance to lines via DTM, the model gains geometric anchors that preserve the integrity of 2D art.

Conclusion and Future Work

While SSL+DTM represents a significant step forward, limitations remain. The model currently assumes linear motion, whereas real animation often follows arcs. Future work may incorporate non-linear methods like Quadratic Video Interpolation. Additionally, the model requires fully colored frames, limiting its use in early-stage "pencil test" interpolation. Finally, expanding the RRLD metric to handle panning backgrounds could further increase the diversity of training data.

Summary updated

BibTeX
@inproceedings{chen2022improving,
  author = {Shuhong Chen and Matthias Zwicker},
  title = {{Improving the Perceptual Quality of 2D Animation Interpolation}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19790-1\_17},
}
Figure