What to Learn: Features, Image Transformations, or Both?