Patent ID: 8089535

Claim:
An image processing device executing processing concerning a pixel value of each pixel corresponding to one of a plurality of wavelength components including a first, a second, and a third wavelength components contained in image data obtained by a two-dimensional image sensor in which each of filters corresponding to one of the plurality of wavelength components including at least the first, the second, and the third wavelength components is disposed in connection with each pixel according to a rule concerning an arrangement of the filters corresponding to each of the wavelength components, the image processing device comprising: a coordinate transforming unit transforming a basic coordinate system having coordinate axes corresponding to arrangement directions of the pixel in the two-dimensional image sensor to a virtual coordinate system corresponding to an arrangement rule of the filters of each of the wavelength components; a position calculating unit executing position calculation processing for image processing containing an aberration correction in the virtual coordinate system corresponding to each of the wavelength components to determine coordinates in the virtual coordinate system; and an inverse transforming unit transforming the coordinates in the virtual coordinate system obtained by the position calculating unit to coordinates in the basic coordinate system.