摘要 |
For scaling an input image into an output image, the method comprises, for a point of the output sampling grid which is not in the input sampling grid: calculating a plurality of interpolated pixel values by applying respective interpolators; determining respective loss values associated with the interpolated pixel values; and providing a pixel value of the output image using at least one of the interpolated pixel values selected by minimizing the loss value. The set of interpolators includes two-dimensional interpolators In of the form (I) for values of a parameter n such that |n|≧1 and two-dimensional interpolators I′m of the form (II) for values of a parameter m such that |m|≧1, where x and y are spatial indices identifying the point of the output sampling grid, j and k are integer spatial indices identifying points of the input sampling grid, f and g are one-dimensional interpolation functions, at least one of f and g having a support]−p; p[ with p>1, and I(j, k) is the value of the pixel at coordinates (j, k) in the input grid. |