Implements parameter controlled skeleton -ization of 3d objects.
The core of the 10 lines code implements a simple method based on distance transform (rather than thinning based methods).
The method is sensitive to the value of the user defined Thinness Parameter (TP).
An alternative approach to 3D skeletonization that use the gradient and divergence of the distance transform is also given
Ref 1) Nikhil Gagvani & Deborah Silver Tech.Rep.CAIP-TR-216
Parameter Controlled skeletonization of 3D Objects, June 1997
Download at : http://www.caip.rutgers.edu/~gagvani/skel/
Sylvain Bouix , Kaleem Siddiqi , Allen Tanneubaum
Average Outward Flux via divergence & gradient