Patent ID: 8184905

Claim:
A color interpolation apparatus, comprising: a color interpolation unit, performing interpolation of an inputted m×m Bayer pattern image and generating and outputting first output data and second output data, and detecting and outputting first component data and second component data and special data of the m×m Bayer pattern image, m being a predetermined natural number; and a determining unit, outputting an edge enhancement coefficient, the edge enhancement coefficient being determined by using one of the first output data and the second output data, an edge parameter, first edge component data and second edge component data, and one of the first output data and the second output data being determined by using the size relationship of the special data, received from the color interpolation unit, and predetermined plural thresholds, respectively, whereas the color interpolation comprises a first interpolation unit, performing the interpolation of the m×m Bayer pattern image and outputting n×n data, n being a predetermined natural number and smaller than m; a second interpolation unit, performing the interpolation of output data of the first interpolation unit in accordance with a center pixel value of the output data of the first interpolation unit, and outputting the first output data of 1 pixel; a first calculating unit, performing edge detection of output data of the second interpolation unit, and outputting the first edge component data of 1 pixel; a second calculating unit, performing the edge detection of the output data of the first interpolation unit, and outputting n×n data; a first filter unit, performing Gaussian filtering of the output data of the second calculating unit, and outputting the second edge component data of 1 pixel; a difference determining unit, determining the difference between the maximum value and the minimum value of the n×n output data of the second calculating unit, and outputting the determined difference as the special value; and a second filer unit, performing the Gaussian filtering of the output data of the first interpolation unit, and outputting the second output data of 1 pixel.