Focus Stacking with High Fidelity and Superior Visual Effects
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.
Lineage
Builds on2
Related papers
- 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
- Multi-Focus Image Fusion via Explicit Defocus Blur ModellingYuhui Quan, Xi Wan, Zitao Tang, Jinxiu Liang et al.AAAI 2025 · 12 citations
- BokehDiff: Neural Lens Blur with One-Step DiffusionChengxuan Zhu, Qingnan Fan, Qi Zhang, Jinwei Chen et al.ICCV 2025 · 2 citations
- FocusX: All-in-Focus Image Synthesis for Dynamic Scenes on Mobile DevicesJinrui Zhang, Pengkai Li, Fengzu Li, Deyu Zhang et al.MobiCom 2025
- All-in-Focus Imaging from Event Focal StackHanyue Lou, Minggui Teng, Yixin Yang, Boxin ShiCVPR 2023
