Reproduce “BokehDiff: Neural Lens Blur with One-Step Diffusion” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

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

BokehDiff presents a framework leveraging a fine-tuned one-step diffusion model with a physics-informed self-attention mechanism to generate photorealistic lens blur. The method efficiently produces high-quality bokeh that is robust to inaccuracies in depth maps, addressing a significant challenge in computational photography.

Key insights

  • Diffusion models can be effectively adapted for precise, structure-preserving image editing by conceptualizing the transformation as a single-step denoising process, leveraging their generative priors without altering original content.
  • Integrating explicit physical principles directly into neural network self-attention mechanisms significantly enhances the robustness and realism of image formation tasks, particularly for complex optical effects like lens blur.
  • A scalable data generation strategy, combining synthetic photorealistic elements with real-world contexts and physically accurate rendering, can overcome data scarcity and provide high-quality training data for computational photography models.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.