An Adaptive Hierarchical Approach to the Extraction of High Resolution Medial Surfaces