Patent ID: 7982781

Claim:
An image processing device, comprising: correlation value calculating means for calculating plural correlation values indicating degrees of correlation of an image for a pixel of attention to be interpolated on a solid-state imaging device having filters of predetermined color coding; judging means for judging a direction in which interpolation should be performed by calculating, in different directions, at least two patterns of the plural correlation values calculated by the correlation value calculating means and comparing the correlation values of at least two patterns with correlation lines obtained by plotting the correlation values with respect to straight lines of various angles; and interpolating means for applying interpolation processing to the pixel of attention on the basis of information on pixels around the pixel of attention present in the direction judged by the judging means, wherein: the correlation value calculating means calculates an average of higher order plural correlation values with high correlation among the plural correlation values, and the judging means judges, on the basis of the average of the higher order plural correlation values, a direction in which interpolation should be performed.