Most of the programs I wrote were adopted to the problem at
hand. The following codes are hopefully versatile enough.
minkowski 2.1:
A C code for calculating Minkowski functionals of a Boolean grain
model with boundary correction. Written by Jens Schmalzing and
Martin Kerscher.