Color constancy using 3D scene geometry

Rui Lu, Arjan Gijsenij, Theo Gevers, Vladimir Nedovic, De Xu, Jan-Mark GeusebroekICCV 2009

Introduction

Color constancy is the ability of a vision system to perceive the "true" color of objects regardless of the illumination source. For computational systems, this is an inherently ill-posed problem. Traditional approaches often rely on global assumptions like the "Grey-World" or "White-Patch" hypotheses. However, these fail in complex real-world scenes where multiple light sources or varying geometric contexts exist. This paper proposes a novel framework that leverages 3D scene geometry to guide illuminant estimation, moving beyond global assumptions to a more localized, context-aware approach.

Proposed Framework

The core innovation lies in treating color constancy as a geometry-dependent task. The proposed pipeline consists of three primary stages:

The proposed color constancy pipeline, from feature extraction to final corrected image.

1. Stage Classification

The system first classifies an input image into one of 13 predefined 3D "stages"—rough geometric models such as "sky+ground," "corner," or "box." This classification is performed using a Bag-of-Words approach with RGB-SIFT descriptors.

Examples of 3D stage models (wireframes) and corresponding real-world images used for classification.

2. Segmentation

Once a stage is identified, the image is segmented into functional regions (e.g., foreground, background, sky). The authors explore both Hard Segmentation (binary masks) and Soft Segmentation (confidence maps based on geometric class probabilities).

3. Local Illuminant Estimation

Instead of a single global algorithm, the system selects the optimal color constancy algorithm for each specific segment. These local estimates are then combined via a weighted average. The underlying algorithms are based on the $e^{n,p,\sigma}$ framework, allowing for tuning of derivative order ($n$), Minkowski norm ($p$), and Gaussian smoothing ($\sigma$).

Experimental Setup

The study utilizes two primary datasets:

  • $D_1$ (Nedović et al.): Over 3,500 images used specifically to train the 3D stage classifiers.
  • $D_2$ (Ciurea and Funt): A large-scale dataset of over 11,000 video-extracted images. A subset of 711 uncorrelated images was used for testing, with ground truth provided by a "grey ball" attached to the camera.

Results and Key Insights

The proposed method was evaluated using median angular error. The baseline (best single algorithm, 1st-order Grey-Edge) achieved a median error of 5.2°.

  • Automated Performance: The full automated pipeline reduced the error to 4.5°, a 14% improvement over the baseline.
  • Ideal Performance: With manual (perfect) stage classification, the error dropped to 3.6°, a 31% improvement over the baseline.

A key insight is that image statistics are inherently tied to depth; for instance, 0th-order methods (White-Patch) perform better in high-depth scenes with haze, while 2nd-order methods excel in high-contrast scenes with sharp geometric edges.

Conclusion

While the 3D geometry-based approach significantly improves color constancy, the primary bottleneck remains classification accuracy. The current stage classifier's Mean Average Precision (MAP) is 0.320, particularly struggling with heavy occlusions. Future work will focus on improving 3D scene categorization and exploring multi-illuminant estimation in more complex datasets.

Summary updated

BibTeX
@inproceedings{lu2009color,
  author = {Rui Lu and Arjan Gijsenij and Theo Gevers and Vladimir Nedovic and De Xu and Jan-Mark Geusebroek},
  title = {{Color constancy using 3D scene geometry}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2009},
  doi = {10.1109/iccv.2009.5459391},
}
Figure