arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2306.04032cs.CVcs.LGeess.IV
收藏

BokehOrNot:利用图像 Transformer 和镜头元数据嵌入实现散景效果转换

BokehOrNot: Transforming Bokeh Effect with Image Transformer and Lens Metadata Embedding

Uppsala University(乌普萨拉大学)

Zhihao Yang, Wenyi Lian, Siyuan Lai

AI总结:

针对现有方法主要局限于清晰转模糊散景的问题,提出 BokehOrNot,通过嵌入镜头元数据并利用 BETD 的 alpha 遮罩设计损失,实现多镜头与光圈组合下的双向散景转换,性能优于现有模型。

摘要:

散景效果是一种能带来愉悦视觉体验的光学现象,通常由配备大光圈镜头的高端相机产生。散景效果转换任务旨在基于另一组镜头与光圈组合,在某一组镜头和光圈下生成所需效果。当前模型在渲染特定散景效果集合方面能力有限,主要只能实现从清晰到模糊的转换。本文提出一种将镜头元数据嵌入模型的新颖通用方法,并利用最新发布的 Bokeh Effect Transformation Dataset(BETD)[3] 中的 alpha 遮罩引入一种损失计算方法。基于上述技术,我们提出 BokehOrNot 模型,该模型能够在不同镜头和光圈尺寸组合下生成模糊到清晰以及清晰到模糊的散景效果。我们提出的模型优于当前领先的散景渲染和图像恢复模型,并能渲染视觉上自然的散景效果。代码可在 https://github.com/indicator0/bokehornot 获取。

英文摘要:

Bokeh effect is an optical phenomenon that offers a pleasant visual experience, typically generated by high-end cameras with wide aperture lenses. The task of bokeh effect transformation aims to produce a desired effect in one set of lenses and apertures based on another combination. Current models are limited in their ability to render a specific set of bokeh effects, primarily transformations from sharp to blur. In this paper, we propose a novel universal method for embedding lens metadata into the model and introducing a loss calculation method using alpha masks from the newly released Bokeh Effect Transformation Dataset(BETD) [3]. Based on the above techniques, we propose the BokehOrNot model, which is capable of producing both blur-to-sharp and sharp-to-blur bokeh effect with various combinations of lenses and aperture sizes. Our proposed model outperforms current leading bokeh rendering and image restoration models and renders visually natural bokeh effects. Our code is available at: https://github.com/indicator0/bokehornot.

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

↑