| CPC G06V 10/242 (2022.01) | 20 Claims |

|
1. A method comprising:
identifying a rotation angle for an input image comprising first pixels; and
determining second pixels of a rotated image obtained by rotating the input image by the rotation angle;
wherein for at least a block of pixels, determining the second pixels in the block comprises a bilinear interpolation of each second pixel in the block from corresponding first pixels, the bilinear interpolation comprising a bilinear interpolation process performed to determine a plurality of the second pixels, the bilinear interpolation process comprising:
performing a vector load of pixel positions from which the plurality of the second pixels will be interpolated, the pixel positions being at least partially defined by the rotation angle;
performing a vector load of rows of first pixels associated with the pixel positions;
performing a vector selection of a subset of pixels from the rows of first pixels based on the pixel positions;
performing a vector load of a set of interpolation coefficients at least partially defined by the rotation angle; and
applying the set of interpolation coefficients to the subset of pixels to determine the plurality of the second pixels.
|