Proceedings

Frequency-Aware Deep Depth from Focus

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 2161-2169.

https://doi.org/10.24963/ijcai.2025/241

Abstract

In large aperture imaging, the shallow depth of field (DoF) phenomenon requires capturing multiple images at different focal levels, allowing us to infer depth information using depth from focus (DFF) techniques. However, most previous works design convolutional neural networks from a time domain perspective, often leading to blurred fine details in depth estimation. In this work, we propose a frequency-aware deep DFF network (FAD) that couples multi-scale spatial domain local features with frequency domain global structural features. Our main innovations include two key points: First, we introduce a frequency domain feature extraction module that uses the Fourier transform to transfer latent focus features into the frequency domain. This module adaptively captures essential frequency information for focus changes through element-wise multiplication, enhancing fine details in depth results while preserving global structural integrity. Second, the time-frequency joint module of FAD improves the consistency of depth information in sparse texture regions and the continuity in transition areas from both local and global complementary perspectives. Comprehensive experiments demonstrate that our model achieves compelling generalization and state-of-the-art depth prediction across various datasets. Additionally, it can be quickly adapted to real-world applications as a pre-trained model.

  1. [Ali and Mahmood, 2021] Usman Ali and Muhammad Tariq Mahmood. Robust focus volume regularization in shape from focus. IEEE Transactions on Image Processing, 30:7215-7227, 2021.
  2. [Carvalho et al., 2018] Marcela Carvalho, Bertrand Le Saux, Pauline Trouvé-Peloux, Andrés Almansa, and Frédéric Champagnat. Deep depth from defocus: How can defo- cus blur improve 3d estimation using dense neural net- works? In European Conference on Computer Vi- sion(ECCV), pages 307-323, 2018.
  3. [Ding et al., 2017] Caiwen Ding, Siyu Liao, Yanzhi Wang, Zhe Li, Ning Liu, Youwei Zhuo, Chao Wang, Xuehai Qian, Yu Bai, Geng Yuan, et al. Circnn: accelerating and compressing deep neural networks using block-circulant weight matrices. In IEEE/ACM International Symposium on Microarchitecture(MICRO), pages 395-408, 2017.
  4. [Fujimura et al., 2024] Yuki Fujimura, Masaaki Iiyama, Takuya Funatomi, and Yasuhiro. Mukaigawa. Deep depth from focal stack with defocus model for camera-setting invariance. International Journal of Computer Vision, 132(6):1970-1985, 2024.
  5. [Hazirbas et al., 2019] Caner Hazirbas, Sebastian Georg Soyer, Maximilian Christian Staab, Laura Leal-Taixé, and Daniel Cremers. Deep depth from focus. In Asian Confer- ence on Computer Vision(ACCV), pages 525-541, 2019.
  6. [Heber and Pock, 2016] Stefan Heber and Thomas Pock. Convolutional networks for shape from light field. In Pro- ceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR), pages 3746-3754, 2016.
  7. [Honauer et al., 2017] Katrin Honauer, Ole Johannsen, Daniel Kondermann, and Bastian Goldluecke. A dataset and evaluation methodology for depth estimation on 4d light fields. In Asian Conference on Computer Vision(ACCV), pages 19-34, 2017.
  8. [Huang et al., 2023] Zhipeng Huang, Zhizheng Zhang, Cuil- ing Lan, Zheng-Jun Zha, Yan Lu, and Baining Guo. Adap- tive frequency filters as efficient global token mixers. In IEEE/CVF International Conference on Computer Vi- sion(ICCV), pages 6049-6059, 2023.
  9. [Jeon et al., 2020] Hae-Gon Jeon, Jaeheung Surh, Sunghoon Im, and In So Kweon. Ring difference filter for fast and noise robust depth from focus. IEEE Transactions on Im- age Processing, 29:1045-1060, 2020.
  10. [Lee et al., 2018] Jae-Han Lee, Minhyeok Heo, Kyung-Rae Kim, and Chang-Su Kim. Single-image depth estimation based on fourier domain analysis. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR), pages 330-339, 2018.
  11. [Li et al., 2020] Shaohua Li, Kaiping Xue, Bin Zhu, Chenkai Ding, Xindi Gao, David Wei, and Tao Wan. Falcon: A fourier transform based approach for fast and secure con- volutional neural network predictions. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pat- tern Recognition(CVPR), pages 8705-8714, 2020.
  12. [Mandl et al., 2024] David Mandl, Shohei Mori, Peter Mohr, Yifan Peng, Tobias Langlotz, Dieter Schmalstieg, and De- nis Kalkofen. Neural bokeh: Learning lens blur for com- putational videography and out-of-focus mixed reality. In IEEE Conference on Virtual Reality and 3D User Inter- faces (VR), 2024.
  13. [Maximov et al., 2020] Maxim Maximov, Kevin Galim, and Laura Leal-Taixé. Focus on defocus: Bridging the syn- thetic to real domain gap for depth estimation. In Proceed- ings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR), pages 1068-1077, 2020.
  14. [Mayer et al., 2016] Nikolaus Mayer, Eddy Ilg, Philip Häusser, Philipp Fischer, Daniel Cremers, Alexey Doso- vitskiy, and Thomas Brox. A large dataset to train con- volutional networks for disparity, optical flow, and scene flow estimation. In Proceedings of the IEEE/CVF Confer- ence on Computer Vision and Pattern Recognition(CVPR), pages 4040-4048, 2016.
  15. [Nayar and Nakagawa, 1994] Shree K Nayar and Yasuo Nakagawa. Shape from focus. IEEE Transactions on Pat- tern Analysis and Machine Intelligence, 16(8):824-831, 1994.
  16. [Rao et al., 2021] Yongming Rao, Wenliang Zhao, Zheng Zhu, Jiwen Lu, and Jie Zhou. Global filter networks for image classification. Advances in Neural Information Pro- cessing Systems, 34:980-993, 2021.
  17. [Scharstein et al., 2014] Daniel Scharstein, Heiko Hirschmüller, York Kitajima, Greg Krathwohl, and Porter Westling. High-resolution stereo datasets with subpixel-accurate ground truth. In German Conference on Pattern Recognition (GCPR), pages 31-42, 2014.
  18. [Shi et al., 2019] Jinglei Shi, Xiaoran Jiang, and Christine Guillemot. A framework for learning depth from a flexible subset of dense and sparse light field views. IEEE Trans- actions on Image Processing, 28(12):5867-5880, 2019.
  19. [Suwajanakorn et al., 2015] Supasorn Suwajanakorn, Carlos Hernandez, and Steven M. Seitz. Depth from focus with your mobile phone. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recogni- tion(CVPR), pages 3497-3506, 2015.
  20. [Wang et al., 2021] Ning-Hsu Wang, Ren Wang, Yu-Lun Liu, Yu-Hao Huang, Yu-Lin Chang, Chia-Ping Chen, and Kevin Jou. Bridging unsupervised and supervised depth from focus via all-in-focus supervision. In IEEE/CVF In- ternational Conference on Computer Vision(ICCV), pages 12621-12631, 2021.
  21. [Wei et al., 2023] Yi Wei, Shaohui Liu, Jie Zhou, and Ji- wen Lu. Depth-guided optimization of neural radiance fields for indoor multi-view stereo. IEEE Transactions on Pattern Analysis and Machine Intelligence, 45(9):10835- 10849, 2023.
  22. [Won and Jeon, 2022] Changyeon Won and Hae-Gon Jeon. Learning depth from focus in the wild. In European Con- ference on Computer Vision(ECCV), pages 1-18, 2022.
  23. [Xu et al., 2019] Zhi-Qin John Xu, Yaoyu Zhang, and Yanyang Xiao. Training behavior of deep neural net- work in frequency domain. In International Conference on Neural Information Processing(ICONIP), pages 264- 274, 2019.
  24. [Yan et al., 2020a] Tao Yan, Zhiguo Hu, Yuhua Qian, Zhiwei Qiao, and Linyuan Zhang. 3d shape reconstruction from multifocus image fusion using a multidirectional modified laplacian operator. Pattern Recognition, 98:107065, 2020.
  25. [Yan et al., 2020b] Tao Yan, Peng Wu, Yuhua Qian, Zhiguo Hu, and Fengxian Liu. Multiscale fusion and aggrega- tion pcnn for 3d shape recovery. Information Sciences, 536:277-297, 2020.
  26. [Yan. et al., 2023] Tao Yan., Yuhua Qian., and Feijiang Li. Intelligent microscopic 3d shape reconstruction method based on 3d time-frequency transformation. SCIENTIA SINICA Informationis, 53(2):282-308, 2023.
  27. [Yang and Soatto, 2020] Yanchao Yang and Stefano Soatto. Fda: Fourier domain adaptation for semantic segmenta- tion. In IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR), pages 4085-4095, 2020.
  28. [Yang et al., 2022] Fengting Yang, Xiaolei Huang, and Zi- han Zhou. Deep depth from focus with differential focus volume. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR), pages 12642-12651, 2022.
  29. [Yang et al., 2024] Lihe Yang, Bingyi Kang, Zilong Huang, Zhen Zhao, Xiaogang Xu, Jiashi Feng, and Hengshuang Zhao. Depth anything v2, 2024.
  30. [Zaken et al., 2022] Elad Ben Zaken, Yoav Goldberg, and Shauli Ravfogel. Bitfit: Simple parameter-efficient fine- tuning for transformer-based masked language-models. In Annual Meeting of the Association for Computational Lin- guistics (ACL), pages 1-9, 2022.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards