Patient-Specific Functional Liver Segments based on Centerline Classification of the Hepatic and Portal Veins