Skip to main content
Log in

A graph grammar programming style for recognition of music notation

  • Published:
Machine Vision and Applications Aims and scope Submit manuscript

Abstract

Graph grammars are a promising tool for solving picture processing problems. However, the application of graph grammars to diagram recognition has been limited to rather simple analysis of local symbol configurations. This paper introduces the Build-Weed-Incorporate programming style for graph grammars and shows its application in determining the meaning of complex diagrams, where the interaction among physically distant symbols is semantically important. Diagram recognition can be divided into two stages: symbol recognition and high-level recognition. Symbol recognition has been studied extensively in the literature. In this work we assume the existence of a symbol recognizer and use a graph grammar to assemble the diagram's information content from the symbols and their spatial relationships. The Build-Weed-Incorporate approach is demonstrated by a detailed discussion of a graph grammar for high-level recognition of music notation.

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

  • Blostein D, Baird H (1991) A critical survey of music image analysis. In: Structured document image analysis. Baird H, Bunke H, Yamamoto K (eds.) Springer Verlag, 1991

  • Blostein D, Haken L (1991) Justification of printed music. Commun ACM 34:88–99

    Article  Google Scholar 

  • Bunke H (1982a) Attributed programmed graph grammars and their application to schematic diagram interpretation. IEEE Pattern Anal Machine Intelligence 4:574–582

    Article  MATH  Google Scholar 

  • Bunke H (1982b) On the generative power of sequential and parallel programmed graph grammars. Computing 29:89–112

    Article  MATH  MathSciNet  Google Scholar 

  • Chou P (1989) Recognition of equations using a two-dimensional stochastic context-free grammar. Proc. SPIE Visual Communications and Image Processing IV, Philadelphia, pp 852–863

  • Claus V, Ehrig H, Rozenberg G (eds) (1979) Second international workshop on graph grammars and their application to computer science. Springer, Berlin Heidelberg New York (Lecture notes in computer science, vol 73)

    Google Scholar 

  • Ehrig H, Nagl, M, Rozenberg G (1983) Second international workshop on graph grammars and their application to computer science. Springer, Berlin Heidelberg New York (Lecture notes in computer science, vol 153)

    Google Scholar 

  • Ehrig H, Nagl, M, Rozenberg G (1987) Third international workshop on graph grammars and their application to computer science. Springer, Berlin Heidelberg New York (Lecture notes in computer science, vol 291)

    Google Scholar 

  • Ehrig H, Kreowski H, Rozenberg G (1991) Fourth international workshop on graph grammars and their application to computer science. Springer, Berlin Heidelberg New York (Lecture notes in computer science, vol 532)

    Google Scholar 

  • Fahmy H (1991) A graph-grammar approach to high-level music recognition. Technical Report 91-318, Department of Computing and Information Science. Master's thesis, Queen's University, Kingston, Ontario

    Google Scholar 

  • Fahmy H, Blostein D (1991) A graph grammar for high-level recognition of music notation. Proc First International Conference on Document Analysis and Recognition, St. Malo, France

    Google Scholar 

  • Fu KS (1982) Syntactic pattern recognition and applications. Prentice-Hall, Englewood Cliffs

    MATH  Google Scholar 

  • Garey M, Johnson D (1979) Computers and intractability: a guide to the theory of NP-completeness. W.H. Freeman, Oxford

    MATH  Google Scholar 

  • Goettler, H (1983) Attribute graph grammars for graphics. In: Ehrig H, Nagl M, Rozenberg G, Rosenfeld A (eds) Second international workshop on graph grammars and their application to computer science. Springer, Berlin Heidelberg New York (Lecture notes in computer science, vol 153)

    Google Scholar 

  • Kreowski H, Rozenberg G (1990a) On structured graph grammars, I. Infor Sci 52:185–210

    Article  MATH  MathSciNet  Google Scholar 

  • Kreowski H, Rozenberg G (1990b) On structure graph grammars, II. Infor Sci 52:221–246

    Article  MATH  MathSciNet  Google Scholar 

  • Mahoney JV (1982) Automatic Analysis of musical score images. Dept. of Computer Science and Engineering, Bachelor of Science thesis, MIT, Cambridge

    Google Scholar 

  • Mehlhorn K (1984) Data structures and algorithms 3: multidimensional searching and computational geometry. Springer, Berlin Heidelberg New York

    Google Scholar 

  • Nagl M (1979) A tutorial and bibliographical survey on graph grammars. In: Claus V, Ehrig H, Rozenberg G (eds) International workshop on graph grammars and their application to computer science and biology. Springer, Berlin Heidelberg New York (Lecture note in computer science, vol 73)

    Google Scholar 

  • Nagl M (1987) Set theoretic approaches to graph grammars. In: Ehrig H, Rozenberg G (eds) Third international workshop on graph grammars and their application to computer science. Springer, Berlin Heidelberg New York (Lecture note in computer science, vol 291)

    Google Scholar 

  • Pfaltz J (1972) Web grammars and picture description. Computer Graphics Image Processing 1:193–220

    MathSciNet  Google Scholar 

  • Pfaltz J (1979) A graph grammar that describes the set of twodimensional surface networks. In: Claus V, Ehrig H, Rozenberg G (eds) International workshop on graph grammars and their application to computer science and biology. Springer, Berlin Heidelberg New York (Lecture note in computer science, vol 73)

    Google Scholar 

  • Rosenkrantz DJ (1969) Programmed grammars and classes of formal languages. J ACM 16:107–131

    Article  MATH  MathSciNet  Google Scholar 

  • Sanfeliu A, Fu KS (1983) Tree-graph grammars for pattern recognition. In: Ehrig H, Rozenberg G (eds) Second international workshop on graph grammars and their application to computer science. Springer, Berlin Heidelberg New York (Lecture note in computer science, vol 153)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Additional information

See Appendix A for an illustration of the terms for musical symbols used in this paper.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Fahmy, H., Blostein, D. A graph grammar programming style for recognition of music notation. Machine Vis. Apps. 6, 83–99 (1993). https://doi.org/10.1007/BF01211933

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01211933

Key words

Navigation