Patent ID: 8242975

Claim:
An image processing method for correcting an image which is influenced by chromatic aberrations caused by an optical system, comprising: a step of selecting, as a reference color, one of a plurality of color components included in the image; an acquisition step of acquiring pixel positions after conversion, which are obtained by applying conversion processing for correcting a distortion of the optical system with respect to the image, to pixel positions of pixels having the reference color as the color component; a first calculation step of calculating, using difference values between the pixel positions after conversion and pixel positions obtained by applying the conversion processing to pixel positions of pixels having one of remaining colors except for the reference color as the color component of the plurality of color components, and a predetermined value, pixel positions obtained by applying the conversion processing to pixel positions of pixels having the other remaining color as the color component; a second calculation step of calculating, based on the difference values, pixel positions obtained by applying the conversion processing to pixel positions of pixels having the one remaining color as the color component; and a step of correcting the image by allocating pixels having the reference color as the color component at the pixel positions acquired in the acquisition step, allocating pixels having the other remaining color as the color component at the pixel positions calculated in the first calculation step, and allocating pixels having the one remaining color as the color component at the pixel positions calculated in the second calculation step.