Learning Steerable Function for Efficient Image Resampling