paper-with-me

Papers

Bokeh Diffusion: Defocus Blur Control in Text-to-Image Diffusion Models

2025-03-11 · Armando Fortes, Tianyi Wei, Shangchen Zhou, Xingang Pan

Recent advances in large-scale text-to-image models have revolutionized creative fields by generating visually captivating outputs from textual prompts; however, while traditional photography offers precise control over camera settings to shape visual aesthetics - such as depth-of-field via aperture - current diffusion models typically rely on prompt engineering to mimic such effects. This approach often results in crude approximations and inadvertently alters the scene content. In this work, we propose Bokeh Diffusion, a scene-consistent bokeh control framework that explicitly conditions a diffusion model on a physical defocus blur parameter. To overcome the scarcity of paired real-world images captured under different camera settings, we introduce a hybrid training pipeline that aligns in-the-wild images with synthetic blur augmentations, providing diverse scenes and subjects as well as supervision to learn the separation of image content from lens blur. Central to our framework is our grounded self-attention mechanism, trained on image pairs with different bokeh levels of the same scene, which enables blur strength to be adjusted in both directions while preserving the underlying scene. Extensive experiments demonstrate that our approach enables flexible, lens-like blur control, supports downstream applications such as real image editing via inversion, and generalizes effectively across both Stable Diffusion and FLUX architectures.

📄 PDF Abstract BibTeX arXiv:2503.08434

Code (0)

등록된 구현이 없습니다.

Tasks

Prompt Engineering

Methods 이 논문이 사용한 방법론

Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…

Similar Papers 제목 키워드 기반

Defocus to focus: Photo-realistic bokeh rendering by fusing defocus and radiance priors

2023-06-07 · Xianrui Luo, Juewen Peng, Ke Xian, Zijin Wu 외

We consider the problem of realistic bokeh rendering from a single all-in-focus image. Bokeh rendering mimics aesthetic shallow depth-of-field (DoF) in professional photography, but these visual effects generated by exis…

Hallucination

Generative Refocusing: Flexible Defocus Control from a Single Image

2025-12-18 · Chun-Wei Tuan Mu, Cheng-De Fan, Jia-Bin Huang, Yu-Lun Liu arxiv

Depth-of-field control is essential in photography, but achieving perfect focus often requires multiple attempts or specialized equipment. Single-image refocusing is still difficult. It involves recovering sharp content …

Boosting Monocular Metric Depth Estimation via Bokeh Rendering

2025-12-13 · Hangwei Zhang, Armando Fortes, Tianyi Wei, Xingang Pan arxiv

Bokeh rendering and depth estimation share a fundamental optical connection, yet existing methods fail to fully exploit this reciprocity. Conventional bokeh pipelines rely heavily on noisy depth maps that inevitably intr…

Depth Estimation

AnyBokeh: Physics-Guided Any-to-Any Bokeh Editing with Optical Fingerprint Transfer

2026-06-30 · Xinyu Hou, Xiaoming Li, Zongsheng Yue, Chen Change Loy hf

Depth-of-field control is a fundamental tool in photography, yet post-capture bokeh editing from a single image remains challenging. A practical editor should handle images captured under arbitrary focus and aperture set…

The RealDefocus Benchmark for Defocus Deblurring

2026-07-23 · Tim Seizinger, Zhuyun Zhou, Radu Timofte arxiv

Single-Image Defocus Deblurring (SIDD) aims to recover an all-in-focus image from a single defocused observation, but rigorous and reproducible evaluation remains challenging due to the scarcity of realistic, high-resolu…

Image Restoration