DoF-Gaussian: Controllable Depth-of-Field for 3D Gaussian Splatting
Liao Shen, Tianqi Liu, Huiqiang Sun, Jiaqi Li, Zhiguo Cao, Wei Li, Chen Change Loy
TL;DR
DoF-Gaussian tackles the limitation of 3D Gaussian Splatting when input imagery exhibits shallow depth-of-field by introducing a lens-based imaging model with learnable aperture $A$ and focus $F$. It adds per-scene depth priors and a defocus-to-focus adaptation to match real circle-of-confusion and improve depth accuracy, supported by a synthetic dataset to evaluate refocusing and lens parameter learning. Empirical results show improved defocus deblurring and higher-quality novel-view synthesis compared with baselines, along with interactive DoF control and CoC customization. The work advances controllable DoF in 3D scene representations and suggests a path toward broader applicability under real-world imaging conditions.
Abstract
Recent advances in 3D Gaussian Splatting (3D-GS) have shown remarkable success in representing 3D scenes and generating high-quality, novel views in real-time. However, 3D-GS and its variants assume that input images are captured based on pinhole imaging and are fully in focus. This assumption limits their applicability, as real-world images often feature shallow depth-of-field (DoF). In this paper, we introduce DoF-Gaussian, a controllable depth-of-field method for 3D-GS. We develop a lens-based imaging model based on geometric optics principles to control DoF effects. To ensure accurate scene geometry, we incorporate depth priors adjusted per scene, and we apply defocus-to-focus adaptation to minimize the gap in the circle of confusion. We also introduce a synthetic dataset to assess refocusing capabilities and the model's ability to learn precise lens parameters. Our framework is customizable and supports various interactive applications. Extensive experiments confirm the effectiveness of our method. Our project is available at https://dof-gaussian.github.io.
