Patent ID: 8005297

Claim:
A method for adaptive green channel odd-even mismatch removal, the method comprising: dividing a raw image from a sensor into a plurality of regions; and for each region of the plurality of regions: removing green channel odd-even mismatch in the raw image by applying a gain to green pixels of the raw image to effectuate the disappearance of artifacts present in a demosaic processed image generated from the raw image; generating a weighted center green pixel value based on a first weighting factor for a center green pixel of a region; summing weighted green pixel values for green pixels surrounding the center green pixel based on a second weighting factor in a first tier layer with respect to the center green pixel of the region to form a first tier layer sum; summing weighted green pixel values for green pixels surrounding the center green pixel based on a third weighting factor in a second tier layer with respect to the center green pixel of the region to form a second tier layer sum; summing the weighted center green pixel value, the first tier layer sum and the second tier layer sum to form a weighted green pixel sum total; normalizing the weighted green pixel sum total; and replacing a pixel value of the center green pixel with the normalized weighted green pixel sum total.