Region-based temporally consistent video post-processing

Xuan Dong, Boyan Bonev, Yu Zhu, Alan L. YuilleCVPR 2015

Abstract

We study the problem of temporally consistent video post-processing. Previous post-processing algorithms usually either fail to keep high fidelity or fail to keep temporal consistency of output videos. In this paper, we observe experimentally that many image/video enhancement algorithms enforce a spatially consistent prior on the enhancement. More precisely, within a local region, the enhancement is consistent, i.e., pixels with the same RGB values will get the same enhancement values. Using this prior, we segment each frame into several regions and temporally-spatially adjust the enhancement of regions of different frames, taking into account fidelity, temporal consistency and spatial consistency. User study, objective measurement and visual quality comparisons are conducted. The experimental results demonstrate that our output videos can keep high fidelity and temporal consistency at the same time.

Introduction

Applying high-quality image enhancement filters—such as Adobe Premiere’s "Auto Color" or Instagram-style filters—to video sequences often results in distracting "flicker." This phenomenon occurs because these algorithms, designed for static images, calculate slightly different parameters for each frame due to subtle variations in lighting or composition. Existing solutions often struggle to balance visual fidelity with temporal smoothness, either over-smoothing the video or failing to handle local enhancements that vary across different parts of a scene. This paper introduces a region-based post-processing method that leverages a Spatially Consistent Enhancement (SCE) prior to remove flickering artifacts while maintaining the intended visual style.

Methodology

The proposed system operates as a "black box" post-processor, requiring only the original input frames and the flickery enhanced frames. The core innovation is the SCE prior: the observation that within a local region, pixels with similar RGB values typically receive consistent enhancement.

The three-step pipeline for region-based temporally consistent post-processing.

The pipeline consists of three main stages:

  1. Region Segmentation: Frames are segmented into regions that satisfy the SCE prior. Starting with SLIC superpixels, the system merges them if they can be described by a shared enhancement curve, determined via histogram matching.
  2. Correspondence Estimation: To maintain temporal consistency, the system identifies correspondences between regions across frames. SIFT Flow is employed to find pixel-level motion paths, which are then filtered to retain only highly reliable, sparse correspondences.
  3. MRF Optimization: The final enhancement curves are optimized using a Markov Random Field (MRF) framework. The cost function balances a Data Term (fidelity to the original enhancement), a Temporal Term (consistency across corresponding regions), and a Spatial Term (smooth transitions between neighboring regions).

Experimental Results

The method was evaluated on a dataset of 30 sequences, including movie clips and everyday videos, enhanced by six different algorithms.

Impact of segmentation threshold T on average region area and reconstruction quality (PSNR).

Quantitative analysis demonstrates the relationship between the segmentation threshold $T$, the resulting average region area, and the reconstruction quality measured by PSNR. As shown in Figure 2, as the threshold increases, the average region area decreases while PSNR generally improves across various enhancement types, such as exposure correction and color grading.

In user studies involving 12 volunteers, the proposed method was significantly preferred over raw frame-wise enhancements and existing state-of-the-art temporal smoothing techniques. Objective metrics also showed a marked reduction in the variance of Mean Squared Error (MSE), indicating a substantial decrease in flickering while maintaining low mean MSE (high fidelity).

Conclusion

This region-based approach provides a versatile solution for video post-processing that is robust to complex motion and local lighting changes. By focusing on regions rather than individual pixels and utilizing sparse but accurate correspondences, the method effectively anchors temporal consistency without sacrificing the original enhancement's aesthetic. Future work may address computational efficiency to move toward real-time processing and improve robustness in scenarios with extreme occlusions.

Summary updated

BibTeX
@inproceedings{dong2015region,
  author = {Xuan Dong and Boyan Bonev and Yu Zhu and Alan L. Yuille},
  title = {{Region-based temporally consistent video post-processing}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2015},
  url = {https://openreview.net/forum?id=BybJHRWdWr},
}
Figure