Patent ID: 8400533

Claim:
A method of reducing aberrations in a digital image, the method comprising: capturing input samples associated with a plurality of pixels arranged in a matrix, where each pixel is associated with a color component of a plurality of color components defining the digital image; establishing vertical chrominance groups associated with columns of the matrix, each vertical chrominance group having a plurality of groups of pixels aligned in a vertical direction; establishing horizontal chrominance groups associated with rows of the matrix, each horizontal chrominance group having a plurality of groups of pixels aligned in a horizontal direction; determining, for each chrominance group of the vertical and horizontal chrominance groups, a chrominance value for each group of pixels of the plurality of groups of pixels; determining, for each chrominance group of the vertical and horizontal chrominance groups, a mean value for the chrominance values associated with the chrominance group; determining, for each chrominance group of the vertical and horizontal chrominance groups, a sum of absolute differences between the chrominance values and the mean value for the chrominance values associated with the chrominance group; calculating, by a signal processing device, a plurality of weights comprising vertical weights associated with the vertical chrominance groups and horizontal weights associated with the horizontal chrominance groups based upon the sums of absolute differences; and determining a missing color component for a predetermined pixel of the plurality of pixels using the plurality of weights.