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

通过扩散框架实现逼真且高效的bokeh渲染

Towards Photorealistic and Efficient Bokeh Rendering via Diffusion Framework

Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(深圳先进技术研究院,中国科学院);vivo BlueImage Lab, vivo Mobile Communication Co., Ltd.(vivo BlueImage实验室,vivo移动通信有限公司);Shenzhen University of Advanced Technology(深圳大学)

Linxiao Shi, Siming Zheng, Zerong Wang, Hao Zhang, Jinwei Chen, Bo Li, Shifeng Chen, Peng-Tao Jiang

AI总结:

本文提出MagicBokeh框架,通过替代训练策略和聚焦感知的掩码注意力机制,联合优化bokeh渲染与超分辨率,提升可控性和视觉保真度,并引入降质感知深度模块以提高低质量输入的深度估计准确性。

摘要:

现有移动设备受限于紧凑光学设计,如小孔径,难以产生自然、光学真实的bokeh效果。尽管近期基于学习的方法已展现 promising 结果,但它们在高数字变焦拍摄的照片中仍面临分辨率降低和细节丢失的问题。一种简单方案是增强图像质量后再应用bokeh渲染,但这种两阶段流程降低了效率并引入了不必要的误差累积。为克服这些限制,我们提出MagicBokeh,一种统一的扩散框架,用于高质量且高效的bokeh渲染。通过替代训练策略和聚焦感知的掩码注意力机制,我们的方法联合优化bokeh渲染和超分辨率,显著提高了可控性和视觉保真度。此外,我们引入了降质感知深度模块,以从低质量输入中实现更准确的深度估计。实验结果表明,MagicBokeh能够高效地生成逼真bokeh效果,特别是在真实世界的低分辨率图像上,为未来bokeh渲染的发展铺平了道路。我们的代码和模型可在https://github.com/vivoCameraResearch/MagicBokeh上获得。

英文摘要:

Existing mobile devices are constrained by compact optical designs, such as small apertures, which make it difficult to produce natural, optically realistic bokeh effects. Although recent learning-based methods have shown promising results, they still struggle with photos captured under high digital zoom levels, which often suffer from reduced resolution and loss of fine details. A naive solution is to enhance image quality before applying bokeh rendering, yet this two-stage pipeline reduces efficiency and introduces unnecessary error accumulation. To overcome these limitations, we propose MagicBokeh, a unified diffusion-based framework designed for high-quality and efficient bokeh rendering. Through an alternative training strategy and a focus-aware masked attention mechanism, our method jointly optimizes bokeh rendering and super-resolution, substantially improving both controllability and visual fidelity. Furthermore, we introduce degradation-aware depth module to enable more accurate depth estimation from low-quality inputs. Experimental results demonstrate that MagicBokeh efficiently produces photorealistic bokeh effects, particularly on real-world low-resolution images, paving the way for future advancements in bokeh rendering. Our code and models are available at https://github.com/vivoCameraResearch/MagicBokeh.

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

↑