Skip to main content
Log in

Multi-focus image fusion through pixel-wise voting and morphology

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

Multi-focus image fusion (MFIf) aims to fuse two or more images into one image, so that the fused image contains more information. This paper proposes a new multi-focus image fusion based on pixel-wise voting and morphology. Firstly, we perform sliding window on the multi-focus image and calculate the gray-scale variance of each sliding window. Then, the voting matrix of each pixel is obtained by comparing the sliding window gray-scale variance. Next, a multi-focus decision map (IFM) is obtained through voting. At the same time, morphological operations can further denoise the IFM and achieve a better image fusion effect. Finally, we also use the weighting method for boundary optimization to get the better fused image. We conducted experiments on ”books”, ”flower”, ”newspaper”, ”lytro” and ”aymaz” datasets. Comparing with other 10 fusion algorithms, the experimental results demonstrate that our proposed multi-focus image fusion method can achieve a good fusion effect.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18
Fig. 19
Fig. 20
Fig. 21
Fig. 22
Fig. 23
Fig. 24

Similar content being viewed by others

References

  1. Amin-Naji M, Aghagolzadeh A (2018) Multi-focus image fusion in dct domain using variance and energy of laplacian and correlation coefficient for visual sensor networks. J AI Data Mining 6(2):233–250

    Google Scholar 

  2. Amin-Naji M, Aghagolzadeh A, Ezoji M (2019) Ensemble of cnn for multi-focus image fusion. Inform Fusion 51:201–214

    Article  Google Scholar 

  3. Aymaz S, Köse C, Aymaz Ş (2020) Multi-focus image fusion for different datasets with super-resolution using gradient-based new fusion rule. Multimed Tools Appl 79(19):13311–13350

    Article  Google Scholar 

  4. Bai X, Liu M, Chen Z, Wang P, Zhang Y (2015) Morphology and active contour model for multi-focus image fusion. In: 2015 International conference on digital image computing: techniques and applications (DICTA), pp 1–6. IEEE

  5. Bavirisetti DP, Xiao G, Zhao J, Dhuli R, Liu G (2019) Multi-scale guided image and video fusion: a fast and efficient approach. Circ Syst Signal Process 38(12):5576–5605

    Article  Google Scholar 

  6. Bui TA, Lee PJ (2018) Adaptive edge detection algorithm for multi-focus application. In: 2018 International symposium on consumer technologies (ISCT), pp 26–28. IEEE

  7. Chai Y, Li H, Zhang X (2012) Multifocus image fusion based on features contrast of multiscale products in nonsubsampled contourlet transform domain. Optik 123(7):569–581

    Article  Google Scholar 

  8. Cui G, Feng H, Xu Z, Li Q, Chen Y (2015) Detail preserved fusion of visible and infrared images using regional saliency extraction and multi-scale image decomposition. Opt Commun 341:199–209

    Article  Google Scholar 

  9. Eskicioglu AM, Fisher PS (1995) Image quality measures and their performance. IEEE Trans Commun 43(12):2959–2965

    Article  Google Scholar 

  10. Hall DL, McMullen SA (2004) Mathematical techniques in multisensor data fusion. Artech House

  11. Hu J, Li S (2012) The multiscale directional bilateral filter and its application to multisensor image fusion. Inform Fusion 13(3):196–206

    Article  Google Scholar 

  12. Kumar BS (2015) Image fusion based on pixel significance using cross bilateral filter. Signal Image Video Process 9(5):1193–1204

    Article  Google Scholar 

  13. Li H, Chai Y, Li Z (2013) A new fusion scheme for multifocus images based on focused pixels detection. Mach Vis Appl 24(6):1167–1181

    Article  Google Scholar 

  14. Li H, Li L, Zhang J (2015) Multi-focus image fusion based on sparse feature matrix decomposition and morphological filtering. Opt Commun 342:1–11

    Article  Google Scholar 

  15. Li S, Kang X, Hu J (2013) Image fusion with guided filtering. IEEE Trans Image Process 22(7):2864–2875

    Article  Google Scholar 

  16. Li S, Yang B, Hu J (2011) Performance comparison of different multi-resolution transforms for image fusion. Inform Fusion 12(2):74–84

    Article  Google Scholar 

  17. Liang Y, He F (2020) Zeng, x.: 3d mesh simplification with feature preservation based on whale optimization algorithm and differential evolution. Int Comput-Aid Eng (Preprint):1–19

  18. Liu X, Kintak U (2018) A multi-focus image fusion algorithm based on non-uniform rectangular partition with morphology operation. In: 2018 International conference on wavelet analysis and pattern recognition (ICWAPR), pp 238–243. IEEE

  19. Liu Y, Chen X, Ward RK, Wang ZJ (2016) Image fusion with convolutional sparse representation. IEEE Signal Process Lett 23(12):1882–1886

    Article  Google Scholar 

  20. Liu Y, Liu S, Wang Z (2015) A general framework for image fusion based on multi-scale transform and sparse representation. Inform Fusion 24:147–164

    Article  Google Scholar 

  21. Liu Y, Wang Z (2013) Multi-focus image fusion based on wavelet transform and adaptive block. J Image Graph 18(11):1435–1444

    Google Scholar 

  22. Liu Y, Wang Z (2015) Simultaneous image fusion and denoising with adaptive sparse representation. IET Image Process 9(5):347–357

    Article  Google Scholar 

  23. Liu Z, Blasch E, Xue Z, Zhao J, Laganiere R, Wu W (2012) Objective assessment of multiresolution image fusion algorithms for context enhancement in night vision: a comparative study. IEEE Trans Pattern Anal Mach Intell 34 (1):94–109

    Article  Google Scholar 

  24. Ma B, Zhu Y, Yin X, Ban X, Huang H, Mukeshimana M (2021) Sesf-fuse: an unsupervised deep model for multi-focus image fusion. Neural Comput Appl 33(11):5793–5804

    Article  Google Scholar 

  25. Ma J, Zhou Z, Wang B, Miao L, Zong H (2019) Multi-focus image fusion using boosted random walks-based algorithm with two-scale focus maps. Neurocomputing 335:9–20

    Article  Google Scholar 

  26. Naidu V (2011) Image fusion technique using multi-resolution singular value decomposition. Def Sci J 61(5):479

    Article  MathSciNet  Google Scholar 

  27. Nejati M, Samavi S, Shirani S (2015) Multi-focus image fusion using dictionary-based sparse representation. Inform Fusion 25:72–84

    Article  Google Scholar 

  28. Paul S, Sevcenco IS, Agathoklis P (2016) Multi-exposure and multi-focus image fusion in gradient domain. J Circ Syst Comput 25(10):1650123

    Article  Google Scholar 

  29. Rao YJ (1997) In-fibre bragg grating sensors. Measure Sci Technol 8(4):355

    Article  Google Scholar 

  30. Saeed K, Datta S, Chaki N (2020) A granular level feature extraction approach to construct hr image for forensic biometrics using small training dataset. IEEE Access 8:123556–123570

    Article  Google Scholar 

  31. Sahoo DK, Mohanty MN, Pattanik D (2016) Boundary detection of biomedical images using modified morphological operation. In: 2016 International conference on signal processing, communication, power and embedded system (SCOPES), pp 1971–1975. IEEE

  32. Tian J, Chen L, Ma L, Yu W (2011) Multi-focus image fusion using a bilateral gradient-based sharpness criterion. Opt Commun 284(1):80–87

    Article  Google Scholar 

  33. Van Genderen J, Pohl C (1994) Image fusion: issues techniques and applications

  34. Wang Z, Bovik AC, Sheikh HR, Simoncelli EP (2004) Image quality assessment: from error visibility to structural similarity. IEEE Trans Image Process 13(4):600–612

    Article  Google Scholar 

  35. Xydeas C, Petrovic V (2000) Objective image fusion performance measure. Electron Lett 36(4):308–309

    Article  Google Scholar 

  36. Yang J, Han F, Zhao D (2011) A block advanced pca fusion algorithm based on pet/ct. In: 2011 Fourth international conference on intelligent computation technology and automation, vol 2, pp 925–928. IEEE

  37. Yang Y, Tong S, Huang S, Lin P (2015) Multifocus image fusion based on nsct and focused area detection. IEEE Sensors J 15(5):2824–2838

    Google Scholar 

  38. Zhang Q, Guo Bl (2009) Multifocus image fusion using the nonsubsampled contourlet transform. Signal processing 89(7):1334–1346

    Article  MATH  Google Scholar 

  39. Zhang X (2020) Multi-focus image fusion: A benchmark. arXiv preprint arXiv:2005.01116

  40. Zhang Y, Liu Y, Sun P, Yan H, Zhao X, Zhang L (2020) Ifcnn: a general image fusion framework based on convolutional neural network. Inform Fusion 54:99–118

    Article  Google Scholar 

Download references

Acknowledgements

Thanks to the editor and anonymous review, and to the person who provided the image datasets. This work was supported by Macau University of Science and Technology Foundation (No. FRG-21-020-FI).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Huibin Luo.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Luo, H., U, K. & Zhao, W. Multi-focus image fusion through pixel-wise voting and morphology. Multimed Tools Appl 82, 899–925 (2023). https://doi.org/10.1007/s11042-022-13218-y

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-022-13218-y

Keywords

Navigation