Patent ID: 7181063

Claim:
A digital camera comprising: a Bayer color filter array arranged to capture an input image as a non-linear Bayer image comprising RGB pixels arranged in Bayer format; and a processor arranged to linearize and planarize the input image and to map each color of the linearized, planarized input image from an input space to an output space in accordance with the following: x ′ = ( x mps ) + k 1 y ′ = ( y mps ) + k 2 , wherein x and y are coordinates in the output space, x′ and y′ are coordinates in the input space, mps is the number of pixels in the output space per input space sample, and k 1 and k 2 are equal to either 0 or −0.5 depending on the color and the relative rotational orientation of the linearized, planarized input image in the input space.