Text this: Minimal shape and intensity cost path segmentation.