High-quality gradient-corrected linear interpolation for demosaicing of color images
First Claim
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.
2 Assignments
0 Petitions
Accused Products
Abstract
A gradient-corrected linear interpolation method and system for the demosaicing of color images. The method and system compute an interpolation using some a current technique (preferably a bilinear interpolation technique to reduce computational complexity), compute a correction term (such as a gradient of a desired color at a given pixel), and linearly combine the interpolation and the correction term to produce a corrected, high-quality interpolation of a missing color value at a pixel. The correction term may be a gradient correction term computed from the current color of the current pixel. This gradient is directly used to affect and correct the estimated color value produced by the prior art interpolation technique. The gradient-corrected linear interpolation method and system may also apply a gradient-correction gain to the gradient correction term. This gradient-correction gain affects the amount of gradient correction that is applied to the interpolation.
128 Citations
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. - View Dependent Claims (2, 3, 4, 5, 6)
-
7. A computer-implemented method for interpolating a desired color at a current pixel in an image sensor, the current pixel having a first color, comprising:
using a computer to perform the following process actions; computing a first interpolation of the desired color at the current pixel using pixels having the desired color; computing a gradient correction using pixels having the first color; linearly combining the first interpolation and the gradient correction to obtain a gradient-corrected interpolation of the desired color at the current pixel; applying a gradient-correction gain to the gradient correction to affect the amount of the gradient correction that is linearly combined with the first interpolation; and selecting the gradient-correction gain such that a mean-square error is minimized to produce an optimal gradient-correction gain. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
19. A method for interpolating missing red-blue-green (RGB) data at a current pixel having a current color in a color image sensor, comprising:
using a computer to perform the following process actions; using a first interpolation technique based on a missing color at the current pixel to determine a missing color estimate; calculating a gradient correction based on the current color; adjusting a gradient-correction gain based on characteristics of the color image sensor; multiplying the gradient correction by the gradient-correction gain to obtain an adjusted gradient correction; and combining in a linear manner the missing color estimate and the adjusted gradient correction to obtain a linearly corrected missing color estimate corresponding to at least some of the missing RGB data. - View Dependent Claims (20, 21, 22)
-
23. A process for linearly interpolating a missing color of a present pixel within a color image produced by a digital camera system having an image sensor, the present pixel having a first color, the process comprising:
using a computer to perform the following process actions; defining a first region of support centered at the present pixel; interpolating the missing color using an interpolation technique to obtain a first missing color estimation, the interpolation technique using pixels within the first region of support having the missing color; defining a second region of support centered at the present pixel; calculating a gradient correction using the present pixel and pixels within the second region of support having the first color; applying a gradient-correction gain to the gradient correction that represents a percentage of the gradient correction to be used; measuring global statistics of the color image; varying the gradient-correction gain based on the global statistics; and linearly combining the first missing color estimation and the gradient correction to obtain a gradient-corrected estimation of the missing color. - View Dependent Claims (24, 25, 26, 27, 28, 29)
-
30. A gradient-corrected linear interpolation system for interpolating a missing color value at a given pixel in a color image, the given pixel having a current color, comprising:
-
a general-purpose computer; a computer-readable storage medium having stored and encoded thereon a computer program having program modules containing computer-executable instructions that are executable by the general-purpose computer, the computer program further comprising; an interpolation module that computes an interpolation of the missing color value; a correction term computation module that computes a gradient correction term for the interpolation, the correction term computation module further comprising; a gradient-correction selector that determines a gradient-correction gain such that a mean-square error is minimized to produce an optimal gradient-correction gain and applies the optimal gradient-correction gain to the gradient correction term to determine an amount of gradient correction linearly combined with the interpolation; and a linear combination module that linearly combines the interpolation and correction term to produce a corrected interpolation for the missing color value at the given pixel. - View Dependent Claims (31, 32)
-
Specification