In a digital camera by the use of a CCD of a honeycomb array, the center
positions of mixed pixels of colors B and G are fixed in (4k+1)th and
(4k+2)th rows, wherein k represents an integer 0 or more, while the
center positions of mixed pixels (mixed pixels R11 and R15) of a color R
in the (4k+1)th row are required to be shifted to positions indicated by
circles drawn by dotted lines in FIG. 4, as indicated by arrows in FIG.
4. For example, pixel values of the mixed pixels R11 and R15 are weighed
in a weighing ratio of 1:3 so as to take a weighted average (i.e.,
(R11+3R15)/4) in such a manner that the center position of the mixed
pixel R15 is shifted to a position obtained by dividing the distance
between the center positions of the mixed pixels R11 and R15 at 3:1.