arXiv:2610.40175cs.CVOct 2026

Manuscript Offprint

arXiv:2610.40175

Beyond CCT: Multi-channel SPD recovery for per-shot camera color correction

Shuwei Yue, Hongke Wei, Qiao Chen

Abstract

Modern cameras correct color via two or three pre-calibrated 3×33 \times 3 matrices interpolated by Correlated Color Temperature (CCT). This collapses the illuminant SPD to a scalar. LEDs, fluorescents, and mixed sources sit off the Planckian locus, and metameric illuminants with the same chromaticity demand different optimal CCMs that a CCT pipeline cannot distinguish. We recover the illuminant SPD instead — non-negative least squares against a basis dictionary, conditioned on the camera whitepoint and a multi-channel ambient-light sensor (ALS). A closed-form 3×33 \times 3 CCM is then fit per shot. On a synthetic benchmark of 300 illuminants ×3,100\times 3,100 reflectances, mean angular error drops from 1.89∘1.89^\circ to 1.20∘1.20^\circ, with a 1.7×1.7 \times tail reduction on the LED-like off-Planckian group (n=45) where metameric ambiguity is tangible. The gain holds under realistic ALS imperfections and observation noise, and the same off-Planckian advantage carries over to 1,684 real measured SPDs.

Introduction

The Color Correction Matrix (CCM) is a 3×33 \times 3 linear map from white-balanced camera RGB to a colorimetric standard (CIE XYZ or sRGB). The optimal CCM depends on the scene illuminant. The standard Adobe DNG pipeline [1] stores two reference CCMs, one at T1=2856T_1 = 2856 K and one at T2=6500T_2 = 6500 K. At runtime it interpolates the two by the estimated Correlated Color Temperature (CCT). The illuminant SPD E(λ)E(\lambda) — a function over wavelength — is collapsed to a single scalar.

This works on Planckian illuminants. Blackbody radiators are fully described by temperature, so CCT and the SPD are equivalent. Modern indoor and architectural lighting often sits off this locus. LEDs, fluorescents, and mixed sources do not follow the blackbody curve. Two sources can share xy chromaticity to within Δxy<0.005\Delta_{xy}<0.005 yet differ in normalized SPD shape by more than 30∘30^{\circ}. Both drive the same white-point reading and the same CCT estimate. They still need different optimal CCMs. CCT-based interpolation cannot tell them apart.

We present a spectral-aware per-shot CCM that replaces the CCT scalar with a recovered SPD. We recover the SPD from two cheap observations: the camera's own white-point response and a multi-channel ambient-light sensor (ALS). The ALS is a small commodity chip with 8 to 14 narrow-band photodiodes, already used in mobile phones for ambient sensing. With K+3K+3 observations against a small SPD basis, recovery is a non-negative least squares problem. The recovered SPD then synthesizes a virtual color chart, and we fit a scene-specific CCM to that chart in closed form.

(a) Two illuminants, same chromaticity Δxy=0.0031\Delta_{xy}=0.0031, SPD-shape angle = 43∘43^{\circ}

Figure

(b) On the LED-like stratum (n = 45): 1.9×1.9 \times reduction over the standard pipeline

Figure 1. The metameric problem and our fix. (a) Two real EMPIR illuminants share xy chromaticity to within Δxy=0.003\Delta_{xy}=0.003 but differ in normalized SPD shape by 43∘43^{\circ}. A CCT-driven CCM cannot tell them apart, yet they need different optimal CCMs. (b) On the LED-like Duv group of our benchmark (n=45, statistically meaningful), our spectral pipeline cuts worst-25% angular error from 5.3∘5.3^{\circ} (Adobe DNG) to 2.8∘2.8^{\circ} — a 1.9×1.9\times reduction. A more extreme group ( ∣Duv∣≥0.03|Duv|\geq0.03, n=5) shows a larger directional gain that we report only for context.

Figure 1 previews the argument: a real metameric pair on the left, the worst-case error reduction on the right. The full method comparison and ablations are in Sec. 4; a real-data sanity check on the WP-only fallback (without ALS hardware) is in Sec. 4.5.

Contributions The non-parametric NNLS form lifts CCM conditioning from chromaticity to K+3K+3 dimensions. Against six baselines on 300 EMPIR illuminants ×3,100\times 3,100 CAVE reflectances, the spectral advantage is most reliable on the LED-like off-Planckian group ( n=45n=45), where worst-25% error drops by 1.7×1.7\times ( 4.79∘→2.80∘4.79^{\circ} \rightarrow 2.80^{\circ}) relative to the strongest non-spectral baseline (CST-MLP 3×6_{3\times6}, the recent xy-MLP of Tedla et al. [2]); a smaller extreme subset ( n=5n=5) shows a larger directional gain. A channel-count ablation finds a sharp knee at K=8K=8, matching commercially available multispectral sensors [3]. A metameric-pair stress test isolates SPD-recovery accuracy from downstream CCM behavior.