Patent ID: 8866925

Claim:
A compensation method for an image capture device which includes an image sensor which has a tunable spectral response and which is tunable in accordance with a capture mask, wherein the method compensates for spatial non-uniformity in color sensitivity of the image sensor, the method comprising: applying a default capture mask to the image sensor; capturing a sample image using the image sensor tuned by the default capture mask; obtaining a uniform color image comprising a spatial array in which color values for each channel are uniform throughout the whole array; constructing a compensation capture mask for application to the image sensor, wherein the compensation capture mask is constructed using calculations based on the color values of each channel as captured with the default capture mask and the color values in the uniform color image; and storing the compensation capture mask in a memory of the image capture device for application of the compensation capture mask to the image sensor, wherein the compensation capture mask is constructed for a current pixel based on combining the value of a channel of the current pixel and the value of a channel in another pixel and changing the relative magnitude between the combined pixel signals so to produce an output channel for the current pixel having a shifted wavelength.