Patent ID: 7133553

Claim:
A method of processing an image signal comprising: (a) receiving said image signal as luminance values in a mosaic arrangement of pixel locations in which different said pixel locations are specific to different colors; (b) demosaicing said image signal by determining interpolated luminance values, such that each said pixel location is associated with a pre-demosaicing luminance value to which said pixel location is specific and at least one said interpolated luminance value; (c) identifying a particular interpolated luminance value and a neighborhood of said pixel locations in which said particular interpolated luminance value is at a central pixel location, said neighborhood having a luminance gradient pattern; (d) correlating said luminance gradient pattern with predetermined reference luminance gradient patterns to which pattern output values have been assigned, including associating one of said pattern output values with said particular interpolated luminance value on a basis of said pattern-to-pattern correlating; (e) repeating (c) and (d) for each of a plurality of said interpolated luminance values; and (f) determining adjusted interpolated luminance values as functions of relationships of said interpolated luminance values with selected pattern output values.