Patent ID: 8306364

Claim:
A method for color interpolation between colors of two pixels, the method comprising the steps of: defining a first pixel color, the first pixel color having at least two color components; defining a second pixel color, the second pixel color having the same color components as the first pixel color, wherein values of color components of the second pixel color are different from values of color components of the first pixel color; for each color component, defining a color slope calculated as a function of the corresponding first pixel color component, the second pixel color component and a number of pixels colors to be interpolated; defining a plurality of interpolated pixels colors, having the same color components as the first pixel color and the second pixel color, between the first pixel color and the second pixel color, wherein the color components of each interpolated pixel color are determined by copying a value of at least one color component from a corresponding color component of a preceding pixel; and calculating a value of at least one other color component as a function of the color slope for the particular color component such that all color components are either copied or calculated.