摘要 |
PROBLEM TO BE SOLVED: To provide technologies by which demosaic processing can be speedily executed while much further suppressing generation of false colors. SOLUTION: When mosaic image data are received, vertical and horizontal-direction color difference components are calculated for each pixel column and for each pixel row, respectively. The mosaic image data are constituted of a pixel column in which R pixels and G pixels are alternately disposed side by side in the vertical direction, a pixel column in which G pixels and B pixels are alternately disposed side by side in the vertical direction, a pixel row in which R pixels and G pixels are alternately disposed in the horizontal direction, and a pixel row in which G pixels and B pixels are alternately disposed side by side in the horizontal direction. An R pixel or a B pixel is 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 determine edge directions. The edge directions are collected in an edge direction map, and then the edge directions are compared with the surrounding edge directions to remove edge noise in advance. When interpolating a missing color component, that is a non-set color component, in each pixel of the mosaic image data, the missing color component is interpolated while referring to the determined edge directions. COPYRIGHT: (C)2010,JPO&INPIT |