Method and apparatus for performing interpolation based on transform and inverse transform патент