save vessel segmentation in file