Patent ID: 7643676

Claim:
An adaptive filter interpolation process for interpolating missing color values at a given pixel in a mosaiced color image, comprising: using a computer to perform the steps of: selecting a pixel having a current color and location from the mosaiced color image; for the given pixel location and color, computing the gradients in the horizontal and vertical directions and using these gradients to compute a gradient differential G d ; comparing G d to a threshold T and selecting interpolation filters from a small set of predetermined filters comprising horizontal, vertical and non-directional filters based on this comparison, wherein horizontal filters are selected if the gradient differential is greater than the negative of the threshold, wherein vertical filters are selected if the gradient differential is greater than the threshold, and wherein non-directional filters are selected if the absolute value of the gradient is less than the threshold; and computing an interpolation of the missing color values at the current pixel with the selected interpolation filters.