| US 7,502,505 B2 | ||
| High-quality gradient-corrected linear interpolation for demosaicing of color images | ||
| Henrique S. Malvar, Sammamish, Wash. (US); Li-wei He, Redmond, Wash. (US); and Ross Cutler, Duvall, Wash. (US) | ||
| Assigned to Microsoft Corporation, Redmond, Wash. (US) | ||
| Filed on Mar. 15, 2004, as Appl. No. 10/801,450. | ||
| Prior Publication US 2005/0201616 A1, Sep. 15, 2005 | ||
| Int. Cl. G06K 9/00 (2006.01); G06K 9/32 (2006.01) | ||
| U.S. Cl. 382—162 [382/167; 382/300] | 32 Claims |

| 1. A method for interpolating a desired color at a current pixel in a color image, the current pixel having a current color,
comprising:
using a computer to perform the following process actions:
computing an interpolation of the desired color at the current pixel using the desired color;
computing a gradient correction term using the current color;
determining a gradient-correction gain such that a mean-square error is minimized to produce an optimal gradient-correction
gain;
applying the optimal gradient-correction gain to the gradient correction term to determine an amount of the gradient correction
linearly combined with the interpolation; and
linearly combining the interpolation and the gradient correction term to obtain a corrected interpolation of the desired color
at the current pixel.
|