Patent ID: 8897592

Claim:
A method for correcting a defect pixel, the method comprising: extracting a pixel value of a central pixel, and pixel values of each of a plurality of neighboring pixels around the central pixel in an image sensor, by using a color filter; calculating reference levels by multiplying each the pixel value of each of the neighboring pixels by a weight value; calculating a total number of cases where the pixel value of the central pixel is larger than each of the reference levels as a first comparison value, and a total number of cases where the pixel value of the central pixel is smaller than each of the reference levels, as a second comparison value, by comparing each of the calculated reference levels with the pixel value of the central pixel; determining the central pixel is a defect pixel where the first comparison value is larger than a first control register value, by comparing the first comparison value with the first control register value, or where the second comparison value is larger than a second control register value, by comparing the second comparison value with the second control register value; and correcting the central pixel determined as the defect pixel.