When a digital camera captures a scene, the color of every pixel is a confounded mix of two components: the intrinsic color of the surface (its reflectance) and the color of the light striking that surface (its illumination). To recover the true colors of objects—a task fundamental to computational color constancy and automatic white balancing—computer vision algorithms historically relied on a massive simplification: the uniform illumination assumption. This constraint posits that a single, globally uniform light source illuminates the entire scene.
Under this assumption, finding the true colors of a scene is mathematically elegant. Algorithms can calculate a single global correction factor—such as through the discriminative framework proposed by Jonathan T. Barron in Convolutional Color Constancy or the statistical adjustments in Corrected-Moment Illuminant Estimation—and apply it uniformly across the image.
However, real-world environments routinely violate this constraint. As Graham D. Finlayson et al. point out in Detecting Illumination in Images, real-world scenes frequently feature a complex mixture of artificial and natural light sources. Think of a typical indoor living room: it may be lit simultaneously by warm, yellowish tungsten bulbs and cool, bluish daylight streaming through a window. When an algorithm assumes a single global illuminant, it is forced to choose a compromise. Correcting for the warm indoor light leaves the window area intensely blue, while correcting for daylight turns the interior deep orange.
[Global White Balance] ---> Applies one correction ---> Leaves persistent color casts
[Spatially Varying WB] ---> Maps local light fields ---> Achieves true color constancy
To resolve this, a major research direction focuses on relaxing the single-illuminant constraint, shifting instead toward models that treat illumination as a spatially varying, multi-source field.
How the Uniformity Assumption Distorts Vision Tasks
The failure of the single-illuminant constraint ripples across multiple downstream computer vision tasks, creating systematic errors wherever light and materials interact.
Color Constancy and Spectral Reconstruction
When multiple light sources with different spectral properties coexist, global scaling approaches break down because a single scaling factor cannot accurately represent the entire spatial domain. As noted in Fast-n-Squeeze: towards real-time spectral reconstruction from RGB images, forcing a global illumination model onto a multi-illuminant scene corrupts the reconstruction of underlying spectral signatures. Zhifeng Zhang argues in Domain Adversarial Learning for Color Constancy that models struggle to resolve conflicting chromatic signals when forced to output a single dominant illuminant, often filtering out secondary light sources entirely rather than modeling their spatial interactions.
Intrinsic Image Decomposition
Intrinsic image estimation aims to separate an image into pure reflectance (the object's true color) and shading (the effects of light and geometry). Thomas Nestmeyer et al. demonstrate in Reflectance Adaptive Filtering Improves Intrinsic Image Estimation that assuming achromatic or uniform illumination fails in complex indoor settings where varying color temperatures create spatially varying chromatic lighting effects. Similarly, Vibhav Vineet et al. show in Higher Order Priors for Joint Intrinsic Image, Objects, and Attributes Estimation that this simplification limits a model's ability to accurately decompose material properties, often mistaking a local change in light color for a change in the object's actual material reflectance.
Shadow Removal and Image Harmonization
Shadows are regions where a primary direct illuminant is occluded, leaving the area lit only by secondary ambient light. Dimitris Samaras et al. observe in From Shadow Segmentation to Shadow Removal that simplified linear illumination models lead to poor color fidelity when attempting to relight shadowed regions under non-uniform conditions.
For image harmonization—the task of compositing a foreground object realistically into a new background—the authors of Image Harmonization Method Based on Deep Forgery Detection show that performance drops drastically in environments with complex, multi-source lighting. Without modeling the spatial distribution of diverse light sources, the system cannot accurately predict how those distinct lights should interact with the newly introduced object.
Shifting to Spatially Varying and Multi-Illuminant Models
To handle the complexity of real-world lighting, researchers have developed mechanisms to capture, separate, and blend multiple illuminants across a single image.
Local Patch and Superpixel Estimation
Instead of computing a single global illumination vector, algorithms can analyze images locally. Michael Bleier demonstrates in Color constancy and non-uniform illumination: Can existing algorithms work? that segmenting an image into local patches or superpixels allows a committee of standard color constancy algorithms to operate locally. By fusing these local estimates, the system maps how the illumination profile changes across the spatial domain of the scene.
[Input Image] ---> [Superpixel Segmentation] ---> [Local Illuminant Estimation] ---> [Spatially Varying Correction Map]
Explicit Illuminant Separation
Rather than trying to find a single compromise light vector, some frameworks physically decompose the image into distinct illumination layers. Ayan Chakrabarti et al. show in Learning to Separate Multiple Illuminants in a Single Image that a neural network embedded with physics-based image formation constraints can successfully split a single photograph into separate images, each showing the scene as if it were lit by only one of the constituent light sources.
Pixel-Wise Anchor Blending
For practical camera pipelines, Mahmoud Afifi introduces a clever alternative in Auto White-Balance Correction for Mixed-Illuminant Scenes. Instead of estimating an infinite variety of arbitrary local light spectra, the system renders the raw image multiple times using a few standard, predefined "anchor" settings (such as Tungsten, Daylight, and Shade). A deep neural network then learns pixel-wise weighting maps that smoothly blend these anchored images together, effectively neutralizing complex mixed-lighting color casts without explicit spectral estimation.
Incorporating Geometry and Physical Priors
Spatially varying illumination models work because they leverage the physical relationship between 3D scene structure and light propagation. Light does not change randomly across an image; its variation is bounded by scene geometry and the positions of the light sources.
Rui Lu et al. demonstrate this in Color constancy using 3D scene geometry by classifying images into rough 3D "stages" and applying specialized illuminant estimation algorithms to different depth layers. This confirms that spatial variations in lighting are deeply tied to the physical layout of the scene.
When modeling indoor environments, Henrique Weber et al. show in Editable Indoor Lighting Estimation that moving beyond a single dominant light source approximation to multi-parametric light configurations (such as rows of spotlights) allows for highly realistic object insertion and lighting editing.
By embedding these physics-based image formation constraints directly into deep learning architectures—such as the domain-classifier guided network proposed by Yeying Jin et al. in DC-ShadowNet—modern frameworks can resolve the ambiguities of mixed lighting without requiring impossible-to-collect paired training data. These models learn how light attenuates, reflects, and mixes across surfaces, transforming computational color vision from a flat, global approximation into a rich, spatially aware simulation of physical reality.
Key Foundational Work
Image Segmentation with Detection of Highlights and Inter-Reflections Using Color (1989) — contributed 2 concept elements to this direction.