From [R, G, B] to Surface Reflectance: Computing Color Constant Descriptors in Images

Ron Gershon, Allan D. Jepson, John K. Tsotsos

Introduction

The human visual system possesses the remarkable ability of color constancy, allowing us to perceive the stable colors of objects despite significant variations in ambient lighting. In contrast, standard digital cameras record raw reflected light, which is a composite of the object's surface reflectance and the spectral distribution of the light source. To achieve machine color constancy, it is necessary to decouple these two components. This paper proposes a computational model that transforms standard three-sensor RGB images into illumination-independent color descriptors by utilizing statistical priors of natural light and materials.

Methodology

The proposed approach utilizes finite-dimensional linear models to constrain the problem. Surface reflectances and daylight illuminants are represented using basis functions derived from empirical datasets, such as Cohen’s (1964) spectral reflectance curves of Munsell chips and Judd et al.’s (1964) daylight samples.

Illuminant Estimation

The algorithm first estimates the scene's illuminant. Rather than a simple global average, which can be biased by large monochromatic areas, the method employs region-based averaging. The image is segmented into distinct chromatic regions; the colors within these regions are averaged, and then these regional averages are combined. This "bag of materials" approach is then mapped to an "ideal material space"—derived from Krinov’s (1947) database of natural materials—to solve for the illuminant vector.

Comparison of real versus estimated relative power of the illuminant across the visible spectrum.

Computing Color Descriptors

Once the illuminant is estimated, a transformation matrix is constructed to convert raw RGB values into illumination-invariant color descriptors, termed C-values. These values represent the recovered true reflectance of the scene's materials. This process demonstrates that a standard 3-sensor system is sufficient for accurate estimation when grounded in real-world statistical properties, contrary to previous theories suggesting more sensors were required.

Experimental Results

The model was evaluated using both simulated data and real digitized photographs taken under varying conditions, such as white incandescent versus yellow-filtered light.

Quantitative Accuracy

In controlled simulations with known materials, the algorithm demonstrated high precision in recovering C-values. Experimental data showed that absolute errors remained remarkably low, often below 0.2 on a normalized scale, indicating that the linear models effectively capture the necessary spectral information.

Robustness to Lighting Variations

A critical test of the model is its performance across varying illuminants. When processing images of the same scene under white incandescent and yellow-filtered light, the algorithm produced nearly identical reflectance estimates.

Estimated illuminants and surface reflectances for the same scene under two different lighting conditions (white vs. yellow).

As illustrated in the figure above, while the estimated illuminant curves (top) correctly reflect the change in lighting between Image #1 and Image #2, the recovered reflectance curves (bottom) for the materials remain stable across both conditions.

Discussion and Conclusion

The primary strength of this model is its demonstration that standard three-sensor RGB systems are sufficient for accurate color constancy. By treating the image as a collection of materials rather than a collection of pixels, the algorithm avoids the biases common in "grey world" assumptions.

However, the method's reliance on a "rich" variety of materials in the scene presents a limitation for sparsely colored or highly uniform images. Future improvements could involve integrating scene-specific priors—such as identifying the general environment (e.g., forest vs. office)—to dynamically refine the ideal material space and further enhance estimation accuracy.

Summary updated

BibTeX
@inproceedings{gershon1987from,
  author = {Ron Gershon and Allan D. Jepson and John K. Tsotsos},
  title = {{From [R, G, B] to Surface Reflectance: Computing Color Constant Descriptors in Images}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1987},
}
Figure