Text this: A new approach to image segmentation with two-dimensional hidden Markov models