HackerPapers

arXiv:2006.05698cs.CV

Rendering Natural Camera Bokeh Effect with Deep Learning

Andrey Ignatov, Jagruti Patel, Radu Timofte

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

Bokeh is an important artistic effect used to highlight the main object of interest on the photo by blurring all out-of-focus areas. While DSLR and system camera lenses can render this effect naturally, mobile cameras are unable to produce shallow depth-of-field photos due to a very small aperture diameter of their optics. Unlike the current solutions simulating bokeh by applying Gaussian blur to image background, in this paper we propose to learn a realistic shallow focus technique directly from the photos produced by DSLR cameras. For this, we present a large-scale bokeh dataset consisting of 5K shallow / wide depth-of-field image pairs captured using the Canon 7D DSLR with 50mm f/1.8 lenses. We use these images to train a deep learning model to reproduce a natural bokeh effect based on a single narrow-aperture image. The experimental results show that the proposed approach is able to render a plausible non-uniform bokeh even in case of complex input data with multiple objects. The dataset, pre-trained models and codes used in this paper are available on the project website.

arXiv comments
Journal reference
DOI
Subjects
cs.CVComputer Vision and Pattern Recognition cs.LGMachine Learning eess.IVImage and Video Processing

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Jan 2021 to Jan 2021.

Comments linking this paper, per year.

Discussed in comments1 thread

    • Depth of field effects caused by long focal length lenses (preferred in portraiture for this reason), called "bokeh". In this case the light is coming into front lens elements, and it doesn't appear to be corrected for distortion, and then not uniformly focused onto the surface…

      skylanhView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.