Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

BokehDiff: Neural Lens Blur with One-Step Diffusion

About

We introduce BokehDiff, a novel lens blur rendering method that achieves physically accurate and visually appealing outcomes, with the help of generative diffusion prior. Previous methods are bounded by the accuracy of depth estimation, generating artifacts in depth discontinuities. Our method employs a physics-inspired self-attention module that aligns with the image formation process, incorporating depth-dependent circle of confusion constraint and self-occlusion effects. We adapt the diffusion model to the one-step inference scheme without introducing additional noise, and achieve results of high quality and fidelity. To address the lack of scalable paired data, we propose to synthesize photorealistic foregrounds with transparency with diffusion models, balancing authenticity and scene diversity.

Chengxuan Zhu, Qingnan Fan, Qi Zhang, Jinwei Chen, Huaqi Zhang, Chao Xu, Boxin Shi• 2025

Related benchmarks

TaskDatasetResultRank
Bokeh synthesisEBB! Val200 (real)
PSNR24.3466
5
Bokeh synthesisSystheBokeh300 (synthetic)
PSNR26.212
5
Bokeh synthesisLF-BOKEH
LPIPS0.1708
4
Showing 3 of 3 rows

Other info

Follow for update