Vessel Segmentation in Medical Imaging Using a Tight-Frame Based Algorithm