Can anyone give some tips how to obtain Skeleton from distance map?
I already managed to obtain skeleton using erased method (e.g. zhang suen) but it's time consuming because it's an iterative method (the thicker the object the longer it takes).
OpenCV has well optimized
distance transform function than can be calculated in
O(n) time. Is there any paper or even better code sample that achieves that (ideally quite fast)?