Article · Wikipedia archive · Last revised Jun 13, 2026

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.

Last revised
Jun 13, 2026
Read time
≈ 1 min
Length
176 w
Citations
Source

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 L = { a n , n + 1 n > 0 } {\displaystyle L=\left\{a^{n,n+1}\mid n>0\right\}} defines the language of rectangles composed of the character a {\displaystyle a} . This language L {\displaystyle L} contains pictures such as:

( a a ) , ( a a a a a a ) , ( a a a a a a a a a a a a ) L {\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}

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

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.