Method of determining missing color values for pixels in a color filter array
First Claim
1. A method of generating missing color values for pixels in an array, each pixel having one of at least first, second, and third color values, comprising:
- determining values for all missing second color values for pixels in the array through interpolation of known second color values adjacent along diagonal lines from the missing second color values by determining temporary values for the second color which lie at the corners of pixels having known second color values using filters oriented along diagonally adjacent second color pixels and by determining final values for the second color at centers of pixels having known first and third color values by using filters oriented along diagonally adjacent first and third color pixels and sampling the temporary second color values; and
determining values for all missing first and third color values for the pixels from a sum of an interpolation term and a luminance correction term based on differences between second color values of adjacent pixels.
1 Assignment
0 Petitions
Accused Products
Abstract
Missing color values for pixels in a color filter array created by a digital camera and having a Bayer pattern are generated by determining values for all missing green color values for pixels in the color filter array by interpolation of known green color values adjacent along diagonal lines and determining values for all missing red and blue color values for the pixels from the sum of an interpolation term and a luminance correction term based on differences between green color values of adjacent pixels. The missing green color values are determined by computing temporary values for green which lie at the corners of pixels having known green color values using cubic B-spline filters oriented along diagonally adjacent green color pixels, determining final values for green at the centers of pixels having known red and blue values by using cubic B-spline filters oriented along diagonally adjacent red and blue color pixels, and by sampling the temporary green values.
79 Citations
17 Claims
-
1. A method of generating missing color values for pixels in an array, each pixel having one of at least first, second, and third color values, comprising:
-
determining values for all missing second color values for pixels in the array through interpolation of known second color values adjacent along diagonal lines from the missing second color values by determining temporary values for the second color which lie at the corners of pixels having known second color values using filters oriented along diagonally adjacent second color pixels and by determining final values for the second color at centers of pixels having known first and third color values by using filters oriented along diagonally adjacent first and third color pixels and sampling the temporary second color values; and
determining values for all missing first and third color values for the pixels from a sum of an interpolation term and a luminance correction term based on differences between second color values of adjacent pixels. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for generating missing color values for pixels in an array, each pixel having one of first, second, or third color values, comprising:
-
means for determining values for all missing second color values for pixels in the array through interpolation of known second color values adjacent along diagonal lines from the missing second color values by determining temporary values for the second color which lie at the corners of pixels having known second color values using filters oriented along diagonally adjacent second color pixels and by determining final values for the second color at centers of pixels having known first and third color values by using filters oriented along diagonally adjacent first and third color pixels and sampling the temporary second color values; and
means for determining values for all missing first and third color values for the pixels from a sum of an interpolation term and a luminance correction term based on differences between second color values of adjacent pixels. - View Dependent Claims (10, 11)
-
-
12. A system for processing a color filter image having a plurality of pixels, each pixel having one of first, second, or third color values, comprising:
-
a storage medium to store the color filter array and a plurality of programming instructions; and
a processor coupled to the storage medium, the processor executing the programming instructions for determining values for all missing second color values for pixels in the color filter image through interpolation of known second color values adjacent along diagonal lines from the missing second color values by determining temporary values for the second color which lie at the corners of pixels having known second color values using filters oriented along diagonally adjacent second color pixels and by determining final values for the second color at centers of pixels having known first and third color values by using filters oriented along diagonally adjacent first and third color pixels and sampling the temporary second color values; and
determining values for all missing first and third color values for the pixels from a sum of an interpolation term and a luminance correction term based on differences between second color values of adjacent pixels.- View Dependent Claims (13, 14)
-
- 15. A machine readable medium having stored therein a plurality of machine readable instructions designed to be executed by a processor, the machine readable instructions for generating missing color values for pixels in a color filter image, each pixel having one of first, second, or third color values, the machine readable instructions comprising instructions for determining values for all missing second color values for pixels in the color filter image through interpolation of known second color values adjacent along diagonal lines from the missing second color values by determining temporary values for the second color which lie at the corners of pixels having known second color values using filters oriented along diagonally adjacent second color pixels and by determining final values for the second color at centers of pixels having known first and third color values by using filters oriented along diagonally adjacent first and third color pixels and sampling the temporary second color values, and for determining values for all missing first and third color values for the pixels from a sum of an interpolation term and a luminance correction term based on differences between second color values of adjacent pixels.
Specification