计算机视觉
人工智能
计算机科学
管道(软件)
摄影
图像(数学)
扩散
镜头(地质)
运动模糊
照相机镜头
计算摄影
图像复原
主动外观模型
图像处理
计算机图形学(图像)
控制(管理)
深度学习
高斯模糊
图像编辑
作者
Armando Fortes,Tianyi Wei,Shangchen Zhou,Xingang Pan
出处
期刊:
日期:2025-12-08
卷期号:: 1-11
被引量:1
标识
DOI:10.1145/3757377.3763906
摘要
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.
科研通智能强力驱动
Strongly Powered by AbleSci AI