Text this: A method for multi-dimensional image segmentation