Patent ID: 8131111

Claim:
A dead pixel processing device, comprising: a separating unit configured to separate an inputted Bayer pattern image into corresponding component data; and a comparing unit configured to calculate a distribution (pattern) of pixels based on a median of each component data, calculate a comparing value based on a component data having a predetermined center pixel, output an external flag which informs whether there is at least one of a dead pixel and a hot pixel by using the comparing value, compares values of the predetermined center pixel and adjacent pixels in the component data having the predetermined center pixel, calculate a measuring value based on the predetermined center pixel, and output an internal flag by using the measuring value, wherein the comparing unit comprises a center value detecting unit configured to detect each of the medians of the component data; a first absolute value detecting unit configured to detect the absolute value of a value of subtracting the median from each element of the component data; a difference detecting unit configured to detect a difference which is an absolute value of each value of subtracting an output data of the first absolute value detecting unit for the component data, exclusive of the component data having the predetermined center pixel, from an output data of the first absolute value detecting unit for the component data having the predetermined center pixel; a comparing value detecting unit configured to sum the output of the difference detecting unit and detect a comparing value of the component data per element of the component data; an external flag generation unit configured to compare the comparing value with each of a dead pixel threshold and a hot pixel threshold and generate the external flag related to whether there is at least one of a dead pixel and a hot pixel; a second absolute value detecting unit configured to detect an absolute value of a value of subtracting a center pixel value from each element of the component data having the predetermined center pixel; and an internal flag generating unit configured to set a threshold for the internal flag by using a threshold for an illumination classification and the median of the component data and generate the internal flag by using the threshold.