DLFormer: Discrete Latent Transformer for Video Inpainting
Authors:
- 1 June 2022
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 3501-3510
Abstract
Video inpainting remains a challenging problem to fill with plausible and coherent content in unknown areas in video frames despite the prevalence of data-driven methods. Although various transformer-based architectures yield promising result for this task, they still suffer from hallucinating blurry contents and long-term spatial-temporal inconsistency. While noticing the capability of discrete representation for complex reasoning and predictive learning, we propose a novel Discrete Latent Transformer (DLFormer) to reformulate video inpainting tasks into the discrete latent space rather the previous continuous feature space. Specifically, we first learn a unique compact discrete codebook and the corresponding autoencoder to represent the target video. Built upon these representative discrete codes obtained from the entire target video, the subsequent discrete latent transformer is capable to infer proper codes for unknown areas under a self-attention mechanism, and thus produces fine-grained content with long-term spatial-temporal consistency. Moreover, we further explicitly enforce the short-term consistency to relieve temporal visual jitters via a temporal aggregation block among adjacent frames. We conduct comprehensive quantitative and qualitative evaluations to demonstrate that our method significantly outperforms other state-of-the-art approaches in reconstructing visually-plausible and spatial-temporal coherent content with fine-grained details. Code is available at https://github.com/JingjingRenabc/dlformer.Keywords
Funding Information
- NSFC (61772206,U1611461,61472145)
This publication has 19 references indexed in Scilit:
- Recurrent Temporal Aggregation Framework for Deep Video InpaintingIEEE Transactions on Pattern Analysis and Machine Intelligence, 2019
- Video Inpainting by Jointly Learning Temporal Structure and Spatial DetailsProceedings of the AAAI Conference on Artificial Intelligence, 2019
- Deep Video Inpainting2019
- Temporally coherent completion of dynamic videoACM Transactions on Graphics, 2016
- A Benchmark Dataset and Evaluation Methodology for Video Object Segmentation2016
- Flow and Color Inpainting for Video Completion2014
- PatchMatchACM Transactions on Graphics, 2009
- Space-Time Completion of VideoIEEE Transactions on Pattern Analysis and Machine Intelligence, 2007
- Video Inpainting Under Constrained Camera MotionIEEE Transactions on Image Processing, 2007
- Full-frame video stabilization with motion inpaintingIEEE Transactions on Pattern Analysis and Machine Intelligence, 2006