摘要 |
An image processing apparatus (1), the purpose of which is to detect and accurately correct an axial chromatic aberration even in areas other than a near-saturated area, comprises: a summed pixel value calculation unit (4) that sums, for each of a plurality of colors, the pixel values of pixels sandwiching a pixel of interest in an image and arranged in one direction and in another direction; and an occurrence origin detection unit (5) that detects the pixel of interest as the occurrence origin of an axial chromatic aberration when a relationship in magnitude between the sum of the G pixel values of the pixels arranged in the one direction and the sum of R pixel values of the pixels arranged in the one direction that are calculated by the summed pixel value calculation unit (4) is opposite to a relationship in magnitude between the sum of the G pixel values of the pixels arranged in the other direction and the sum of R pixel values of the pixels arranged in the other direction or when a relationship in magnitude between the sum of the G pixel values of the pixels arranged in the one direction and the sum of B pixel values of the pixels arranged in the one direction is opposite to a relationship in magnitude between the sum of the G pixel values of the pixels arranged in the other direction and the sum of B pixel values of the pixels arranged in the other direction. |