journal article·2020-11-28Open access

Iterative Refinement of Uniformly Focused Image Set for Accurate Depth from Focus

Sherzod Salokhiddinov, Seungkyu Lee

Applied Sciences· Volume 10· Issue 23

Abstract

Estimating the 3D shape of a scene from differently focused set of images has been a practical approach for 3D reconstruction with color cameras. However, reconstructed depth with existing depth from focus (DFF) methods still suffer from poor quality with textureless and object boundary regions. In this paper, we propose an improved depth estimation based on depth from focus iteratively refining 3D shape from uniformly focused image set (UFIS). We investigated the appearance changes in spatial and frequency domains in iterative manner. In order to achieve sub-frame accuracy in depth estimation, optimal location of focused frame in DFF is estimated by fitting a polynomial curve on the dissimilarity measurements. In order to avoid wrong depth values on texture-less regions we propose to build a confidence map and use it to identify erroneous depth estimations. We evaluated our method on public and our own datasets obtained from different types of devices, such as smartphones, medical, and normal color cameras. Quantitative and qualitative evaluations on various test image sets show promising performance of the proposed method in depth estimation.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Image Processing Techniques and Applications · Advanced Vision and Imaging · Optical measurement and interference techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Computer Science & Engineering, Kyung Hee University, Yongin-si 446-701, Korea

References (52)

Show source-provided references
1. Variational depth from focus reconstruction10.1109/TIP.2015.2479469 ↗
2. Image and depth from a conventional camera with a coded aperture10.1145/1276377.1276464 ↗
3. Coded aperture pairs for depth from defocus and defocus deblurring10.1007/s11263-010-0409-8 ↗
4. Darrell, T., and Wohn, K. (1988, January 5–9). Pyramid based depth from focus. Proceedings of the CVPR’88, Computer Society Conference on Computer Vision and Pattern Recognition, Ann Arbor, MI, USA.
5. An, Y., Kang, G., Kim, I.J., Chung, H.S., and Park, J. (2008, January 6–8). Shape from focus through Laplacian using 3D window. Proceedings of the FGCN’08, Second International Conference on Future Generation Communication and Networking, Jeju-Island, Korea.10.1109/FGCN.2008.139 ↗
6. Gaganov, V., and Ignatenko, A. (2009, January 5–9). Robust shape from focus via Markov random fields. Proceedings of the Graphicon Conference, Moscow, Russia.
7. Mendapara, P., Minhas, R., and Wu, Q.J. (2009, January 11–14). Depth map estimation using exponentially decaying focus measure based on SUSAN operator. Proceedings of the SMC 2009 IEEE International Conference on Systems, Man and Cybernetics, San Antonio, TX, USA.10.1109/ICSMC.2009.5346880 ↗
8. Focus measure based on the energy of high-frequency components in the S transform10.1364/OL.35.001272 ↗
9. Nonlinear approach for enhancement of image focus volume in shape from focus10.1109/TIP.2012.2186144 ↗
10. Muhammad, A., and Choi, T.S. (1999, January 18–23). Learning shape from focus using multilayer neural networks. Proceedings of the SPIE’s International Symposium on Optical Science, Engineering, and Instrumentation, Denver, CO, USA.10.1117/12.364112 ↗
11. Shape from focus using multilayer feedforward neural networks10.1109/83.967395 ↗
12. A heuristic approach for finding best focused shape10.1109/TCSVT.2005.844450 ↗
13. Ahmad, M.B., and Choi, T.S. (2006, January 14–19). Shape from focus using optimization technique. Proceedings of the ICASSP 2006 Proceedings, 2006 IEEE International Conference on Acoustics, Speech and Signal Processing, Toulouse, France.
14. A novel iterative shape from focus algorithm based on combinatorial optimization10.1016/j.patcog.2010.05.029 ↗
15. A novel algorithm for estimation of depth map using image focus for 3D shape recovery in the presence of noise10.1016/j.patcog.2007.12.014 ↗
16. Sun, H., Zhao, Z., Jin, X., Niu, L., and Zhang, L. (2013, January 17–20). Depth from defocus and blur for single image. Proceedings of the Visual Communications and Image Processing (VCIP), Kuching, Malaysia.10.1109/VCIP.2013.6706352 ↗
17. Liu, W., and Key, X.W. (2015, January 3–6). Semi-global depth from focus. Proceedings of the 2015 3rd IAPR Asian Conference on Pattern Recognition (ACPR), Kuala Lumpur, Malaysia.10.1109/ACPR.2015.7486578 ↗
18. Suwajanakorn, S., Hernandez, C., and Seitz, S.M. (2015, January 7–15). Depth from focus with your mobile phone. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Boston, MA, USA.10.1109/CVPR.2015.7298972 ↗
19. Surh, J., Jeon, H.G., Park, Y., Im, S., Ha, H., and So Kweon, I. (2017, January 21–26). Noise robust depth from focus using a ring difference filter. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA.10.1109/CVPR.2017.262 ↗
20. Ring Difference Filter for Fast and Noise Robust Depth From Focus10.1109/TIP.2019.2937064 ↗
21. Shape-from-focus reconstruction using nonlocal matting Laplacian prior followed by MRF-based refinement10.1016/j.patcog.2020.107302 ↗
22. Hazirbas, C., Soyer, S.G., Staab, M.C., Leal-Taixé, L., and Cremers, D. (2018). Deep depth from focus. Asian Conference on Computer Vision, Springer.
23. Simonyan, K., and Zisserman, A. (2014). Very deep convolutional networks for large-scale image recognition. arXiv.
24. Guided image filtering10.1109/TPAMI.2012.213 ↗
25. Mitra, N.J., and Nguyen, A. (2003, January 8–10). Estimating surface normals in noisy point cloud data. Proceedings of the Nineteenth Annual Symposium on Computational Geometry, San Diego, CA, USA.10.1145/777792.777840 ↗
26. Algebraic point set surfaces10.1145/1276377.1276406 ↗
27. Marching cubes: A high resolution 3D surface construction algorithm10.1145/37402.37422 ↗
28. Li, N., Ye, J., Ji, Y., Ling, H., and Yu, J. (2014, January 23–28). Saliency detection on light field. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA.10.1109/CVPR.2014.359 ↗
29. Robust autofocusing in microscopy
30. Pech-Pacheco, J.L., Cristóbal, G., Chamorro-Martinez, J., and Fernández-Valdivia, J. (2000, January 3–7). Diatom autofocusing in brightfield microscopy: A comparative study. Proceedings of the 15th International Conference on Pattern Recognition, ICPR-2000, Barcelona, Spain.10.1109/ICPR.2000.903548 ↗
31. Practical calibrations for a real-time digital omnidirectional camera
32. Yang, G., and Nelson, B.J. (2003, January 27–31). Wavelet-based autofocusing and unsupervised segmentation of microscopic images. Proceedings of the 2003 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS 2003) (Cat. No. 03CH37453), Las Vegas, NV, USA.
33. Shen, C.H., and Chen, H.H. (2006, January 7–11). Robust focus measure for low-contrast images. Proceedings of the 2006 Digest of Technical Papers International Conference on Consumer Electronics, Las Vegas, NV, USA.
34. Xie, H., Rong, W., and Sun, L. (2006, January 9–15). Wavelet-based focus measure and 3-d surface reconstruction method for microscopy images. Proceedings of the 2006 IEEE/RSJ International Conference on Intelligent Robots and Systems, Beijing, China.10.1109/IROS.2006.282641 ↗
35. Reduced energy-ratio measure for robust autofocusing in digital camera10.1109/LSP.2008.2008938 ↗
36. Improvements in shape-from-focus for holographic reconstructions with regard to focus operators, neighborhood-size, and height value interpolation10.1109/TIP.2008.2007049 ↗
37. Minhas, R., Mohammed, A.A., Wu, Q.J., and Sid-Ahmed, M.A. (2009, January 27–29). 3D shape from focus and depth map computation using steerable filters. Proceedings of the International Conference Image Analysis and Recognition, Waterloo, ON, Canada.10.1007/978-3-642-02611-9_57 ↗
38. Sakurikar, P., and Narayanan, P. (2017, January 22–29). Composite focus measure for high quality depth maps. Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy.10.1109/ICCV.2017.179 ↗
39. Application of preconditioned alternating direction method of multipliers in depth from focal stack10.1117/1.JEI.27.2.023019 ↗
40. Chapra, S.C. (2012). Applied Numerical Methods with MATLAB® for Engineers and Scientists, McGraw-Hill. Chapter Curve Fitting.
41. Eigen, D., Puhrsch, C., and Fergus, R. (2014). Depth map prediction from a single image using a multi-scale deep network. Advances in Neural Information Processing Systems, Mit Press.
42. Learning depth from single monocular images using deep convolutional neural fields10.1109/TPAMI.2015.2505283 ↗
43. Eigen, D., and Fergus, R. (2015, January 7–13). Predicting depth, surface normals and semantic labels with a common multi-scale convolutional architecture. Proceedings of the IEEE International Conference on Computer Vision, Santiago, Chile.10.1109/ICCV.2015.304 ↗
44. Li, B., Shen, C., Dai, Y., Van Den Hengel, A., and He, M. (2015, January 7–12). Depth and surface normal estimation from monocular images using regression on deep features and hierarchical crfs. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Boston, MA, USA.
45. Garg, R., BG, V.K., Carneiro, G., and Reid, I. (2016, January 11–14). Unsupervised cnn for single view depth estimation: Geometry to the rescue. Proceedings of the European Conference on Computer Vision, Amsterdam, The Netherlands.10.1007/978-3-319-46484-8_45 ↗
46. Honauer, K., Johannsen, O., Kondermann, D., and Goldluecke, B. (2016, January 18–22). A dataset and evaluation methodology for depth estimation on 4d light fields. Proceedings of the Asian Conference on Computer Vision, Tokyo, Japan.10.1007/978-3-319-54187-7_2 ↗
47. Laina, I., Rupprecht, C., Belagiannis, V., Tombari, F., and Navab, N. (2016, January 25–28). Deeper depth prediction with fully convolutional residual networks. Proceedings of the 2016 Fourth International Conference on 3D Vision (3DV), Stanford, CA, USA.10.1109/3DV.2016.32 ↗
48. Xu, D., Ricci, E., Ouyang, W., Wang, X., and Sebe, N. (2017, January 21–26). Multi-scale continuous crfs as sequential deep networks for monocular depth estimation. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA.10.1109/CVPR.2017.25 ↗
49. Mousnier, A., Vural, E., and Guillemot, C. (2015). Partial light field tomographic reconstruction from a fixed-camera focal stack. arXiv.
50. The approximation power of moving least-squares10.1090/S0025-5718-98-00974-0 ↗
51. Salokhiddinov, S., and Lee, S. (2018). Depth from focus for 3D reconstruction by iteratively building uniformly focused image set. ACM SIGGRAPH 2018 Posters, ACM.10.1145/3230744.3230799 ↗
52. Park, J., Tai, Y.W., Cho, D., and So Kweon, I. (2017, January 21–26). A unified approach of multi-scale deep and hand-crafted features for defocus estimation. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA.10.1109/CVPR.2017.295 ↗