Institut für Theoretische Physik I
Universität Erlangen-Nürnberg
Staudtstraße 7
91058 Erlangen

How to find us

Phone: +49-9131-85 28442
Fax: +49-9131-85 28444

Department Physik
Teilbibliothek Physik Web-Opac
UnivIS FAU Erlangen-Nürnberg

Physikalisches Kolloquium
Kolloquium der Theor. Physik
Gruppenseminar der Theorie 1


2D Minkowski Tensor Package

Papaya is a small program able to calculate the Minkowski Tensors of planar patterns. Papaya can use either polygon data as input or use the Marching Squares algorithm on image data. It can also perform a simple threshold segmentation.

Minkowski Tensors can be calculated globally, or domain- and componentwise. A more detailed description of the program is given in the paper referenced below.

Papaya is written in plain ISO C++ and a few (bundled) libraries. It is available as Free Software under the terms of the GNU General Public License, Version 3 or later.


Source code repository on Github

Current Release:

Source code, version 1.8

Matlab Version:

Jenny Wagner has developed a Matlab interface for Papaya.

Older Releases:

Source code, version 1.6

Source code, version 1.5

Source code, version 1.4

Source code, version 1.3

Article describing the program:

  • Gerd E. Schröder-Turk, Sebastian Kapfer, Boris Breidenbach, Claus Beisbart and Klaus Mecke
  • Tensorial Minkowski functionals and anisotropy measures for planar patterns
  • Journal of Microscopy 238(1), 57–74 (2010)