摘要 |
The method comprises for a pixel of an output grid which is not on an input grid on which pixel values are received in an input signal: determining a loss value for each of a plurality of candidate interpolators by analyzing the pixel values of the input grid along a direction associated with the candidate interpolator; selecting at least one interpolator by minimizing the loss value; and determining an output pixel value. At least two interpolation modes are provided, including: a first mode in which one interpolator is selected and the output pixel value is determined as an interpolated value obtained by applying locally the selected interpolator to pixel values of the input grid; and a second mode in which more than one interpolator is selected and the output pixel value is determined as a weighted sum of a plurality of interpolated values obtained by applying locally the selected interpolators. |