Text this: Variational and deep learning methods for selective segmentation