Papaya is a small program able to calculate the Cartesian Minkowski Tensors of planar patterns. If you want to use the more recent irreducible Minkowski Tensors, take a look at Papaya2. Papaya can use either polygon data as input or use the regular 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.
Download
Source code repository on Github
There is also a Matlab interface available: Matlab interface for Papaya.