Interactive semantic segmentation of 3D medical images