Picture language
In formal language theory, a picture language is a set of pictures, where a picture is a 2D array of characters over some alphabet. For example, the language [math]\displaystyle{ L = \left \{ a^{n,n+1} \mid n \gt 0 \right \} }[/math] defines the language of rectangles composed of the character [math]\displaystyle{ a }[/math]. This language [math]\displaystyle{ L }[/math] contains pictures such as:
[math]\displaystyle{ \begin{pmatrix}a\\a\end{pmatrix}, \begin{pmatrix} a&a\\a&a\\a&a\end{pmatrix}, \begin{pmatrix} a&a&a\\a&a&a\\a&a&a\\a&a&a\end{pmatrix} \in L }[/math]
The study of picture languages was initially motivated by the problems of pattern recognition and image processing, but two-dimensional patterns also appear in the study of cellular automata and other parallel computing models. Some formal systems have been created to define picture languages, such as array grammars and tiling systems.
References
- D. Giammaresi, A. Restivo. Two-dimensional languages. In A. Salomaa, G. Rozenberg (Eds.), Handbook of Formal Languages, Vol. 3, Beyond Words, Springer, Berlin, 1997, pp. 215–267.
Original source: https://en.wikipedia.org/wiki/Picture language.
Read more |