Towards Photorealistic and Efficient Bokeh Rendering via Diffusion Framework

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Shi, Linxiao, Zheng, Siming, Wang, Zerong, Zhang, Hao, Chen, Jinwei, Li, Bo, Chen, Shifeng, Jiang, Peng-Tao
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866914551120789504
author Shi, Linxiao
Zheng, Siming
Wang, Zerong
Zhang, Hao
Chen, Jinwei
Li, Bo
Chen, Shifeng
Jiang, Peng-Tao
author_facet Shi, Linxiao
Zheng, Siming
Wang, Zerong
Zhang, Hao
Chen, Jinwei
Li, Bo
Chen, Shifeng
Jiang, Peng-Tao
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2605_07429
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Towards Photorealistic and Efficient Bokeh Rendering via Diffusion Framework
Shi, Linxiao
Zheng, Siming
Wang, Zerong
Zhang, Hao
Chen, Jinwei
Li, Bo
Chen, Shifeng
Jiang, Peng-Tao
Computer Vision and Pattern Recognition
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.
title Towards Photorealistic and Efficient Bokeh Rendering via Diffusion Framework
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2605.07429