摘要 |
A method and an apparatus for detecting a defective pixel are provided to extract a position of the defective pixel easily and correct pixel data of the defective pixel even though the defective pixel is variably positioned. A bayer pattern is filtered to prepare a filtered bayer pattern(S10). Coordinate data of a defective pixel are extracted by comparing the bayer pattern with the filtered bayer pattern(S50). In the filtered bayer pattern, a variation of pixel value of the defective pixel is reduced by influence of pixel values of peripheral pixels. The bayer pattern is filtered through blurring filtering. The bayer pattern is filtered by using a 5x5 window.
|