摘要 |
An image processing apparatus for correcting an image of a subject, includes: a first illuminated image acquisition unit for acquiring the first reference member image that is an image a reference member having a plurality of normal directions taken under the first illumination condition; the second illuminated image acquisition unit for acquiring the second reference member image and a subject image that are an image of the reference member and an image of the subject, respectively, taken under the second illumination condition; a shape acquisition unit for acquiring three-dimensional shapes of the reference member and the subject; a normal direction determination unit for determining a normal direction of each region of the first reference member image, the second reference member image and the subject image based on the three-dimensional shapes of the reference member and the subject; a difference calculation unit for calculating a color difference in each region between the first and second reference member images for every normal direction; and a subject image correction unit for correcting a color of each region of the subject image with the color difference for every normal direction.
|