In addition, P AI (i, j, n) and P BI (i, j, n) describe a value interpolated in accordance with the direction indicating the minimum region matching error in the A region and B region.
As described above, the spatial interpolator 34 performs the interpolation by using the pixels spatially adjacent to the pixel to be interpolated presently.