Method and system for interpolation in color images
AssigneeThe Hong Kong University of Science and Technology
InventorsChi Wah Kok, Suk Han Lam
Life of this patent
Estimating the term…
Abstract
A method is proposed for converting a multicolor image in which each pixel has a color intensity value for only a single color, into a full color image. For pixels for which the intensity value of a first color is known, the intensity value of a second (missing) color is interpolated as the intensity value of the first color multiplied by the local average intensity of the second color and divided by the local average intensity of the first color. Each of the intensity values of the first and second color values is determined over a set of nearest neighboring pixels. The smoothing artifact produced by the proposed method is much less than some known algorithms described above, but the computational complexity of the proposed method is low.
Claims15
A method for processing a digitized image having pixels aligned in rows and columns and having color intensity values for each of a plurality of colors, each pixel having a color intensity value for only one of the colors, the method including for successive first pixels:
- deriving a first local average value, which is the local average value of the color intensity value of the color which is present in the first pixel;
- deriving a respective local average value of each of the other colors;
- for each of the other colors deriving a respective color correction factor proportional to the local average of that other color and inversely proportional to the first local average value;
- and
- deriving an interpolated color intensity value for each of the other colors as the color intensity value of the color which is present in the first pixel multiplied by the respective color correction factor.
Apparatus for processing a digitized image having pixels aligned in rows and columns and having color intensity values for each of a plurality of colors, each pixel having a color intensity value for only one of the colors, the apparatus including:
- a storage device for storing the image;
- and
- a processor for processing successive first pixels of the image, the processor having:
- means for deriving a first local average value, which is the local average value of the color intensity value of the color which is present in the first pixel;
- means for deriving a respective local average value of each of the other colors;
- means for deriving a respective color correction factor for each of the other colors, the color correction factor being proportional to the local average of that other color and inversely proportional to the first local average value;
- and
- means for deriving an interpolated color intensity value for each of the other colors as the color intensity value of the color which is present in the first pixel multiplied by the respective color correction factor.
A method for processing a digitized image having an array of pixels and having color intensity values for each of a plurality of colors, each pixel having a color intensity value for only one of the colors, the method including for successive first pixels:
- for each of the colors defining a corresponding set of pixels in the neighbourhood of the first pixel, each of the pixels of each set having a color intensity value for the corresponding color,
- using the color intensity values of each set of pixels to derive a respective local intensity value for that color;
- deriving an interpolated color intensity value for each of the colours which is not present in the first pixel, each interpolated colour intensity value being:
- (i) proportional to the local intensity value of the corresponding color, (ii) proportional to the color intensity value of the color which is present in the first pixel, and (iii) inversely proportional to the local intensity value of the color which is present in the first pixel.
Apparatus for processing a digitized image having an array of pixels and having color intensity values for each of a plurality of colors, each pixel having a color intensity value for only one of the colors, the apparatus including:
- a storage device for storing the image;
- and
- a processor for processing successive first pixels of the image, the processor having:
- means for defining for each of the colors a corresponding set of pixels in the neighbourhood of the first pixel, each of the pixels of each set having a color intensity value for the corresponding color,
- means for using the color intensity values of each set of pixels to derive a respective local intensity value for that color;
- and
- means for deriving an interpolated color intensity value for each of the colours which is not present in the first pixel, each interpolated colour intensity value being:
- (i) proportional to the local intensity value of the corresponding color, (ii) proportional to the color intensity value of the color which is present in the first pixel, and (iii) inversely proportional to the local intensity value of the color which is present in the first pixel.
Dependencies are inferred from the claim text.