Patent ID: 8237825

Claim:
An image processing system for replacing a value of a defective pixel located along a center row of a region in an image, the region including a center row, a previous row located above the center row and a subsequent row located below the center row, the image processing system comprising: a buffer for storing values of pixels located in the previous row and the center row; a selector for selecting a plurality of pixel values located in the previous row and the center row that are adjacent to the location of the defective pixel, without selecting a pixel value on the subsequent row; and a calculator for determining a replacement value for the defective pixel from values of the selected pixels located in the previous row and the center row; wherein the calculator determines the replacement value for the defective pixel from three adjacent pixels located along the previous row and two adjacent pixels located along the center row, the calculator determines the replacement value for the defective pixel by summing the values of the five adjacent pixels and dividing the sum by an approximate value of five, and further including an approximator for approximating the value of five using fractional values which are powers of two.