Geodesic Paths for Image Segmentation With Implicit Region-Based Homogeneity Enhancement