BokehDiff: Neural Lens Blur with One-Step Diffusion

Cheng-Xuan Zhu, Qing-Nan Fan, Qi Zhang, Jin-Wei Chen, Hua-Qi Zhang +2 more
7/1/2025
10 citations
diffusion-flow

No official code found. Best implementation: FreeButUselessSoul/bokehdiff (59 stars, last commit 2026-04-27).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

This is the official repository for "BokehDiff: Neural Lens Blur with One-Step Diffusion" (ICCV'25).

596Jun 26, 20257 months agoNOASSERTION

Similar Papers

Cite this paper

@article{zhu2025bokehdiff,
  title  = {BokehDiff: Neural Lens Blur with One-Step Diffusion},
  author = {Cheng-Xuan Zhu and Qing-Nan Fan and Qi Zhang and Jin-Wei Chen and Hua-Qi Zhang and Chao Xu and Boxin Shi},
  year   = {2025},
  eprint = {2507.18060},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2507.18060},
  journal = {IEEE International Conference on Computer Vision}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.18060.svg)](https://codeofpaper.com/paper/2507.18060)

Discussion