Patent ID: 7656441

Claim:
A method for correcting for hue shift artifacts captured by an imager associated with a color filter array including red, green and blue color pixels and optical system spaced from the imager, wherein a first group of green pixels are primarily influenced by adjacent red pixels and a second group of green pixels are primarily influenced by adjacent blue pixels, comprising: (a) separately blurring or smoothing the first and second group of green pixels; (b) based on the difference between adjacent pixels of the first and second group of blurred or smoothed green pixels, correcting for hue shift artifacts in the second group of unblurred green pixels by using gain correction based on such difference; and (c) correcting for hue shift artifacts in adjacent blue pixels based on the gain correction for adjacent second group green pixels wherein the hue shift artifact correction for blue pixels includes using the inverse of the correction for the second group of green pixels.