For my final work I needed to "skeletonize" an image.
If you don't know what I'm talking about, you can see the wikiedia page:
en.wikipedia.org/wiki/Topological_skeleton
and
en.wikipedia.org/wiki/Straight_skeleton
I looked for a SIMPLE code, just to know i fthis solution could work on my images and... I didn't find it...