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.
Similar content being viewed by others
References
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
Amin-Naji M, Aghagolzadeh A, Ezoji M (2019) Ensemble of cnn for multi-focus image fusion. Inform Fusion 51:201–214
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
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
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
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
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
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
Eskicioglu AM, Fisher PS (1995) Image quality measures and their performance. IEEE Trans Commun 43(12):2959–2965
Hall DL, McMullen SA (2004) Mathematical techniques in multisensor data fusion. Artech House
Hu J, Li S (2012) The multiscale directional bilateral filter and its application to multisensor image fusion. Inform Fusion 13(3):196–206
Kumar BS (2015) Image fusion based on pixel significance using cross bilateral filter. Signal Image Video Process 9(5):1193–1204
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
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
Li S, Kang X, Hu J (2013) Image fusion with guided filtering. IEEE Trans Image Process 22(7):2864–2875
Li S, Yang B, Hu J (2011) Performance comparison of different multi-resolution transforms for image fusion. Inform Fusion 12(2):74–84
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
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
Liu Y, Chen X, Ward RK, Wang ZJ (2016) Image fusion with convolutional sparse representation. IEEE Signal Process Lett 23(12):1882–1886
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
Liu Y, Wang Z (2013) Multi-focus image fusion based on wavelet transform and adaptive block. J Image Graph 18(11):1435–1444
Liu Y, Wang Z (2015) Simultaneous image fusion and denoising with adaptive sparse representation. IET Image Process 9(5):347–357
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
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
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
Naidu V (2011) Image fusion technique using multi-resolution singular value decomposition. Def Sci J 61(5):479
Nejati M, Samavi S, Shirani S (2015) Multi-focus image fusion using dictionary-based sparse representation. Inform Fusion 25:72–84
Paul S, Sevcenco IS, Agathoklis P (2016) Multi-exposure and multi-focus image fusion in gradient domain. J Circ Syst Comput 25(10):1650123
Rao YJ (1997) In-fibre bragg grating sensors. Measure Sci Technol 8(4):355
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
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
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
Van Genderen J, Pohl C (1994) Image fusion: issues techniques and applications
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
Xydeas C, Petrovic V (2000) Objective image fusion performance measure. Electron Lett 36(4):308–309
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
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
Zhang Q, Guo Bl (2009) Multifocus image fusion using the nonsubsampled contourlet transform. Signal processing 89(7):1334–1346
Zhang X (2020) Multi-focus image fusion: A benchmark. arXiv preprint arXiv:2005.01116
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
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
Corresponding author
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
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
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-022-13218-y