Text this: Kernel-based image analysis towards MRI segmentation and classification