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.
Preview
Unable to display preview. Download preview PDF.
References
A.V. Aho, J.D. Ullman, “The Theory of Parsing, Translation, and Compiling”, Vol 1, Prentice Hall (1972)
F.J. Brandenburg, J. Dassow, “Reductions of Picture Words”, MIP 8905, Universität Passau (1989)
M.J. Fischer, A.L. Rosenberg “Real Time Solutions of the Origin-Crossing Problem”, Math. Sys. Theory 3 (1967), 257–263
J.D. Foley, A. van Dam, “Fundamentals of Interactive Computer Graphics”, Addison Wesley (1982)
H. Freeman, “On the encoding of arbitrary geometric configurations”, IRE Trans. EC-10 (1961), 260–268
K.S. Fu, “Syntactic Pattern Recognition and Applications”, Prentice-Hall (1982)
R. Gutbrod, “A transformation system for generating description languages of chain code pictures” Theoret. Comput. Sci. 68 (1989), 239–252
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
F. Hinz, E. Welzl, “Regular chain code picture languages with invisible lines”, Report 252, IIG, Techn. Univ. Graz (1988)
J.E. Hopcroft, J.D. Ullman, “Introduction to Automata Theory, Languages and Computation”, Addison-Wesley (1979)
C. Kim, I.H. Sudborough, “The membership and equivalence problems for picture languages” Theor. Comput. Sci. 52 (1987), 177–191
H.A. Maurer, G. Rozenberg, E. Welzl, “Using string languages to describe picture languages”, Inform. and Control 54 (1982), 155–185
A. Rosenfeld, “Picture Languages — Formal Models for Picture Recognition”, Academic Press (1979)
G. Rozenberg, E. Welzl, “Graph Theoretic Closure Properties of the Family of Boundary NLC Graph Languages” Acta Informatica 23 (1986), 289–309
A. Schönhage, “Storage modification machines”, SIAM J. Computing 9 (1980), 490–508
G. Siromoney, R. Siromoney, “Rosenfeld's Cycle Grammars and Kolam”, Lecture Notes in Computer Science 291 (1987), 564–579
I.H. Sudborough, E. Welzl, “Complexity and decidability for chain code picture languages” Theoret. Comput. Sci. 36 (1985), 173–202
Author information
Authors and Affiliations
Editor information
Rights 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