CNN Based Learning Using Reflection and Retinex Models for Intrinsic Image Decomposition

Anil S. Baslamisli, Hoang-An Le, Theo Gevers

Abstract

Intrinsic image decomposition aims to separate a single image into its fundamental components: reflectance (albedo) and shading. This paper addresses the limitations of "black-box" deep learning approaches by embedding physical constraints from Retinex theory and dichromatic reflection models directly into CNN architectures and loss functions. By enforcing an image formation loss ($I = R \times S$) and utilizing gradient-domain learning, the proposed models achieve sharper separations and superior color accuracy compared to existing state-of-the-art methods.

Introduction

Intrinsic image decomposition is a classic "ill-posed" problem in computer vision. Because an infinite number of reflectance and shading combinations can produce the same input image, traditional methods relied on hand-crafted priors. While modern Deep Learning (CNNs) has improved performance, it often produces blurry edges and color artifacts by ignoring the underlying physics of image formation. This research bridges the gap between physics-based optics and deep learning to produce physically consistent and visually superior results.

Methods

The authors propose two distinct architectures designed to leverage physical constraints:

IntrinsicNet

IntrinsicNet is an encoder-decoder CNN featuring a shared encoder and separate decoders for reflectance and shading. Its primary innovation is the Image Formation Loss, which enforces the physical constraint that the input image must equal the product of its predicted components ($I = R \times S$). This penalty ensures mathematical consistency with optical theory.

The IntrinsicNet architecture featuring a shared encoder and separate decoders for reflectance and shading.

RetiNet

RetiNet is a more sophisticated two-stage model inspired by the Retinex algorithm. In the first stage, the network learns to decompose image gradients into reflectance and shading gradients. The second stage uses a "re-integration" network to reconstruct full-resolution intrinsic images from these gradients. This gradient-domain approach is particularly effective because image edges typically correspond to either material changes (reflectance) or lighting/geometry changes (shading).

Datasets

To overcome the lack of real-world ground truth, the authors utilized two primary benchmarks:

  • Synthetic Man-made Objects Dataset: ~20,000 images rendered using ShapeNet models and the Blender Cycles engine, providing perfect decoupling of components.
  • MIT Intrinsic Benchmark: A classic real-world dataset of 20 images used for final evaluation and cross-method comparison.

Key Insights and Ideas

  • Physics as a Constraint: Integrating the $I = R \times S$ constraint into the loss function significantly reduces color bleeding and "halo" artifacts by forcing the network toward mathematically consistent representations.
  • Gradient-Domain Learning: RetiNet demonstrates that focusing on transitions (gradients) rather than pixel-wise regression leads to much sharper edges in the resulting reflectance maps.
  • Efficient Re-integration: The authors show that simple convolutions can effectively learn to integrate gradients back into images, bypassing the need for complex traditional solvers like Poisson equations.

Key Results

On the MIT Intrinsic benchmark, the proposed models—particularly RetiNet—outperformed state-of-the-art models like DirectIntrinsics across MSE, LMSE, and DSSIM metrics. Qualitative results highlight that the image formation loss leads to superior color reproduction and sharper edges, avoiding the characteristic blurriness of previous CNN approaches.

Qualitative results on real-world images showing the input, predicted albedo, predicted shading, and the physically consistent reconstructed input.

Limitations and Future Work

The current models focus primarily on diffuse surfaces and shading. Real-world challenges such as specularities (shiny highlights) and non-canonical colored light sources remain areas for future exploration. The authors suggest expanding the model to explicitly predict light source color and handle specular reflections to achieve a more "total" scene decomposition.

Summary updated

BibTeX
@inproceedings{baslamisli2018cnn,
  author = {Anil S. Baslamisli and Hoang-An Le and Theo Gevers},
  title = {{CNN Based Learning Using Reflection and Retinex Models for Intrinsic Image Decomposition}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2018.00698},
}
Figure