Imported from https://github.com/americofmoliveira/VesselSegmentation_ESWA