FocusX: All-in-Focus Image Synthesis for Dynamic Scenes on Mobile Devices
Jinrui Zhang, Pengkai Li, Fengzu Li, Deyu Zhang, Wei Gao, Sheng Yue, Yaoxue Zhang, Ju Ren
Abstract
We propose FocusX, the first mobile-deployable system achieving artifact-free all-in-focus synthesis in dynamic scenes. Our approach introduces three key innovations: 1) For focal stack acquisition, our depth prior-based dynamic focusing method that adaptively selects focus distances using real-time scene depth distribution analysis and depth-of-field constrained spatial clustering, reducing redundant captures while ensuring full depth coverage; 2) To reduce pixel misalignment caused by lens breathing, we adopt a one-time offline calibration to map the relationship between field-of-view and focus distance, aligning the images by cropping accordingly; 3) We design the Diff-MotionAIFNet, a conditional diffusion-based model that decouples moving-static components for artifact-free AIF reconstruction in dynamic scene while preserving scene fidelity. We further contribute DynaAIFSet, containing 5,500 dynamic scenes (120K images) for training and evaluation. Experiments show FocusX achieves state-of-the-art performance, outperforming baselines up by 59.6% in SSIM and 49.1% in PSNR, respectively. The deployment latency of FocusX is 4.8s on Honor Magic7 Pro. This work bridges computational photography theory with mobile implementation constraints, delivering practical AIF enhancement for user-generated content.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Related papers
- Focus Stacking with High Fidelity and Superior Visual EffectsBo Liu, Bin Hu, Xiuli Bi, Weisheng Li et al.AAAI 2024 · 1 citation
- Multi-Focus Image Fusion via Explicit Defocus Blur ModellingYuhui Quan, Xi Wan, Zitao Tang, Jinxiu Liang et al.AAAI 2025 · 12 citations
- Real-Time Image Demoiréing on Mobile DevicesYuxin Zhang, Mingbao Lin, Xunchao Li, Han Liu et al.ICLR 2023
- 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
- UbiEnlight: User-Perception-Aware Real-Time Low-Light Video Enhancement on Mobile Devices and SmartglassesMinfan Wang, Sicong Liu, Teng Li, Zimu Zhou et al.UbiComp 2026
