Skip to main content

Cycle chain code picture languages

  • Conference paper
  • First Online:
Graph Grammars and Their Application to Computer Science (Graph Grammars 1990)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 532))

  • 199 Accesses

Abstract

A picture word is a string over the alphabet {u, d, l, r}. These symbols mean drawing of a unit line in direction up, down, left, and right, respectively. A picture word describes a walk in the plane; its trace is the picture it describes. A set of picture words describes a (chain code) picture language.

A cycle means a closed curve in the discrete Cartesian plane. It is elementary, if the curve is simple and has no crossings. Cycles are among the most important features for chain code pictures. They are used as fundamental objects to build more complex objects, and occur, e.g., in the pictures of the digits ”0”, ”6”, ”8” and ”9”, in icons for snowflakes, houses or trees and in complex kolam patterns. In general, cycles are non-context-free constructs and cannot be captured by context-free picture grammars. Therefore, we extend the concept of context-free picture grammars attaching cycles by the requirement that certain subpictures must be cycles or elementary cycles. We investigate basic properties of context-free cycle and elementary cycle grammars with emphasis on the complexity of the recognition problem. In particular, it is shown that the description complexity is polynomial for cycle languages and for unambiguous elementary cycle languages, and is NP-complete for ambiguous elementary cycle languages.

This work was supported by the cooperation of the University of Passau and the Charles University of Prague and was done during mutual visits in Prague and Passau.

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. A.V. Aho, J.D. Ullman, “The Theory of Parsing, Translation, and Compiling”, Vol 1, Prentice Hall (1972)

    Google Scholar 

  2. F.J. Brandenburg, J. Dassow, “Reductions of Picture Words”, MIP 8905, Universität Passau (1989)

    Google Scholar 

  3. M.J. Fischer, A.L. Rosenberg “Real Time Solutions of the Origin-Crossing Problem”, Math. Sys. Theory 3 (1967), 257–263

    Google Scholar 

  4. J.D. Foley, A. van Dam, “Fundamentals of Interactive Computer Graphics”, Addison Wesley (1982)

    Google Scholar 

  5. H. Freeman, “On the encoding of arbitrary geometric configurations”, IRE Trans. EC-10 (1961), 260–268

    Google Scholar 

  6. K.S. Fu, “Syntactic Pattern Recognition and Applications”, Prentice-Hall (1982)

    Google Scholar 

  7. R. Gutbrod, “A transformation system for generating description languages of chain code pictures” Theoret. Comput. Sci. 68 (1989), 239–252

    Article  Google Scholar 

  8. F. Hinz, “Classes of picture languages that cannot be distinguished in the chain code concept and the deletion of redundant retreats”, Lecture Notes in Computer Science 349 (1989), 132–143

    Google Scholar 

  9. F. Hinz, E. Welzl, “Regular chain code picture languages with invisible lines”, Report 252, IIG, Techn. Univ. Graz (1988)

    Google Scholar 

  10. J.E. Hopcroft, J.D. Ullman, “Introduction to Automata Theory, Languages and Computation”, Addison-Wesley (1979)

    Google Scholar 

  11. C. Kim, I.H. Sudborough, “The membership and equivalence problems for picture languages” Theor. Comput. Sci. 52 (1987), 177–191

    Article  Google Scholar 

  12. H.A. Maurer, G. Rozenberg, E. Welzl, “Using string languages to describe picture languages”, Inform. and Control 54 (1982), 155–185

    Article  Google Scholar 

  13. A. Rosenfeld, “Picture Languages — Formal Models for Picture Recognition”, Academic Press (1979)

    Google Scholar 

  14. G. Rozenberg, E. Welzl, “Graph Theoretic Closure Properties of the Family of Boundary NLC Graph Languages” Acta Informatica 23 (1986), 289–309

    Article  Google Scholar 

  15. A. Schönhage, “Storage modification machines”, SIAM J. Computing 9 (1980), 490–508

    Article  Google Scholar 

  16. G. Siromoney, R. Siromoney, “Rosenfeld's Cycle Grammars and Kolam”, Lecture Notes in Computer Science 291 (1987), 564–579

    Google Scholar 

  17. I.H. Sudborough, E. Welzl, “Complexity and decidability for chain code picture languages” Theoret. Comput. Sci. 36 (1985), 173–202

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Hartmut Ehrig Hans-Jörg Kreowski Grzegorz Rozenberg

Rights and permissions

Reprints and permissions

Copyright information

© 1991 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Brandenburg, F.J., Chytil, M.P. (1991). Cycle chain code picture languages. In: Ehrig, H., Kreowski, HJ., Rozenberg, G. (eds) Graph Grammars and Their Application to Computer Science. Graph Grammars 1990. Lecture Notes in Computer Science, vol 532. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0017388

Download citation

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

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-54478-4

  • Online ISBN: 978-3-540-38395-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics