Introduction
Color constancy is a fundamental challenge in computer vision, aimed at removing the chromatic influence of a light source to reveal the true colors of objects in a scene. Historically, simple heuristics like the "Gray-World" assumption—which posits that the average color of a scene is neutral gray—have provided fast but often inaccurate estimates. While modern machine learning approaches have improved accuracy, they often rely on complex feature extraction and high computational costs. This paper introduces a "Corrected-Moment" approach, demonstrating that basic image statistics, when properly transformed by a linear "nudge," can outperform state-of-the-art complex models.
Methodology
The core innovation of this work lies in the application of a linear correction to image moments. The process involves several key steps:
- Moment Extraction: Instead of relying solely on the average color (the 1st moment), the method utilizes higher-order statistics (2nd and 3rd moments) and "color edge" moments derived from image gradients. These edge statistics are particularly robust against large, uniformly colored objects that often mislead traditional algorithms.
- Linear Transformation: The estimated illuminant $\hat{\rho}^E$ is modeled as a linear transformation of the image mean $\mu$: $\hat{\rho}^E \approx C\mu$, where $C$ is a learned 3x3 matrix. This can be expanded to larger matrices (e.g., 19x3) to map higher-order moments to the RGB illuminant estimate.
- Intensity Independence: Since the absolute brightness of the light is unknown, the authors employ a novel alternating least-squares optimization. This iterative algorithm solves for the best correction matrix while accounting for the unknown scaling factor of the light's intensity.
Experimental Results
The method was validated across four standard computer vision benchmarks: the Color Checker, HDR, Grayball, and SFU Object datasets.
- Color Checker Dataset: The "19 Edge Moments" version achieved a median angular error of 2.0, significantly outperforming the complex Exemplar-Based method (2.3) and nearly halving the error of the standard Gray-World baseline (6.3).
- HDR Dataset: The approach demonstrated superior robustness, reducing the maximum error from 30.0 (Gray-World) to 12.0, indicating high reliability in outlier scenes.
- SFU Object Dataset: On this controlled set, the 9-moment approach achieved a median error of 2.0, the best performance recorded for the dataset at the time.
Conclusion
The success of Corrected-Moment Illuminant Estimation suggests that the underlying physics of color constancy is largely linear. By applying a simple linear correction to traditional heuristics, high-performance illuminant estimation can be achieved without the memory and computational overhead of "heavyweight" machine learning models. Future work may involve combining this approach with spatial weighting or more sophisticated preprocessing to further enhance accuracy.
Summary updated