摘要 |
PROBLEM TO BE SOLVED: To provide a technology that enables high-speed demosaic processing while further suppressing the occurrence of aliasing colors. SOLUTION: When mosaic image data are received, a vertical-direction color difference component is calculated for each of pixel columns, and a horizontal-direction color difference component is calculated for each of pixel rows. Mosaic image data comprises pixel columns with alternate arrangement of pixels of a G component and pixels of an R component in the vertical direction, pixel columns with alternate arrangement of pixels of the G component and pixels of a B component in the vertical direction, pixel rows with alternate arrangement of pixel of the G component and pixels of the R component in the horizontal direction, and pixel rows with alternate arrangement of pixels of the G component and pixels of the B component in the horizontal direction. The pixels where the R components are set or pixels where the B components are set are selected from the mosaic image data, and a variation of the vertical-direction color difference component is compared with a variation of the horizontal-direction color difference component to decide edge orientations of the selected pixels. A missing color component in the mosaic image data along the edge orientations is interpolated. Subsequently, an oblique edge pixel is detected and the detected pixel is interpolated again along the edge orientations. COPYRIGHT: (C)2010,JPO&INPIT
|