arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2006.05698cs.CVcs.LGeess.IV
收藏

使用深度学习渲染自然相机散景效果

Rendering Natural Camera Bokeh Effect with Deep Learning

ETH Zurich(苏黎世联邦理工学院)

Andrey Ignatov, Jagruti Patel, Radu Timofte

摘要:

散景是一种重要的艺术效果,用于通过模糊所有失焦区域来突出照片上感兴趣的主要对象。虽然DSLR和系统相机镜头可以自然地呈现这种效果,但由于其光学系统的孔径非常小,移动相机无法产生浅景深的照片。与目前通过将高斯模糊应用于图像背景来模拟散景的解决方案不同,在本文中,我们提出直接从DSLR相机产生的照片中学习逼真的浅焦技术。为此,我们提出了一个大规模的散景数据集,由5 K浅/宽景深图像对使用佳能7 D DSLR与50 mm f/1.8镜头捕获。我们使用这些图像来训练一个深度学习模型,以基于单个窄孔径图像再现自然散景效果。实验结果表明,该方法是能够提供一个合理的非均匀散景,即使在复杂的输入数据与多个对象的情况下。本文中使用的数据集,预训练模型和代码可在项目网站上获得。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑