摘要 |
A method for interpolating image data captured by an electronic imaging device having a Bayer arrangement, by pixel interpolation involving interpolating interpolation pixel X33 (a green pixel), determining the average value of the neighboring pixels situated peripherally to the interpolation pixel X33 by equation (1), and determining the median values of the green pixels in the horizontal direction, the oblique direction and the reverse oblique direction including the interpolation pixel X33 by equations (2), (3) and (4), respectively: <?in-line-formulae description="In-line Formulae" end="lead"?>ave=(G22+G24+G42+G44)/4 (1); <?in-line-formulae description="In-line Formulae" end="tail"?> <?in-line-formulae description="In-line Formulae" end="lead"?>horiz=median(G31,(G22+G42)/2,(G24+G44)/2,G35) (2); <?in-line-formulae description="In-line Formulae" end="tail"?> <?in-line-formulae description="In-line Formulae" end="lead"?>Slash=median(G15,G24,G42,G51) (3); and <?in-line-formulae description="In-line Formulae" end="tail"?> <?in-line-formulae description="In-line Formulae" end="lead"?>Bslash=median(G11,G22,G44,G55) (4). <?in-line-formulae description="In-line Formulae" end="tail"?> The value of these median values having the smallest differential with respect to the average value is taken to be the pixel data for the green pixel situated at the position of X33.
|