An Interactive Medical Segmentation System Based on the Optimal Management of Regions of Interest Using Topological Medical Knowledge