An apparatus and method for generating an image by interpolating, at least
on two directions, pixel data based on an imaging signal from a
solid-state image sensor in which an imaging light enters through a color
filter having a different spectral characteristic for each pixel
separately generating interpolated pixel data in the at least two
directions. The method includes detecting a correlation value indicative
of a degree of correlation in each of the at least two directions of the
interpolated pixel data, and normalizing the correlation value of each of
the at least two directions. A predetermined correction value is added to
the normalized value, and the interpolated pixel data is weighted in each
of the at least two directions by the normalized value and adding
together the weighted interpolated pixel data in-all of the at least two
directions.