SSN: Soft Shadow Network for Image Compositing

Yichen Sheng, Jianming Zhang, Bedrich Benes
7/16/2020
cs.CVcs.GReess.IV

Official code: ShengCN/SSN_SoftShadowNet (26 stars, C++, last commit 2022-08-06).

Abstract

We introduce an interactive Soft Shadow Network (SSN) to generates controllable soft shadows for image compositing. SSN takes a 2D object mask as input and thus is agnostic to image types such as painting and vector art.

Show full abstract

An environment light map is used to control the shadow's characteristics, such as angle and softness. SSN employs an Ambient Occlusion Prediction module to predict an intermediate ambient occlusion map, which can be further refined by the user to provides geometric cues to modulate the shadow generation. To train our model, we design an efficient pipeline to produce diverse soft shadow training data using 3D object models. In addition, we propose an inverse shadow map representation to improve model training. We demonstrate that our model produces realistic soft shadows in real-time. Our user studies show that the generated shadows are often indistinguishable from shadows calculated by a physics-based renderer and users can easily use SSN through an interactive application to generate specific shadow effects in minutes.

View on arXivView PDF

Code Implementations(1)

263C++, Jupyter NotebookMar 15, 20214 years ago

Similar Papers

Cite this paper

@article{sheng2020ssn,
  title  = {SSN: Soft Shadow Network for Image Compositing},
  author = {Yichen Sheng and Jianming Zhang and Bedrich Benes},
  year   = {2020},
  eprint = {2007.08211},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.08211}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2007.08211.svg)](https://codeofpaper.com/paper/2007.08211)

Discussion