Temporally Coherent Video Harmonization Using Adversarial Networks

Hao-Zhi Huang,Sen-Zhe Xu,Jun-Xiong Cai,Wei Liu,Shi-Min Hu
DOI: https://doi.org/10.1109/tip.2019.2925550
IF: 10.6
2020-01-01
IEEE Transactions on Image Processing
Abstract:Compositing is one of the most important editing operations for images and videos. The process of improving the realism of composite results is often called harmonization. Previous approaches for harmonization mainly focus on images. In this paper, we take one step further to attack the problem of video harmonization. Specifically, we train a convolutional neural network in an adversarial way, exploiting a pixel-wise disharmony discriminator to achieve more realistic harmonized results and introducing a temporal loss to increase temporal consistency between consecutive harmonized frames. Thanks to the pixel-wise disharmony discriminator, we are also able to relieve the need of input foreground masks. Since existing video datasets which have ground-truth foreground masks and optical flows are not sufficiently large, we propose a simple yet efficient method to build up a synthetic dataset supporting supervised training of the proposed adversarial network. The experiments show that training on our synthetic dataset generalizes well to the real-world composite dataset. In addition, our method successfully incorporates temporal consistency during training and achieves more harmonious visual results than previous methods.
computer science, artificial intelligence,engineering, electrical & electronic
What problem does this paper attempt to address?