摘要 |
A method for efficiently processing data of a bayer pattern is provided to reduce a load in a DSP(Digital Signal Processor) and enhance the photographing performance of a moving picture according as the data of the bayer pattern are efficiently processed. A red pixel(42R), a blue pixel(43B), the first green pixel(41G), and the second green pixel(44G) which are mutually adjacent in a bayer pattern are set up as components of a new unit pixel(51). Data in proportion to data of the red pixel(42R) of the bayer pattern are set up as data of a red sub-pixel(51R) of the new unit pixel(51). Data in proportion to data of the blue pixel(43B) of the bayer pattern are set up as data of a blue sub-pixel(51B) of the new unit pixel(51). Data, in proportion to a result that data of the first green pixel(41G) of the bayer pattern and data of the second green pixel(44G) are added, are set up as data of a green sub-pixel(51G) of the new unit pixel(51). |