Skip to main content
QUICK REVIEW

[Paper Review] Shadow Transfer: Single Image Relighting For Urban Road Scenes

Alexandra Carlson, Ram Vasudevan|arXiv (Cornell University)|Sep 23, 2019
Image Enhancement TechniquesComputer Science38 references6 citations
TL;DR

This paper proposes Shadow Transfer, a self-supervised deep learning framework that relights single outdoor urban scenes by transferring realistic shadows, shading, and color temperature using only RGB images, depth maps, and semantic segmentation masks. It outperforms state-of-the-art image-to-image translation methods in visual quality and photorealism on both synthetic (CARLA-sun) and real (KITTI-sun) datasets, achieving higher perceptual fidelity without requiring labeled illumination annotations.

ABSTRACT

Illumination effects in images, specifically cast shadows and shading, have been shown to decrease the performance of deep neural networks on a large number of vision-based detection, recognition and segmentation tasks in urban driving scenes. A key factor that contributes to this performance gap is the lack of `time-of-day' diversity within real, labeled datasets. There have been impressive advances in the realm of image to image translation in transferring previously unseen visual effects into a dataset, specifically in day to night translation. However, it is not easy to constrain what visual effects, let alone illumination effects, are transferred from one dataset to another during the training process. To address this problem, we propose deep learning framework, called Shadow Transfer, that can relight complex outdoor scenes by transferring realistic shadow, shading, and other lighting effects onto a single image. The novelty of the proposed framework is that it is both self-supervised, and is designed to operate on sensor and label information that is easily available in autonomous vehicle datasets. We show the effectiveness of this method on both synthetic and real datasets, and we provide experiments that demonstrate that the proposed method produces images of higher visual quality than state of the art image to image translation methods.

Motivation & Objective

  • To address the performance drop in deep neural networks for autonomous driving tasks caused by varying illumination conditions such as shadows and color temperature.
  • To develop a method that can relight real-world urban scenes with realistic lighting effects without requiring labeled illumination data.
  • To create a self-supervised framework that leverages easily available sensor data—RGB images, depth maps, and semantic segmentation masks—commonly found in autonomous vehicle datasets.
  • To improve the robustness of vision-based models (e.g., detection, segmentation) to time-of-day variations by augmenting training data with realistic lighting transfers.
  • To bridge the domain gap between synthetic and real-world datasets by generating photorealistic relit images that preserve geometric and material consistency.

Proposed method

  • The framework uses a deep encoder-decoder architecture trained in a self-supervised manner using a multi-task loss that includes a perceptual loss based on features from a pre-trained SunEst-CNN model.
  • Input consists of a single RGB image, a predicted depth map, and a semantic segmentation map, all derived from a single camera view.
  • The model learns to transfer lighting effects—shadows, shading, and global color temperature—by predicting a relit RGB image conditioned on the input geometry and appearance.
  • A key innovation is the use of a SunEst-CNN feature loss that encourages the model to preserve illumination-specific features, improving realism without requiring ground-truth illumination labels.
  • The method operates in an end-to-end fashion, enabling relighting for any time-of-day condition without requiring multiple views or material property priors.
  • The framework is trained on synthetic data (CARLA-sun) and fine-tuned on real data (KITTI-sun), enabling generalization to real-world scenes.

Experimental results

Research questions

  • RQ1Can a self-supervised deep learning model effectively transfer realistic shadows and shading to a single outdoor scene image using only standard autonomous vehicle sensor data?
  • RQ2How does the proposed Shadow Transfer framework compare to state-of-the-art multi-domain image-to-image translation models in terms of visual quality and artifact generation?
  • RQ3To what extent do depth and semantic segmentation inputs contribute to the realism and accuracy of the relit output images?
  • RQ4Does incorporating a domain-specific feature loss (SunEst-CNN) improve the model's ability to capture time-of-day illumination variations in real-world scenes?
  • RQ5Can the model generalize from synthetic data to real-world urban road scenes while preserving photorealism and minimizing artifacts?

Key findings

  • On the CARLA-sun synthetic dataset, Shadow Transfer achieved higher mean structural similarity (MSSIM) than both ComboGAN and StarGAN across all light source locations, indicating superior perceptual quality.
  • The proposed method produced fewer visual artifacts—such as blur and distortion—compared to ComboGAN, which introduced noticeable translation artifacts despite capturing color temperature and shadows.
  • Ablation studies showed that combining depth and segmentation maps as input significantly improved image quality over using either modality alone, with the SunEst-CNN loss providing a secondary but meaningful improvement.
  • On the real KITTI-sun dataset, the full model with SunEst-CNN loss successfully transferred illumination features, while models without this loss failed to transfer any meaningful lighting effects.
  • The depth-only model preserved more realistic pixel statistics, while the segmentation-only model better captured dynamic shadow distributions, suggesting complementary strengths of the two inputs.
  • Despite strong performance, the model struggled with high-frequency noise and local texture details, likely due to the coarse resolution of input depth and segmentation maps.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.