BokehFlow: Depth-Free Controllable Bokeh Rendering via Flow Matching

Authors

  • Yachuan Huang School of AIA, Huazhong University of Science and Technology
  • Xianrui Luo School of AIA, Huazhong University of Science and Technology
  • Qiwen Wang School of AIA, Huazhong University of Science and Technology
  • Liao Shen School of AIA, Huazhong University of Science and Technology
  • Jiaqi Li School of AIA, Huazhong University of Science and Technology
  • Huiqiang Sun School of AIA, Huazhong University of Science and Technology
  • Zihao Huang School of AIA, Huazhong University of Science and Technology
  • Wei Jiang School of AIA, Huazhong University of Science and Technology
  • Zhiguo Cao School of AIA, Huazhong University of Science and Technology

DOI:

https://doi.org/10.1609/aaai.v40i7.37431

Abstract

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.

Downloads

Published

2026-03-14

How to Cite

Huang, Y., Luo, X., Wang, Q., Shen, L., Li, J., Sun, H., … Cao, Z. (2026). BokehFlow: Depth-Free Controllable Bokeh Rendering via Flow Matching. Proceedings of the AAAI Conference on Artificial Intelligence, 40(7), 5167–5175. https://doi.org/10.1609/aaai.v40i7.37431

Issue

Section

AAAI Technical Track on Computer Vision IV