Abstract
Color constancy is a fundamental challenge in computer vision, aiming to recover the true colors of a scene by estimating the illuminant. Traditional gamut mapping algorithms rely on raw pixel values, which often fail in the presence of diffuse lighting or saturated colors. This paper presents a generalized framework that extends gamut mapping to include image derivative structures (the $n$-jet). By leveraging the property that linear filter outputs transform predictably under illuminant changes, the proposed method provides a more robust estimation. Results on both laboratory and large-scale real-world datasets demonstrate that derivative-based gamuts significantly reduce angular error compared to standard pixel-based approaches.
Introduction
The goal of color constancy is to ensure that the perceived color of objects remains constant under varying illumination. For digital imaging, this is an ill-posed problem: the recorded color is a product of the surface reflectance and the light source spectrum. A white object under red light produces the same sensor response as a red object under white light.
Gamut mapping is a well-established technique for solving this. It operates on the assumption that under a "canonical" illuminant, only a specific range of colors (the gamut) can be observed. If an image contains colors outside this canonical gamut, the algorithm searches for a diagonal transformation (a mapping) that brings the observed colors back into the canonical set. However, standard pixel-based gamut mapping is fragile. It struggles with "color clipping" (saturation) and "diffuse light" (ambient offsets), both of which violate the simple diagonal model.
Generalized Gamut Mapping
To address these limitations, the authors propose Generalized Gamut Mapping. Instead of relying solely on pixel values ($f$), the framework incorporates the local $n$-jet—a set of image derivatives including first-order (edges, $f_x, f_y$) and second-order ($f_{xx}, f_{xy}, f_{yy}$) structures.
The core technical insight is a proof that any linear filter output follows the same diagonal transformation as raw pixels when the light source changes. This allows for the construction of "derivative gamuts." These structures offer several advantages:
- Robustness to Diffuse Light: Derivatives calculate differences between neighboring pixels. Consequently, any locally constant offset (like ambient diffuse light) is naturally canceled out.
- Symmetry: Derivative gamuts are inherently symmetric around the origin (since an edge from color A to B is the negative of B to A), simplifying the mapping process.
Information Fusion and Robustness
With multiple gamuts available (pixels, edges, and higher-order derivatives), the challenge becomes how to combine their estimates. The authors explore two primary strategies:
- Intersection of Feasible Sets: Each gamut type defines a set of "feasible" illuminants. By finding the intersection of these sets, the algorithm narrows down the possible light sources much more effectively than using any single gamut.
- Output Fusion: Final estimates from different orders can be averaged using a "Leave-N-out" strategy to mitigate the impact of outliers.
Simulations using hyperspectral data confirmed that while pixel-based mapping error grows linearly with lighting offsets, edge-based methods remain nearly unaffected.
Experimental Results
The generalized framework was tested across three diverse datasets:
- SFU Laboratory Dataset: On 321 indoor images, the "Intersection: Complete 1-jet" method achieved a median angular error of 2.1°, outperforming standard gamut mapping (2.6°).
- Real-World Dataset (Ciurea and Funt): In a massive test of over 11,000 images, the derivative-based approach achieved a median error of 5.5°, a significant improvement over classic heuristics like Grey-World (7.0°) and White-Patch (6.7°).
Conclusion
By generalizing gamut mapping to include image derivative structures, this work provides a more robust and accurate solution for color constancy. The use of the $n$-jet effectively handles common real-world disturbances like diffuse lighting and color saturation. The finding that the intersection of feasible sets from different derivative orders provides superior results highlights the value of multi-structural information in scene understanding.
Summary updated