Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content

A new run-based algorithm for Euler number computing

  • Theoretical Advances
  • Published:
Pattern Analysis and Applications Aims and scope Submit manuscript

Abstract

The Euler number of a binary image is an important topological feature for many image processing, image analysis, pattern recognition, and computer vision applications. This paper proposes a new run-based Euler number computation algorithm. The conventional run-based algorithm processes rows of the given image one-by-one from top to bottom in a single phase. For each row, it finds the runs in the row and records the start and end locations of each run to compute neighbor runs. In contrast, our algorithm calculates the Euler number of an image in two phases. In the first phase, we process odd rows alternately to find runs and only record its end location. In the second phase, we process each of the remaining even rows to find runs and calculate neighboring runs between the current row and the rows immediately above and below using the recorded run data. Using this method, the number of accesses required to compute the Euler number decreases in almost all cases. Analysis of the time complexity and experimental results demonstrate that our algorithm outperforms conventional Euler number computation algorithms.

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

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

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

Similar content being viewed by others

Notes

  1. A basic square is a \(\left[ {\begin{array}{*{20}c} a & b \\ c & d \\ \end{array} } \right]\) pattern in a binary image.

  2. A basic right-angled triangle is one of \(\left[ {\begin{array}{*{20}c} 1 & 0 \\ 1 & 1 \\ \end{array} } \right]\), \(\left[ {\begin{array}{*{20}c} 1 & 1 \\ 1 & 0 \\ \end{array} } \right]\), \(\left[ {\begin{array}{*{20}c} 1 & 1 \\ 0 & 1 \\ \end{array} } \right]\), or \(\left[ {\begin{array}{*{20}c} 0 & 1 \\ 1 & 1 \\ \end{array} } \right]\) \(\left[ {\begin{array}{*{20}c} 0 & 1 \\ 1 & 1 \\ \end{array} } \right]\) patterns in a binary image.

  3. The authors of the LB algorithm could not calculate the time complexity of this algorithm either.

  4. http://sampl.ece.ohiostate.edu/data/stills/sidba/index.html.

  5. http://sipi.usc.edu/database/.

  6. http://www1.cs.columbia.edu/CAVE/software/curet/.

  7. The density of a binary image is the percentage of object pixels in an image.

References

  1. Gonzalez RC, Woods RE (2008) Digital image processing. 3rd edn. Pearson Prentice Hall, Upper Saddle River, p 07458

  2. Hashizume A, Suzuki R, Yokouchi H (1990) An algorithm of automated RBC classification and its evaluation. Bio Med Eng 28(1):25–32

    Google Scholar 

  3. Moraru L, Cotoi O, Szendrei F (2011) Euler number: a method for statistical analysis of ancient pottery porosity. Eur J Sci Theol 7(3):99–108

    Google Scholar 

  4. Srihari SN (1986) Document image understanding. In: Proceedings ACM/IEEE Joint Fall Computer Conference, Dallas, pp 87–95

  5. Rosin PL, Ellis T (1995) Image difference threshold strategies and shadow detection. In: Proceedings British Machine Vision Conference, London, England pp 347–356

  6. Nayar SK, Bolle RM (1996) Reflectance-based object recognition. Int J Comput Vis 17(3):219–240

    Article  Google Scholar 

  7. Horn B (1986) Robot vision. McGraw-Hill, New York, pp 73–77

    Google Scholar 

  8. Pogue BW, Mycek MA, Harper D (2000) Image analysis for discrimination of cervical neoplasia. J Biomed Opt 5(1):72–82

    Article  Google Scholar 

  9. Diaz-de-Leon SJL, Sossa-Azuela JH (1996) On the computation of the Euler number of a binary object. Pattern Recogn 29(3):471–476

    Article  Google Scholar 

  10. Gray SB (1971) Local properties of binary images in two dimensions. IEEE Trans Comput 20: 551–561

  11. Thompson CM, Shure L Image processing toolbox. The Math Works Inc., USA

  12. Bishnu A, Bhattachary BB, Kundu MK, Murthy CA, Acharya T (2005) A pipeline architecture for computing the Euler number of a binary image. J Syst Architect 51(8):470–487

    Article  Google Scholar 

  13. He L, Chao Y, Suzuki K (2013) An algorithm for connected-component labeling, hole labeling and Euler number computing. J Comput Sci Technol 28(3):469–479

    Article  MathSciNet  MATH  Google Scholar 

  14. Chen MH, Yan PF (1988) A fast algorithm to calculate the Euler number for binary images. Pattern Recog Lett 8(5):295–297

    Article  MATH  Google Scholar 

  15. Chiavetta F, Gesu V (1993) Parallel computation of the Euler number via connectivity graph. Pattern Recog Lett 14:849–859

    Article  MATH  Google Scholar 

  16. Dey S, Bhattacharya BB, Kundu MK, Acharya T (2000) A fast algorithm for computing the Euler number of an image and its VLSI implementation. In: VLSI Design. Thirteenth International Conference on IEEE. Calcutta, India, pp 330–335

  17. Dyer CR (1980) Computing the Euler number of an image from its quadtree. Comput Graphics Image Process 13(3):270–276

    Article  Google Scholar 

  18. Samet H, Tamminen H (1985) Computing geometric properties of images represented by linear quadtrees. IEEE Trans PAMI 7(2):229–240

    Article  Google Scholar 

  19. He L, Chao Y, Suzuki K (2010) An efficient first-scan method for label-equivalence-based labeling algorithms. Pattern Recogn Lett 31(1):28–35

    Article  Google Scholar 

  20. Ohta A (2013) On the derivation of the Euler number based on graph theory. Technical report. Aichi Prefectural University Aichi, Japan. (in Japanese)

Download references

Acknowledgments

We thank the anonymous referees for their valuable comments that greatly improved this paper.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Lifeng He.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Yao, B., He, L., kang, S. et al. A new run-based algorithm for Euler number computing. Pattern Anal Applic 20, 49–58 (2017). https://doi.org/10.1007/s10044-015-0464-4

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10044-015-0464-4

Keywords