BokehMe: When Neural Rendering Meets Classical Rendering

Juewen Peng, Zhiguo Cao, Xianrui Luo, Hao Lu, Ke Xian +1 more
6/25/2022
cs.CV

Official code: JuewenPeng/BokehMe (238 stars, Python, Apache-2.0, last commit 2023-03-18).

Abstract

We propose BokehMe, a hybrid bokeh rendering framework that marries a neural renderer with a classical physically motivated renderer. Given a single image and a potentially imperfect disparity map, BokehMe generates high-resolution photo-realistic bokeh effects with adjustable blur size, focal plane, and aperture shape.

Show full abstract

To this end, we analyze the errors from the classical scattering-based method and derive a formulation to calculate an error map. Based on this formulation, we implement the classical renderer by a scattering-based method and propose a two-stage neural renderer to fix the erroneous areas from the classical renderer. The neural renderer employs a dynamic multi-scale scheme to efficiently handle arbitrary blur sizes, and it is trained to handle imperfect disparity input. Experiments show that our method compares favorably against previous methods on both synthetic image data and real image data with predicted disparity. A user study is further conducted to validate the advantage of our method.

View on arXivView PDF

Code Implementations(1)

JuewenPeng/BokehMeOfficial100%
Apache-2.0

BokehMe: When Neural Rendering Meets Classical Rendering (CVPR 2022 Oral)

23815PythonMar 15, 20223 years agoApache-2.0

Similar Papers

Cite this paper

@article{peng2022bokehme,
  title  = {BokehMe: When Neural Rendering Meets Classical Rendering},
  author = {Juewen Peng and Zhiguo Cao and Xianrui Luo and Hao Lu and Ke Xian and Jianming Zhang},
  year   = {2022},
  eprint = {2206.12614},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.12614}
}

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/2206.12614.svg)](https://codeofpaper.com/paper/2206.12614)

Discussion