Robust Segmentation based Tracing using an Adaptive Wrapper for Inducing Priors