Abstract
We propose a weighted variational model to estimate both the reflectance and the illumination from an observed image. We show that, though it is widely adopted for ease of modeling, the log-transformed image for this task is not ideal. Based on the previous investigation of the logarithmic transformation, a new weighted variational model is proposed for better prior representation, which is imposed in the regularization terms. Different from conventional variational models, the proposed model can preserve the estimated reflectance with more details. Moreover, the proposed model can suppress noise to some extent. An alternating minimization scheme is adopted to solve the proposed model. Experimental results demonstrate the effectiveness of the proposed model with its algorithm. Compared with other variational methods, the proposed method yields comparable or better results on both subjective and objective assessments.
Introduction
Retinex theory posits that an observed image $S$ is the pixel-wise product of the object's reflectance $R$ and the environmental illumination $L$, expressed as $S = R \cdot L$. Decomposing $S$ into its constituent components is a fundamental ill-posed problem in computer vision. To simplify the computation, researchers typically employ a logarithmic transformation, converting the multiplicative relationship into an additive one: $s = r + l$, where lowercase letters denote log-domain values.
The Log-Transform Paradox
While the log-transform aligns with human visual perception (Weber’s Law), it introduces a significant mathematical artifact. The gradient of a log-transformed signal is inversely proportional to the signal's intensity: $\nabla \log(x) = \frac{1}{x} \nabla x$. Consequently, in dark regions where $x$ is small, gradients are artificially amplified, leading to noise enhancement. Conversely, in bright regions, gradients are suppressed, causing a loss of fine structural detail during regularization.
Proposed Weighted Variational Model
To address the limitations of the standard log-domain approach, we propose a weighted variational model. The core innovation lies in the regularization terms, which use exponential weights to counteract the scaling effects of the log-transform:
- Reflectance Sparsity: An $L_1$ norm is applied to the reflectance gradient, weighted by $e^r$ (effectively $R$). This cancels the $1/R$ scaling, ensuring consistent detail preservation across all intensity levels.
- Illumination Smoothness: An $L_2$ norm is applied to the illumination gradient, weighted by $e^l$ (effectively $L$), to maintain spatial smoothness without log-domain distortion.
The resulting non-convex objective function is solved using the Alternating Direction Method of Multipliers (ADMM). By splitting the problem into iterative sub-problems and utilizing Fast Fourier Transforms (FFT), the algorithm achieves high computational efficiency.
Experimental Results
The model was evaluated on a diverse dataset of 300 images, including backlit, non-uniform illumination, and night-time scenes.
Key Findings:
- Detail and Noise: Unlike traditional methods that amplify noise in shadows, our model suppresses noise while sharpening fine details.
- Quantitative Performance: The proposed method achieved the lowest (best) average Natural Image Quality Evaluator (NIQE) scores compared to Multi-Scale Retinex with Color Restoration (MSRCR) and other variational techniques.
- Applications: Beyond enhancement, the model's ability to extract illumination-invariant reflectance features was demonstrated to improve face recognition performance under varying lighting conditions.
Conclusion
By introducing intensity-aware weights into the variational framework, we effectively mitigate the drawbacks of log-domain Retinex decomposition. The proposed model provides a robust solution for simultaneous reflectance and illumination estimation, offering superior detail preservation and noise suppression for image enhancement and high-level vision tasks.
Summary updated