Patent ID: 8068122

Claim:
A method of image scaling, comprising: determining the coordinates of a virtual pixel in an original image, wherein the virtual pixel corresponds to an actual pixel in a scaled target image; determining the coordinates of four actual pixels in the original image that are closest to the virtual pixel; determining the weights of the four actual pixels; and determining the pixel value of the virtual pixel in the original image in accordance with the determined weights and the pixel values of the four actual pixels; wherein the step of determining the coordinates of four actual pixels in the original image that are closest to the virtual pixel further includes: rounding off the coordinates of the virtual pixel in the original image to determine a first actual pixel's coordinates (p, q); determining a second actual pixel's coordinates (p+1, q) by increasing the x-coordinate of the first actual pixel by one unit; determining a third actual pixel's coordinates (p, q+1) by increasing the y-coordinate of the first actual pixel by one unit; and determining a fourth actual pixel's coordinates (p+1, q+1) by increasing both the x-coordinate and y-coordinate of the first actual pixel by one unit.