Towards Single-Lens Controllable Depth-of-Field Imaging via Depth-Aware Point Spread Functions

Xiaolong Qian, Qi Jiang, Yao Gao, Shaohua Gao, Zhonghua Yi +6 more
9/15/2024
cs.CVcs.ROeess.IV

Official code: XiaolongQian/DCDI (13 stars, Apache-2.0, last commit 2026-03-16).

Abstract

Controllable Depth-of-Field (DoF) imaging commonly produces amazing visual effects based on heavy and expensive high-end lenses. However, confronted with the increasing demand for mobile scenarios, it is desirable to achieve a lightweight solution with Minimalist Optical Systems (MOS). This work centers around two major limitations of MOS, i.e., the severe optical aberrations and uncontrollable DoF, for achieving single-lens controllable DoF imaging via computational methods. A Depth-aware Controllable DoF Imaging (DCDI) framework is proposed equipped with All-in-Focus (AiF) aberration correction and monocular depth estimation, where the recovered image and corresponding depth map are utilized to produce imaging results under diverse DoFs of any high-end lens via patch-wise convolution. To address the depth-varying optical degradation, we introduce a Depth-aware Degradation-adaptive Training (DA2T) scheme. At the dataset level, a Depth-aware Aberration MOS (DAMOS) dataset is established based on the simulation of Point Spread Functions (PSFs) under different object distances. Additionally, we design two plug-and-play depth-aware mechanisms to embed depth information into the aberration image recovery for better tackling depth-aware degradation. Furthermore, we propose a storage-efficient Omni-Lens-Field model to represent the 4D PSF library of various lenses. With the predicted depth map, recovered image, and depth-aware PSF map inferred by Omni-Lens-Field, single-lens controllable DoF imaging is achieved. Comprehensive experimental results demonstrate that the proposed framework enhances the recovery performance, and attains impressive single-lens controllable DoF imaging results, providing a seminal baseline for this field. The source code and the established dataset will be publicly available at https://github.com/XiaolongQian/DCDI.

View on arXivView PDF

Code Implementations(1)

XiaolongQian/DCDIOfficial100%
Apache-2.0

[TCI 2025] Towards Single-Lens Controllable Depth-of-Field Imaging via Depth-Aware Point Spread Functions

130C++, CudaAug 28, 20247 months agoApache-2.0

Similar Papers

Cite this paper

@article{qian2024towards,
  title  = {Towards Single-Lens Controllable Depth-of-Field Imaging via Depth-Aware Point Spread Functions},
  author = {Xiaolong Qian and Qi Jiang and Yao Gao and Shaohua Gao and Zhonghua Yi and Lei Sun and Kai Wei and Haifeng Li and Kailun Yang and Kaiwei Wang and Jian Bai},
  year   = {2024},
  eprint = {2409.09754},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.09754v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.09754.svg)](https://codeofpaper.com/paper/2409.09754)

Discussion