Skip to main content
Log in

Multi-focus image fusion by local optimization over sliding windows

  • Original Paper
  • Published:
Signal, Image and Video Processing Aims and scope Submit manuscript

Abstract

This article presents a technique to solve the problem of multi-focus image fusion. This technique is based on the maximization of a linear function with spatial coherence constraints. The final fused image is computed as the sum of the source images using a segmentation map. We can compute the segmentation map using the Simplex method, where the objective function includes one variable associated with each pixel. The Simplex method requires a huge amount of memory resources to produce it. We present an algorithm called CPW-S, which uses some strategies to solve the problem in a context with fewer variables; images are split into regions, thus reducing the computational effort. We present results for two pairs of synthetic images in order to quantify the results, obtaining more than \(98\%\) of pixel accuracy for the segmentation map. We also present results for several pairs of real images (widely used in the literature) and a triad of multi-focus images. The resulting fused images are qualitatively good for all the real images included in the experiments.

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

Similar content being viewed by others

References

  1. Nayar, S.K., Nakagawa, Y.: Shape from focus. IEEE Trans. Pattern Anal. Mach. Intell. 16(8), 824–831 (1994)

    Article  Google Scholar 

  2. Potmesil, Michael, Chakravarty, Indranil: A lens and aperture camera model for synthetic image generation. SIGGRAPH Comput. Graph. 15(3), 297–305 (1981)

    Article  Google Scholar 

  3. Kuthirummal, S., Nagahara, H., Zhou, C., Nayar, S.K.: Flexible depth of field photography. IEEE Trans. Pattern Anal. Mach. Intell. 33(1), 58–71 (2011)

    Article  Google Scholar 

  4. Sezan, M.I., Pavlovic, G., Tekalp, A.M., Erdem, A.T.: On modeling the focus blur in image restoration. In: Acoustics, Speech, and Signal Processing, 1991. ICASSP-91., 1991 International Conference on, vol. 4, pp. 2485–2488 (1991)

  5. Malviya, A., Bhirud, S.G.: Wavelet based multi-focus image fusion. In: Methods and Models in Computer Science, 2009. ICM2CS 2009. Proceeding of International Conference on, pp. 1–6 (2009)

  6. Goshtasby, A.A., Nikolov, S.: Image fusion: advances in the state of the art. Inf. Fusion 8(2), 114–118 (2007). Special Issue on Image Fusion: Advances in the State of the Art

    Article  Google Scholar 

  7. Li, H., Manjunath, B.S., Mitra, S.K.: Multisensor image fusion using the wavelet transform. Graph. Models Image Process. 57(3), 235–245 (1995)

    Article  Google Scholar 

  8. Bishop, Christopher M.: Pattern Recognition and Machine Learning. Springer, Berlin (2006)

    MATH  Google Scholar 

  9. Zhang, Z., Blum, R.S.: A categorization of multiscale-decomposition-based image fusion schemes with a performance study for a digital camera application. Proc. IEEE 87(8), 1315–1326 (1999)

    Article  Google Scholar 

  10. Li, S., Kwok, J.T., Wang, Y.: Combination of images with diverse focuses using the spatial frequency. Inf. Fusion 2(3), 169–176 (2001)

  11. Eskicioglu, A.M., Fisher, P.S.: Image quality measures and their performance. IEEE Trans. Commun. 43(12), 2959–2965 (1995)

    Article  Google Scholar 

  12. Li, X., He, M., Roux, M.: Multifocus image fusion based on redundant wavelet transform. IET Image Process. 4(4), 283–293 (2010)

    Article  Google Scholar 

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

    Article  Google Scholar 

  14. Zhou, Z., Li, S., Wang, B.: Multi-scale weighted gradient-based fusion for multi-focus images. Inf. Fusion 20, 60–72 (2014)

    Article  Google Scholar 

  15. Calderon, F., Garnica, A.: Multi focus image fusion based on linear combination of images. pp. 1–7. IEEE (2014)

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

    Google Scholar 

  17. Shah, Parul, Merchant, Shabbir N., Desai, Uday B.: Multifocus and multispectral image fusion based on pixel significance using multiresolution decomposition. Signal Image Video Process. 7(1), 95–109 (2013)

    Article  Google Scholar 

  18. Shreyamsha Kumar, B.K.: Image fusion based on pixel significance using cross bilateral filter. Signal Image Video Process. 9(5), 1193–1204 (2015)

    Article  Google Scholar 

  19. Long, J., Shelhamer, E., Darrell, T.: Fully convolutional networks for semantic segmentation. CoRR, arXiv: 1411.4038 (2014)

  20. Orozco, R.I.: Fusión de imágenes multifoco por medio de filtrado de regiones de alta y baja frecuencia. Master’s Thesis, División de Estudios de Posgrado. Facultad de Ingeniería Eléctrica. UMSNH, Morelia Michoacan Mexico (2013)

Download references

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Adan Garnica-Carrillo, Felix Calderon or Juan Flores.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Garnica-Carrillo, A., Calderon, F. & Flores, J. Multi-focus image fusion by local optimization over sliding windows. SIViP 12, 869–876 (2018). https://doi.org/10.1007/s11760-017-1229-x

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11760-017-1229-x

Keywords

Navigation