Lune

AAAI2024Top-tier venue

Focus Stacking with High Fidelity and Superior Visual Effects

Bo Liu, Bin Hu, Xiuli Bi, Weisheng Li, Bin Xiao

Abstract

Focus stacking is a technique in computational photography, and it synthesizes a single all-in-focus image from different focal plane images. It is difficult for previous works to produce a high-quality all-in-focus image that meets two goals: high-fidelity to its source images and good visual effects without defects or abnormalities. This paper proposes a novel method based on optical imaging process analysis and modeling. Based on a foreground segmentation - diffusion elimination architecture, the foreground segmentation makes most of the areas in full-focus images heritage information from the source images to achieve high fidelity; diffusion elimination models the physical imaging process and is specially used to solve the transition region (TR) problem that is a long-term neglected issue and degrades visual effects of synthesized images. Based on extensive experiments on simulated dataset, existing realistic dataset and our proposed BetaFusion dataset, the results show that our proposed method can generate high-quality all-in-focus images by achieving two goals simultaneously, especially can successfully solve the TR problem and eliminate the visual effect degradation of synthesized images caused by the TR problem.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on2

  1. Deep Constrained Least Squares for Blind Image Super-ResolutionZiwei Luo, Haibin Huang, Lei Yu, Youwei Li et al.CVPR 2022 · 136 citations
  2. DTMNet: A Discrete Tchebichef Moments-based Deep Neural Network for Multi-focus Image FusionBin Xiao, Haifeng Wu, Xiuli BiICCV 2021 · 12 citations

Related papers

  1. Bridging Unsupervised and Supervised Depth from Focus via All-in-Focus SupervisionNing-Hsu Wang, Ren Wang, Yu-Lun Liu, Yu-Hao Huang et al.ICCV 2021 · 44 citations
  2. Multi-Focus Image Fusion via Explicit Defocus Blur ModellingYuhui Quan, Xi Wan, Zitao Tang, Jinxiu Liang et al.AAAI 2025 · 12 citations
  3. BokehDiff: Neural Lens Blur with One-Step DiffusionChengxuan Zhu, Qingnan Fan, Qi Zhang, Jinwei Chen et al.ICCV 2025 · 2 citations
  4. FocusX: All-in-Focus Image Synthesis for Dynamic Scenes on Mobile DevicesJinrui Zhang, Pengkai Li, Fengzu Li, Deyu Zhang et al.MobiCom 2025
  5. All-in-Focus Imaging from Event Focal StackHanyue Lou, Minggui Teng, Yixin Yang, Boxin ShiCVPR 2023
Dusk over the sea between two cliffs drawn in fine vertical lines