Patent ID: 6970597

Claim:
A method for generating coefficients for a set of convolution kernels for use in interpolating pixel values in an image sensor, wherein said image sensor comprises a pixel array overlaid with a pattern of f selectively transmissive filters so that each pixel element of said pixel array is disposed to capture only one of a plurality of color spectra of visible light, said method comprising: generating ideal sensor data representative of a test image in a first color plane, said test image comprising a plurality of colors; generating sensor data of said test image, said sensor data indicative of an image of said test image captured using said image sensor, said sensor data being a two dimensional array of pixel data; generating f data matrices, each data matrix comprising pixel data from a plurality of neighborhoods of pixels in said pixel array, each row of said data matrix including said pixel data of one neighborhood of pixels, each of said neighborhoods of pixels having m rows and n columns and surrounding a center pixel, wherein each data matrix includes pixel data corresponding to one of said f selectively transmissive filters superimposed on said center pixel of each neighborhood of pixels; and determining said coefficients for f convolution kernels using said ideal sensor data, said f data matrices and by applying one or more constraints.