feinanshan / M2M_VFI

Many-to-many Splatting for Efficient Video Frame Interpolation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Many-to-many Splatting for Efficient Video Frame Interpolation (CVPR'22)

Ping Hu, Simon Niklaus, Stan Sclaroff, Kate Saenko

[Paper] [Poster] [Slides] [Video]

Motion-based video frame interpolation commonly relies on optical flow to warp pixels from the inputs to the desired interpolation instant. Yet due to the inherent challenges of motion estimation (e.g. occlusions and discontinuities), most state-of-the-art interpolation approaches require subsequent refinement of the warped result to generate satisfying outputs, which drastically decreases the efficiency for multi-frame interpolation. In this work, we propose a fully differentiable Many-to-Many (M2M) splatting framework to interpolate frames efficiently. Specifically, given a frame pair, we estimate multiple bidirectional flows to directly forward warp the pixels to the desired time step, and then fuse any overlapping pixels. In doing so, each source pixel renders multiple target pixels and each target pixel can be synthesized from a larger area of visual context. This establishes a many-to-many splatting scheme with robustness to artifacts like holes. Moreover, for each input frame pair, M2M only performs motion estimation once and has a minuscule computational overhead when interpolating an arbitrary number of in-between frames, hence achieving fast multi-frame interpolation. We conducted extensive experiments to analyze M2M, and found that it significantly improves efficiency while maintaining high effectiveness.

*Left: ×8 interpolation on the “2K” version of X-TEST; Right: Runtime for interpolating 640×480 video frames.
*Evaluated on a single Titan X GPU.

Requirements:

  1. Linux
  2. Python 3.7
  3. Pytorch 1.8.0
  4. NVIDIA GPU + CUDA 10.0

Testing M2M

see TEST_README.md

Training M2M

see TRAIN_README.md

Citation

If you find M2M is helpful in your research, please consider citing:

@InProceedings{hu2022m2m,
title={Many-to-many Splatting for Efficient Video Frame Interpolation},
author={Hu, Ping and Niklaus, Simon and Sclaroff, Stan and Saenko, Kate},
journal={CVPR},
year={2022}
}

Disclaimer

This is a pytorch re-implementation of M2M, please refer to the original paper (Many-to-many Splatting for Efficient Video Frame Interpolation for comparisons.

About

Many-to-many Splatting for Efficient Video Frame Interpolation

License:Other


Languages

Language:Python 99.9%Language:Shell 0.1%