Color interpolation processing method

Information

  • Patent Application
  • 20070222868
  • Publication Number
    20070222868
  • Date Filed
    October 30, 2006
    18 years ago
  • Date Published
    September 27, 2007
    17 years ago
Abstract
A scene is captured. A two-dimensional matrix comprising a plurality of image detection components is generated according to the captured scene. Each image detection component corresponds to one color component. A plurality of matrixes are generated according to the image detection components. One image detection component and a portion of matrixes are calculated to obtain the missing color components.
Description

BRIEF DESCRIPTION OF THE DRAWINGS

The invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:



FIG. 1
a shows a structure for an image sensor module;



FIG. 1
b is a schematic diagram of the CFA;



FIG. 2 is a flowchart of an exemplary embodiment of a color interpolation processing method;



FIG. 3
a is a schematic diagram of a Bayer CFA;



FIG. 3
b is a schematic diagram of the two-dimensional matrix; and



FIGS. 4
a˜4d are schematic diagrams of matrixes.


Claims
  • 1. A color interpolation processing method, comprising: capturing a scene constituted by at least three preset color componentsgenerating a two-dimensional matrix according to the scene, wherein the two-dimensional matrix comprises a plurality of image detection components, each corresponding to one of the preset color components;generating a plurality of matrixes according to the image detection components, wherein each matrix comprises a plurality of column color difference components or a plurality of row color difference components;dividing the matrixes into a first matrix module and a second matrix module;calculating the column color difference components and the row color difference components among the first or the second matrix module for obtaining a plurality of operation values according to the preset color corresponding to a first image detection component among the image detection components;determining a minimum value among the operation values to serve as a minimum operation value, wherein the matrix corresponding to the minimum operation value is served as a minimum color difference variation matrix (MCDVM);calculating the column color difference components or the row color difference components of the MCDVM for obtaining a minimum color difference variation according to the minimum operation value; andcalculating a average value of the column or the row color difference components of the minimum color difference variation and the first image detection component.
  • 2. The color interpolation processing method as claimed in claim 1, wherein the first matrix module comprises a first matrix generated by the image detection components in odd columns of the two-dimensional matrix and a second matrix generated by the image detection components in odd rows of the two-dimensional matrix, and the second matrix module comprises a third matrix generated by the image detection components in even rows of the two-dimensional matrix and a fourth matrix generated by the image detection components in even columns of the two-dimensional matrix.
  • 3. The color interpolation processing method as claimed in claim 2, wherein one of the color difference components of the first matrix equals
  • 4. The color interpolation processing method as claimed in claim 2, wherein one of the color difference components of the third matrix equals
  • 5. The color interpolation processing method as claimed in claim 1, wherein the operation value (CDVM_CV) equals
  • 6. The color interpolation processing method as claimed in claim 1, wherein the minimum color difference variation is defined from one of a first color difference variation, a second color difference variation, and a third color difference variation of the MCDVM.
  • 7. The color interpolation processing method as claimed in claim 6, wherein the first color difference variation equals |2×C10−C00−C20|, C00 is a first color difference component in the first column of the MCDVM, C10 is a second color difference component in the first column of the MCDVM, and C20 is a third color difference component in the first column of the MCDVM.
  • 8. The color interpolation processing method as claimed in claim 6, wherein an unknown color is obtained when the average value of the column or the row color difference components of the minimum color difference variation and the first image detection components are calculated.
Priority Claims (1)
Number Date Country Kind
95110034 Mar 2006 TW national