Patent ID: 7755682
Filing Date: 2010-07-13
Classification: H04N

Abstract:
1. A color interpolation method for Bayer filter array images, comprising the steps of: inputting a 3×3 Bayer pattern block with a center pixel; determining a color filter interpolation case according to the type of the center pixel; obtaining Bayer pixel averages and Bayer pixel differences in horizontal and vertical directions of the color filter interpolation case; interpolating missing color components of the center pixel in the horizontal and vertical directions; obtaining color differences in the horizontal and vertical directions based on the Bayer pixel differences and averages; determining a pixel activity of the 3×3 Bayer pixel block; and selecting interpolated color components in the direction of lower color differences, when the pixel activity is high; wherein the step of obtaining Bayer pixel averages and Bayer pixel differences in horizontal and vertical directions, further comprising the steps of: calculating a green pixel difference g_diff, horizontal pixel difference hdiff and vertical pixel difference v_diff with the reference of a 3×3 pixel block shown in following, wherein the horizontal pixel difference h_diff and vertical difference v_diff are respectively given by obtaining the green pixel difference g_diff depending on the Bayer cases, if the Bayer case is green center, the g_diff is given by if the Bayer case is either red center or blue center, the g_diff is given by calculating a horizontal pixel average have, vertical pixel average v_ave and corner pixel average corner ave respectively by