Patent ID: 7397973

Claim:
A method for controlling an interpolation direction of a pixel needing to be interpolated between a first row and a second row within an image, the image having a plurality of pixels arranged in a matrix format, the method conlprising: (a) calculating a plurality of first horizontal pixel value differences between pixels positioned in the first row and calculating, a plurality of second horizontal pixel value differences bctween pixels positioned in the second row, wherein the first horizontal pixel value differences correspond to a first quadrant of the image with the pixel needing to be interpolated being an origin, the second horizontal pixel value differences correspond to a second quadrant of the image with the pixel needing to be interpolated being the origin, and the first quadrant is opposite to the second quadrant; and (b) comparing the plurality of first horizontal pixel value differences with a first threshold and the plurality of second horizontal pixel value differences with a second threshold to control whether the interpolation direction is orthogonal to the first row and the second row.