Patent ID: 8035704

Claim:
A method of processing an image, the method comprising: storing pixel information of a portion of the image in a line buffer capable of storing multiple lines of pixel information, wherein each pixel information relates to a single color; determining whether a target pixel in the portion of the image stored in the line buffer is defective; adjusting a value of the target pixel if it is determined to be a defective pixel; and adjusting the target pixel value to interpolate color values containing a plurality of color components through an interpolation process using the pixel information stored in the line buffer, wherein a pixel is determined to be defective by detecting high contrast in a target pixel with respect to proximal like-colored pixels within the portion of the image and wherein high contrast is detected by: determining a first sum value from output values of a first set of pixels proximal to the target pixel; determining a second sum value from output values of a second set of pixels proximal to the target pixel, wherein pixels in the second set of pixels is exclusive of pixels in the first set of pixels; and comparing the target pixel value to the greater of the first and second sum values.