3D Image segmentation for modelling the patient-specific anatomy of congenital heart disease