BokehFlow: Depth-Free Controllable Bokeh Rendering via Flow Matching
By: Yachuan Huang , Xianrui Luo , Qiwen Wang and more
Potential Business Impact:
Makes photos blurry where you want them.
Bokeh rendering simulates the shallow depth-of-field effect in photography, enhancing visual aesthetics and guiding viewer attention to regions of interest. Although recent approaches perform well, rendering controllable bokeh without additional depth inputs remains a significant challenge. Existing classical and neural controllable methods rely on accurate depth maps, while generative approaches often struggle with limited controllability and efficiency. In this paper, we propose BokehFlow, a depth-free framework for controllable bokeh rendering based on flow matching. BokehFlow directly synthesizes photorealistic bokeh effects from all-in-focus images, eliminating the need for depth inputs. It employs a cross-attention mechanism to enable semantic control over both focus regions and blur intensity via text prompts. To support training and evaluation, we collect and synthesize four datasets. Extensive experiments demonstrate that BokehFlow achieves visually compelling bokeh effects and offers precise control, outperforming existing depth-dependent and generative methods in both rendering quality and efficiency.
Similar Papers
BokehDepth: Enhancing Monocular Depth Estimation through Bokeh Generation
CV and Pattern Recognition
Makes blurry photos show depth better.
BokehDiff: Neural Lens Blur with One-Step Diffusion
CV and Pattern Recognition
Makes blurry photos look real and clear.
Bokeh Diffusion: Defocus Blur Control in Text-to-Image Diffusion Models
Graphics
Makes AI pictures look like real photos.