Patent ID: 8189910

Claim:
A color interpolation method for a digital image, adapted to perform a pixel interpolation on a digital image according to a Bayer pattern by a digital camera processor, the color interpolation method comprising: setting a selection window in the Bayer pattern by the digital camera processor for selecting a plurality of color pixels therefrom; filtering each pixel in the selection window by using a filter to generate a corresponding luminance pattern by the digital camera processor; subtracting the luminance pattern from the Bayer pattern by the digital camera processor to generate a chrominance pattern; decomposing the chrominance pattern into a green chrominance pattern, a red chrominance pattern, and a blue chrominance pattern by the digital camera processor; performing a chrominance interpolation process on the green chrominance pattern, the red chrominance pattern, and the blue chrominance pattern respectively by the digital camera processor to obtain a compensated green chrominance pattern, a compensated red chrominance pattern, and a compensated blue chrominance pattern; adding the compensated green chrominance pattern, the compensated red chrominance pattern, and the compensated blue chrominance pattern to the luminance pattern respectively by the digital camera processor, so as to generate a green image signal pattern, a red image signal pattern, and a blue image signal pattern; and generating an output image window according to the green image signal pattern, the red image signal pattern, and the blue image signal pattern by the digital camera processor.