Skip to main content
Log in

Fast spatial averaging: an efficient algorithm for 2D mean filtering

  • Published:
The Journal of Supercomputing Aims and scope Submit manuscript

Abstract

We present a new fast spatial averaging technique that efficiently implements operations for spatial averaging or two-dimensional mean filtering. To perform spatial averaging of an M×N image with an averaging filter of size m×n, our proposed method requires approximately 4MN additions and no division. This is very promising, since the major computations required by our algorithm depend only on the size of the original image but not on the size of the averaging filter. To our knowledge, this technique requires the smallest number of additions for mean filtering. Experimental results on various image sizes using different filter sizes confirm that our fast spatial averaging algorithm is significantly faster than other spatial averaging algorithms, especially when the size of the input image is very large.

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.

Similar content being viewed by others

References

  1. Jain AK (1989) Fundamentals of digital image processing. Prentice-Hall, Englewood Cliffs

    MATH  Google Scholar 

  2. Pratt WK (2001) Digital image processing, 3rd edn. Wiley, New York

    Book  Google Scholar 

  3. Gonzalez RC, RE Woods (2002) Digital image processing, 2nd edn. Prentice-Hall, Upper Saddle River

    Google Scholar 

  4. Casasent D, Nakariyakul S, Topiwala P (2004) Zero-mean Minace filters for detection in visible EO imagery. Proc SPIE 5608:252–263

    Article  Google Scholar 

  5. Bodnarova A, Bennamoun M, Kubik KK (2000) Suitability analysis of techniques for flaw detection in texiles using texure analysis. PAA Pattern Anal Appl 3:254–266

    Article  MATH  Google Scholar 

  6. Kundu A, Mitra SK, Vaidyanathan PP (1984) Application of two-dimensional generalized mean filtering for removal of impulse noises from images. IEEE Trans Acoust Speech Signal Process ASSP-32:600–609

    Article  Google Scholar 

  7. Nie X, Unbehauen R (1991) Edge preserving filtering by combining nonlinear mean and median filters. IEEE Trans Signal Process 39:2552–2554

    Article  Google Scholar 

  8. Oten R, de Figueiredo RJP (2004) Adaptive alpha-trimmed mean filters under deviations from assumed noise model. IEEE Trans Image Process 13:627–639

    Article  Google Scholar 

  9. Pan J-J, Tang Y-Y, Pan B-C (2007) The algorithm of fast mean filtering. In: Proceedings of the 2007 int conf on wavelet anal and pattern recognit, pp 244–248

    Google Scholar 

  10. Rakshit S, Ghosh A, Uma Shankar B (2007) Fast mean filtering technique (FMFT). Pattern Recognit 40:890–897

    Article  MATH  Google Scholar 

  11. TA Standish (1995) Data structures, algorithms & software principles in C. Addison-Wesley, New York

    Google Scholar 

  12. Cormen TH, Leiserson CE, Rivest RL, Stein C (2001) Introduction to algorithms, 2nd edn. The MIT Press, Cambridge

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Songyot Nakariyakul.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Nakariyakul, S. Fast spatial averaging: an efficient algorithm for 2D mean filtering. J Supercomput 65, 262–273 (2013). https://doi.org/10.1007/s11227-011-0638-9

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11227-011-0638-9

Keywords

Navigation