Patent ID: 7292725

Claim:
A demosaicking method for color filter array (CFA) interpolation in digital image acquisition systems, said demosaicking method includes a data-training phase and a data-practice phase, said data-training phase comprises the steps of: (a1) preparing a plurality of CFA image samples and their corresponding full-color images, wherein each pixel of every said full-color image contains at least three colors values; (a2) selecting a corresponding concentrative window for each color of every target pixel in said CFA image samples, and quantizing color values of all the pixels in said concentrative window to form a pattern index; (a3) using multiple feasible coefficient sets to reconstruct the value of each missing color of every said target pixel based on the color values of the pixels in the corresponding concentrative window and their corresponding pattern indexes, and then calculating the error between the actual color value and said reconstructed color value for each missing color of every target pixel; and (a4) determining the optimal coefficient set of the pattern index for each missing color, and then outputting said optimal coefficient set to a database; Said data-practice phase comprises the steps of: (b1) inputting a CFA image, and selecting a corresponding concentrative window for each target pixel in the CFA image sample, and quantizing color values of all the pixels in said concentrative window to form a set of pattern index; and (b2) inputting the corresponding pattern index of each missing color for every target pixel to said database described at step (a4) to get the optimal combination of coefficients of the corresponding pattern index, and then calculating the reconstructed values of the missing colors for every target pixel according to the color values of the pixel in the corresponding concentrative window.