Digital Topology and Geometry in Medical Imaging: A Survey