Globally Optimal Active Contours, Sequential Monte Carlo and On-Line Learning for Vessel Segmentation