System and method for image demosaicing
First Claim
1. A computer-implemented method for generating an interpolated output image, comprising:
- generating a first interpolation array, using one or more processors, for a portion of an input image based on a first interpolation region, wherein each pixel location in the portion includes a red color value, a green color value, or a blue color value, and the first interpolation array includes, at each pixel location in the portion, red, green, and blue (RGB) color values, at least one of which is interpolated;
generating a second interpolation array based on a second interpolation region and including, at each pixel location in the portion, RGB color values, at least one of which is interpolated;
generating a first homogeneity array based on the first interpolation array that includes, at each pixel location in the portion, a homogeneity value calculated based on a first homogeneity neighborhood that includes the same pixel locations as the first interpolation region;
generating a second homogeneity array based on the second interpolation array that includes, at each pixel location in the portion, a homogeneity value calculated based on a second homogeneity neighborhood that includes the same pixel locations as the second interpolation region;
determining that, for a first pixel location in the portion, the homogeneity value in the first homogeneity array is greater than the homogeneity value in the second homogeneity array; and
outputting to a display or to a memory the RGB color values at the first pixel location in the first interpolation array.
4 Assignments
0 Petitions
Accused Products
Abstract
A method for generating an interpolated output image, including generating a first interpolation array including RGB values, at least one of which is interpolated, based on a first interpolation region, and generating a first homogeneity array based on the first interpolation array including homogeneity values calculated based on a first homogeneity neighborhood having the same pixel locations as the first interpolation region. The method includes generating a second interpolation array based on a second interpolation region, and generating a second homogeneity array based on the second interpolation array and a second homogeneity neighborhood, where the second homogeneity neighborhood includes the same pixel locations as the second interpolation region. The method includes determining, for a first pixel location, that the homogeneity value in the first homogeneity array is greater than the homogeneity value in the second homogeneity array, and outputting the RGB color values in the first interpolation array.
48 Citations
45 Claims
-
1. A computer-implemented method for generating an interpolated output image, comprising:
-
generating a first interpolation array, using one or more processors, for a portion of an input image based on a first interpolation region, wherein each pixel location in the portion includes a red color value, a green color value, or a blue color value, and the first interpolation array includes, at each pixel location in the portion, red, green, and blue (RGB) color values, at least one of which is interpolated; generating a second interpolation array based on a second interpolation region and including, at each pixel location in the portion, RGB color values, at least one of which is interpolated; generating a first homogeneity array based on the first interpolation array that includes, at each pixel location in the portion, a homogeneity value calculated based on a first homogeneity neighborhood that includes the same pixel locations as the first interpolation region; generating a second homogeneity array based on the second interpolation array that includes, at each pixel location in the portion, a homogeneity value calculated based on a second homogeneity neighborhood that includes the same pixel locations as the second interpolation region; determining that, for a first pixel location in the portion, the homogeneity value in the first homogeneity array is greater than the homogeneity value in the second homogeneity array; and outputting to a display or to a memory the RGB color values at the first pixel location in the first interpolation array. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A computer-readable medium storing instructions that, when executed by a processor, cause the processor to generate an interpolated output image, by performing the steps of:
-
generating a first interpolation array for a portion of an input image based on a first interpolation region, wherein each pixel location in the portion includes a red color value, a green color value, or a blue color value, and the first interpolation array includes, at each pixel location in the portion, red, green, and blue (RGB) color values, at least one of which is interpolated; generating a second interpolation array based on a second interpolation region and including, at each pixel location in the portion, RGB color values, at least one of which is interpolated; generating a first homogeneity array based on the first interpolation array that includes, at each pixel location in the portion, a homogeneity value calculated based on a first homogeneity neighborhood that includes the same pixel locations as the first interpolation region; generating a second homogeneity array based on the second interpolation array that includes, at each pixel location in the portion, a homogeneity value calculated based on a second homogeneity neighborhood that includes the same pixel locations as the second interpolation region; determining that, for a first pixel location in the portion, the homogeneity value in the first homogeneity array is greater than the homogeneity value in the second homogeneity array; and outputting to a display or to a memory the RGB color values at the first pixel location in the first interpolation array. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30)
-
-
31. A system configured to generate an interpolated output image, the system comprising:
-
a memory; and one or more processors coupled to the memory and configured to; generate a first interpolation array for a portion of an input image based on a first interpolation region, wherein each pixel location in the portion includes a red color value, a green color value, or a blue color value, and the first interpolation array includes, at each pixel location in the portion, red, green, and blue (RGB) color values, at least one of which is interpolated, generate a second interpolation array based on a second interpolation region and including, at each pixel location in the portion, RGB color values, at least one of which is interpolated, generate a first homogeneity array based on the first interpolation array that includes, at each pixel location in the portion, a homogeneity value calculated based on a first homogeneity neighborhood that includes the same pixel locations as the first interpolation region, generate a second homogeneity array based on the second interpolation array that includes, at each pixel location in the portion, a homogeneity value calculated based on a second homogeneity neighborhood that includes the same pixel locations as the second interpolation region, determine that, for a first pixel location in the portion, the homogeneity value in the first homogeneity array is greater than the homogeneity value in the second homogeneity array, and output to a display or to a memory the RGB color values at the first pixel location in the first interpolation array. - View Dependent Claims (32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45)
-
Specification