Introduction
Deep generative models have achieved remarkable success in creating realistic video content. However, a persistent challenge remains: "flicker" or inconsistent lighting across frames. While metrics exist for spatial quality and motion smoothness, the field lacks a standardized, quantitative tool for measuring illumination consistency. Currently, researchers rely on subjective human evaluation, which is slow, expensive, and biased. To address this, we introduce the Illumination Histogram Consistency (IHC) metric, an objective mathematical framework for assessing lighting stability in video sequences.
Methodology
The IHC metric is built on the principle of separating a scene's inherent properties from its lighting conditions using Retinex theory. The pipeline consists of five primary stages:
- Illumination Map Estimation: Each frame is decomposed into a reflectance map (object properties) and an illumination map (light distribution) using a Single-Scale Retinex (SSR) model.
- Histogram Extraction: An illumination histogram is generated for every frame, capturing the frequency of brightness levels (0–255).
- Mean Baseline Calculation: A "mean illumination histogram" is computed across the entire sequence to serve as a reference for ideal consistency.
- Discrepancy Measurement (IHD): The Illumination Histogram Discrepancy (IHD) is calculated by measuring the difference between individual frame histograms and the sequence mean.
- Final IHC Score: The discrepancies are normalized and subtracted from a constant to yield the IHC score, where a value of 1.0 represents perfect consistency.
Experimental Setup
To validate the metric, synthetic datasets were generated using Blender, allowing for precise control over illumination changes. A 100-frame sequence with linearly increasing light density was used as a baseline. By sampling frames at varying intervals (e.g., comparing adjacent frames versus frames spaced further apart), the authors simulated different levels of lighting instability to test the metric's responsiveness.
Key Results and Discussion
The IHC metric demonstrates several critical advantages over traditional pixel-based comparisons:
- Robustness to Motion: By analyzing the distribution of light (histograms) rather than raw pixel values, the metric remains accurate even when objects move within the scene. This is because a white object moving across a dark background changes pixel values but not necessarily the global illumination distribution.
- Linear Sensitivity: Experiments reveal a nearly linear relationship between the degree of lighting variation and the IHC score. As the frame interval increases—introducing more instability—the IHC score decreases predictably.
- Efficiency: The algorithm is computationally lightweight, making it suitable for integration into the training loops of deep learning models for real-time feedback.
Conclusion and Future Work
The IHC metric provides a reliable, automated alternative to human subjective assessment for video illumination consistency. While highly effective for identifying unwanted flicker, future work will explore how the metric can distinguish between accidental instability and intentional lighting changes, such as sunsets or light switches. Additionally, benchmarking the metric against large-scale real-world generative models will further establish its utility in the evolving landscape of video synthesis.
Summary updated